commit | 5a051771cf47edc891c736f217f9ef9e43b43d99 | [log] [tgz] |
---|---|---|
author | Kees Jongenburger <x8-999-github@gmx.com> | Mon Dec 10 21:44:42 2018 +0100 |
committer | Igor Opaniuk <igor.opaniuk@linaro.org> | Wed Dec 12 20:39:09 2018 +0200 |
tree | 2e7e0ccf2265ecdde8708aea69371aaaec787265 | |
parent | 53893aa12c714d12422f7d7a94f32ccf214fff86 [diff] |
IV In AES CRT mode is always 128 bits regarldless the key size The initial vector in AES CRT mode is the first data block and therefore has the size of block size as opposed ot the size of the key. While Rijndael does support different block sizes AES only supports 128 bits (16 bytes) block. Even with larger keys sizes ( e.g. 192 or 256 bits) the block size remains 128 bits. This change introduced a new constant AES_BLOCK_SIZE and uses this for IV related operations. Signed-off-by: Kees Jongenburger <x8-999-github@gmx.com> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
This document describes the sample applications that are included in the OP-TEE, that aim to showcase specific functionality and use case.
For sake of simplicity, all OP-TEE example test application are prefixed with optee_example_
.
Directory hello_world/:
optee_example_hello_world
Directory random/:
TEE_GenerateRandom()
).optee_example_random
Directory aes/:
optee_example_aes
Directory secure_storage/:
optee_example_secure_storage
Directory acipher/:
optee_example_acipher
TA basics documentation presents the basics for implementing and building an OP-TEE trusted application.
One can also refer to the examples provided: source files and make scripts.