1 YACA - Yet Another Crypto API
6 Tabs (8-chars) + spaces;
10 api/ - Public API (headers)
12 demos/ - Demo applications
14 examples/ - Usage examples
21 - All memory allocated by API should be freed with yaca_free()
22 - Contexts and keys should be freed with yaca_ctx_free()/yaca_key_free()
23 - Function names: yaca_<operation/object>_<function>; Ex: yaca_verify_init()
24 - Simplified/Simple functions don't have <operation/object> part
25 - Enums: YACA_<concept>_<value>; Ex: YACA_KEY_256BIT
26 - Objects (context, key) end with _h
27 - Most functions return 0 on success, negative values on error
30 - Is located in simple.h
31 - Currently, to use it - some functions from crypto.h and key.h are needed
32 - Symmetric ciphers (except for GCM) and message digests are only operations that are supported
33 - All operations are single-shot and output is allocated by library
36 1) All contexts are created by appropriate init() functions
37 2) Keys are created by generate or import functions
40 - It is possible to compile-check examples with "make" command
43 All tests are developed at security-tests repository from tizen.org, branch yaca.
44 git clone ssh://[USER_ID]@review.tizen.org:29418/platform/core/test/security-tests -b yaca
45 Build all tests with command: cmake -DBUILD_ALL_TESTS=OFF -DBUILD_YACA=ON; make
46 Run all tests with command: yaca-test