/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | aes.h | 91 typedef struct mbedtls_aes_context struct 104 mbedtls_aes_context; argument 131 void mbedtls_aes_init( mbedtls_aes_context *ctx ); 140 void mbedtls_aes_free( mbedtls_aes_context *ctx ); 269 int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx, 317 int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx, 411 int mbedtls_aes_crypt_cfb128( mbedtls_aes_context *ctx, 456 int mbedtls_aes_crypt_cfb8( mbedtls_aes_context *ctx, 511 int mbedtls_aes_crypt_ofb( mbedtls_aes_context *ctx, 594 int mbedtls_aes_crypt_ctr( mbedtls_aes_context *ctx, [all …]
|
A D | padlock.h | 92 int mbedtls_padlock_xcryptecb( mbedtls_aes_context *ctx, 112 int mbedtls_padlock_xcryptcbc( mbedtls_aes_context *ctx,
|
A D | aesni.h | 77 int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx,
|
A D | ctr_drbg.h | 196 mbedtls_aes_context aes_ctx; /*!< The AES context. */
|
A D | compat-1.3.h | 1714 #define aes_context mbedtls_aes_context
|
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | aes.c | 24 mbedtls_aes_context ctx; in crypto_aes_expand_enc_key() 46 mbedtls_aes_context ctx; in crypto_aes_enc_block() 61 void mbedtls_aes_init(mbedtls_aes_context *ctx) in mbedtls_aes_init() 67 void mbedtls_aes_free( mbedtls_aes_context *ctx ) in mbedtls_aes_free() 73 int mbedtls_aes_setkey_enc(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_enc() 88 int mbedtls_aes_setkey_dec(mbedtls_aes_context *ctx, const unsigned char *key, in mbedtls_aes_setkey_dec()
|
A D | mbed_helpers.h | 24 static inline void mbed_copy_mbedtls_aes_context(mbedtls_aes_context *dst, in mbed_copy_mbedtls_aes_context() 25 mbedtls_aes_context *src) in mbed_copy_mbedtls_aes_context() 35 #error Do not know how to copy mbedtls_aes_context::rk in mbed_copy_mbedtls_aes_context()
|
A D | aes_ctr.c | 23 mbedtls_aes_context aes_ctx; 122 static void next_ctr(unsigned char stream_block[16], mbedtls_aes_context *ctx, in next_ctr() 131 int mbedtls_aes_crypt_ctr(mbedtls_aes_context *ctx, size_t length, in mbedtls_aes_crypt_ctr()
|
A D | aes_ecb.c | 24 mbedtls_aes_context aes_ctx; 129 int mbedtls_aes_crypt_ecb(mbedtls_aes_context *ctx, int mode, in mbedtls_aes_crypt_ecb()
|
A D | aes_cbc.c | 24 mbedtls_aes_context aes_ctx; 127 int mbedtls_aes_crypt_cbc(mbedtls_aes_context *ctx, int mode, size_t length, in mbedtls_aes_crypt_cbc()
|
/optee_os-3.20.0/lib/libmbedtls/include/ |
A D | aes_alt.h | 7 typedef struct mbedtls_aes_context { struct 10 } mbedtls_aes_context; argument
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | padlock.c | 74 int mbedtls_padlock_xcryptecb( mbedtls_aes_context *ctx, in mbedtls_padlock_xcryptecb() 114 int mbedtls_padlock_xcryptcbc( mbedtls_aes_context *ctx, in mbedtls_padlock_xcryptcbc()
|
A D | cipher_wrap.c | 142 return mbedtls_aes_crypt_ecb( (mbedtls_aes_context *) ctx, operation, input, output ); in aes_crypt_ecb_wrap() 149 return mbedtls_aes_crypt_cbc( (mbedtls_aes_context *) ctx, operation, length, iv, input, in aes_crypt_cbc_wrap() 159 return mbedtls_aes_crypt_cfb128( (mbedtls_aes_context *) ctx, operation, length, iv_off, iv, in aes_crypt_cfb128_wrap() 168 return mbedtls_aes_crypt_ofb( (mbedtls_aes_context *) ctx, length, iv_off, in aes_crypt_ofb_wrap() 178 return mbedtls_aes_crypt_ctr( (mbedtls_aes_context *) ctx, length, nc_off, nonce_counter, in aes_crypt_ctr_wrap() 213 return mbedtls_aes_setkey_dec( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_dec_wrap() 219 return mbedtls_aes_setkey_enc( (mbedtls_aes_context *) ctx, key, key_bitlen ); in aes_setkey_enc_wrap() 224 mbedtls_aes_context *aes = mbedtls_calloc( 1, sizeof( mbedtls_aes_context ) ); in aes_ctx_alloc() 236 memcpy( dst, src, sizeof( mbedtls_aes_context ) ); in aes_ctx_clone() 241 mbedtls_aes_free( (mbedtls_aes_context *) ctx ); in aes_ctx_free()
|
A D | aes.c | 490 void mbedtls_aes_init( mbedtls_aes_context *ctx ) in mbedtls_aes_init() 494 memset( ctx, 0, sizeof( mbedtls_aes_context ) ); in mbedtls_aes_init() 497 void mbedtls_aes_free( mbedtls_aes_context *ctx ) in mbedtls_aes_free() 648 mbedtls_aes_context cty; in mbedtls_aes_setkey_dec() 902 void mbedtls_aes_encrypt( mbedtls_aes_context *ctx, in mbedtls_aes_encrypt() 975 void mbedtls_aes_decrypt( mbedtls_aes_context *ctx, in mbedtls_aes_decrypt() 986 int mbedtls_aes_crypt_ecb( mbedtls_aes_context *ctx, in mbedtls_aes_crypt_ecb() 1024 int mbedtls_aes_crypt_cbc( mbedtls_aes_context *ctx, in mbedtls_aes_crypt_cbc() 1356 int mbedtls_aes_crypt_ofb( mbedtls_aes_context *ctx, in mbedtls_aes_crypt_ofb() 1401 int mbedtls_aes_crypt_ctr( mbedtls_aes_context *ctx, in mbedtls_aes_crypt_ctr() [all …]
|
A D | aesni.c | 95 int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx, in mbedtls_aesni_crypt_ecb()
|
A D | pem.c | 200 mbedtls_aes_context aes_ctx; in pem_aes_decrypt()
|
A D | ctr_drbg.c | 134 mbedtls_aes_context aes_ctx; in block_cipher_df()
|