Searched refs:MBEDTLS_AES_ENCRYPT (Results 1 – 7 of 7) sorted by relevance
| /optee_os/lib/libmbedtls/core/ |
| H 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()
|
| H 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/lib/libmbedtls/mbedtls/include/mbedtls/ |
| H A D | aes.h | 39 #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ macro
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | ctr_drbg.c | 249 if ((ret = mbedtls_aes_crypt_ecb(&aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 293 if ((ret = mbedtls_aes_crypt_ecb(&aes_ctx, MBEDTLS_AES_ENCRYPT, in block_cipher_df() 363 if ((ret = mbedtls_aes_crypt_ecb(&ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, in ctr_drbg_update_internal() 669 if ((ret = mbedtls_aes_crypt_ecb(&ctx->aes_ctx, MBEDTLS_AES_ENCRYPT, in mbedtls_ctr_drbg_random_with_add()
|
| H A D | aes.c | 1029 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_ecb() 1082 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cbc() 1203 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_xts() 1218 ret = mbedtls_aes_crypt_ecb(&ctx->tweak, MBEDTLS_AES_ENCRYPT, in mbedtls_aes_crypt_xts() 1304 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cfb128() 1317 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb128() 1332 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb128() 1365 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cfb8() 1370 ret = mbedtls_aes_crypt_ecb(ctx, MBEDTLS_AES_ENCRYPT, iv, iv); in mbedtls_aes_crypt_cfb8() 1381 if (mode == MBEDTLS_AES_ENCRYPT) { in mbedtls_aes_crypt_cfb8() [all …]
|
| H A D | block_cipher.c | 189 return mbedtls_aes_crypt_ecb(&ctx->ctx.aes, MBEDTLS_AES_ENCRYPT, in mbedtls_block_cipher_encrypt()
|
| H A D | cipher_wrap.c | 231 mode = MBEDTLS_AES_ENCRYPT; in aes_crypt_xts_wrap()
|