Home
last modified time | relevance | path

Searched refs:mbedtls_aes_context (Results 1 – 17 of 17) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Daes.h91 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 Dpadlock.h92 int mbedtls_padlock_xcryptecb( mbedtls_aes_context *ctx,
112 int mbedtls_padlock_xcryptcbc( mbedtls_aes_context *ctx,
A Daesni.h77 int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx,
A Dctr_drbg.h196 mbedtls_aes_context aes_ctx; /*!< The AES context. */
A Dcompat-1.3.h1714 #define aes_context mbedtls_aes_context
/optee_os-3.20.0/lib/libmbedtls/core/
A Daes.c24 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 Dmbed_helpers.h24 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 Daes_ctr.c23 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 Daes_ecb.c24 mbedtls_aes_context aes_ctx;
129 int mbedtls_aes_crypt_ecb(mbedtls_aes_context *ctx, int mode, in mbedtls_aes_crypt_ecb()
A Daes_cbc.c24 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 Daes_alt.h7 typedef struct mbedtls_aes_context { struct
10 } mbedtls_aes_context; argument
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dpadlock.c74 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 Dcipher_wrap.c142 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 Daes.c490 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 Daesni.c95 int mbedtls_aesni_crypt_ecb( mbedtls_aes_context *ctx, in mbedtls_aesni_crypt_ecb()
A Dpem.c200 mbedtls_aes_context aes_ctx; in pem_aes_decrypt()
A Dctr_drbg.c134 mbedtls_aes_context aes_ctx; in block_cipher_df()

Completed in 49 milliseconds