Home
last modified time | relevance | path

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

/mbedtls-latest/library/
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 …]
Dpem.c232 ret = mbedtls_aes_crypt_cbc(&aes_ctx, MBEDTLS_AES_DECRYPT, buflen, in pem_aes_decrypt()
Daesce.c274 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aesce_crypt_ecb()
Daesni.c98 if (mode == MBEDTLS_AES_DECRYPT) { in mbedtls_aesni_crypt_ecb()
Dcipher_wrap.c222 mode = MBEDTLS_AES_DECRYPT; in aes_crypt_xts_wrap()
/mbedtls-latest/tests/suites/
Dtest_suite_aes.function46 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/
Daes.h40 #define MBEDTLS_AES_DECRYPT 0 /**< AES decryption. */ macro
/mbedtls-latest/programs/pkey/
Ddh_client.c263 ret = mbedtls_aes_crypt_ecb(&aes, MBEDTLS_AES_DECRYPT, buf, buf); in main()