Home
last modified time | relevance | path

Searched refs:MBEDTLS_AES_ENCRYPT (Results 1 – 7 of 7) sorted by relevance

/optee_os-3.20.0/lib/libmbedtls/core/
A Daes_ecb.c50 c->mbed_mode = MBEDTLS_AES_ENCRYPT; in mbed_aes_ecb_init()
134 if (mode == MBEDTLS_AES_ENCRYPT) in mbedtls_aes_crypt_ecb()
A Daes_cbc.c54 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 Dctr_drbg.c189 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 Daes.c994 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 Dcipher_wrap.c196 mode = MBEDTLS_AES_ENCRYPT; in aes_crypt_xts_wrap()
/optee_os-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Daes.h54 #define MBEDTLS_AES_ENCRYPT 1 /**< AES encryption. */ macro
A Dcompat-1.3.h649 #define AES_ENCRYPT MBEDTLS_AES_ENCRYPT

Completed in 25 milliseconds