Searched refs:MBEDTLS_AES_DECRYPT (Results 1 – 8 of 8) sorted by relevance
/mbedtls-latest/library/ |
D | aes.c | 1029 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 …]
|
D | pem.c | 232 ret = mbedtls_aes_crypt_cbc(&aes_ctx, MBEDTLS_AES_DECRYPT, buflen, in pem_aes_decrypt()
|
D | aesce.c | 274 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aesce_crypt_ecb()
|
D | aesni.c | 98 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aesni_crypt_ecb()
|
D | cipher_wrap.c | 222 mode = MBEDTLS_AES_DECRYPT; in aes_crypt_xts_wrap()
|
/mbedtls-latest/tests/suites/ |
D | test_suite_aes.function | 46 TEST_ASSERT(mbedtls_aes_crypt_ecb(dec, MBEDTLS_AES_DECRYPT, 222 TEST_ASSERT(mbedtls_aes_crypt_ecb(&ctx, MBEDTLS_AES_DECRYPT, src_str->x, output) == 0); 270 TEST_ASSERT(mbedtls_aes_crypt_cbc(&ctx, MBEDTLS_AES_DECRYPT, src_str->len, iv_str->x, 356 TEST_ASSERT(mbedtls_aes_crypt_xts(&ctx, MBEDTLS_AES_DECRYPT, src_len, 443 TEST_ASSERT(mbedtls_aes_crypt_cfb128(&ctx, MBEDTLS_AES_DECRYPT, 16, &iv_offset, iv_str->x, 488 TEST_ASSERT(mbedtls_aes_crypt_cfb8(&ctx, MBEDTLS_AES_DECRYPT, src_str->len, iv_str->x,
|
/mbedtls-latest/include/mbedtls/ |
D | aes.h | 40 #define MBEDTLS_AES_DECRYPT 0 /**< AES decryption. */ macro
|
/mbedtls-latest/programs/pkey/ |
D | dh_client.c | 263 ret = mbedtls_aes_crypt_ecb(&aes, MBEDTLS_AES_DECRYPT, buf, buf); in main()
|