Searched refs:MBEDTLS_AES_ENCRYPT (Results 1 – 7 of 7) sorted by relevance
/optee_os-3.20.0/lib/libmbedtls/core/ |
A D | aes_ecb.c | 50 c->mbed_mode = MBEDTLS_AES_ENCRYPT; in mbed_aes_ecb_init() 134 if (mode == MBEDTLS_AES_ENCRYPT) in mbedtls_aes_crypt_ecb()
|
A D | aes_cbc.c | 54 c->mbed_mode = MBEDTLS_AES_ENCRYPT; in mbed_aes_cbc_init() 134 if (mode == MBEDTLS_AES_ENCRYPT) in mbedtls_aes_crypt_cbc()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/ |
A D | ctr_drbg.c | 189 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 217 if( ( ret = mbedtls_aes_crypt_ecb( &aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 275 if( ( ret = mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, in ctr_drbg_update_internal() 564 if( ( ret = mbedtls_aes_crypt_ecb( &ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, in mbedtls_ctr_drbg_random_with_add()
|
A D | aes.c | 994 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_ecb() 1014 if( mode == MBEDTLS_AES_ENCRYPT ) in mbedtls_aes_crypt_ecb() 1036 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cbc() 1145 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_xts() 1160 ret = mbedtls_aes_crypt_ecb( &ctx->tweak, MBEDTLS_AES_ENCRYPT, in mbedtls_aes_crypt_xts() 1254 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb128() 1323 AES_VALIDATE_RET( mode == MBEDTLS_AES_ENCRYPT || in mbedtls_aes_crypt_cfb8() 1331 ret = mbedtls_aes_crypt_ecb( ctx, MBEDTLS_AES_ENCRYPT, iv, iv ); in mbedtls_aes_crypt_cfb8() 1340 if( mode == MBEDTLS_AES_ENCRYPT ) in mbedtls_aes_crypt_cfb8() 1381 ret = mbedtls_aes_crypt_ecb( ctx, MBEDTLS_AES_ENCRYPT, iv, iv ); in mbedtls_aes_crypt_ofb() [all …]
|
A D | cipher_wrap.c | 196 mode = MBEDTLS_AES_ENCRYPT; in aes_crypt_xts_wrap()
|
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/ |
A D | aes.h | 54 #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ macro
|
A D | compat-1.3.h | 649 #define AES_ENCRYPT MBEDTLS_AES_ENCRYPT
|
Completed in 25 milliseconds