Home
last modified time | relevance | path

Searched refs:MBEDTLS_AES_DECRYPT (Results 1 – 8 of 8) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/library/
H A Daes.c1029 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_ecb()
1057 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_ecb()
1082 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cbc()
1109 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cbc()
1203 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_xts()
1225 if (MBEDTLS_UNLIKELY(leftover && (mode == MBEDTLS_AES_DECRYPT) && blocks == 0)) { in mbedtls_aes_crypt_xts()
1254 unsigned char *t = mode == MBEDTLS_AES_DECRYPT ? prev_tweak : tweak; in mbedtls_aes_crypt_xts()
1304 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cfb128()
1314 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cfb128()
1365 if (mode != MBEDTLS_AES_ENCRYPT && mode != MBEDTLS_AES_DECRYPT) { in mbedtls_aes_crypt_cfb8()
[all …]
H A Daesce.c274 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aesce_crypt_ecb()
H A Dpem.c232 ret = mbedtls_aes_crypt_cbc(&aes_ctx, MBEDTLS_AES_DECRYPT, buflen, in pem_aes_decrypt()
H A Daesni.c109 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aesni_crypt_ecb()
H A Dcipher_wrap.c234 mode = MBEDTLS_AES_DECRYPT; in aes_crypt_xts_wrap()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Daes.h40 #define MBEDTLS_AES_DECRYPT 0 /**< AES decryption. */ macro
/optee_os/lib/libmbedtls/core/
H A Daes_ecb.c54 c->mbed_mode = MBEDTLS_AES_DECRYPT; in mbed_aes_ecb_init()
H A Daes_cbc.c58 c->mbed_mode = MBEDTLS_AES_DECRYPT; in mbed_aes_cbc_init()