Home
last modified time | relevance | path

Searched refs:MBEDTLS_DECRYPT (Results 1 – 11 of 11) sorted by relevance

/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dpkcs12.h34 #define MBEDTLS_PKCS12_PBE_DECRYPT MBEDTLS_DECRYPT
H A Dpkcs5.h34 #define MBEDTLS_PKCS5_DECRYPT MBEDTLS_DECRYPT
H A Dcipher.h201 MBEDTLS_DECRYPT = 0, enumerator
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dcipher.c347 if (operation != MBEDTLS_ENCRYPT && operation != MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
355 MBEDTLS_DECRYPT == operation) { in mbedtls_cipher_setkey()
438 if (MBEDTLS_DECRYPT == operation) { in mbedtls_cipher_setkey()
443 if (operation == MBEDTLS_ENCRYPT || operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_setkey()
529 if (ctx->operation == MBEDTLS_DECRYPT) { in mbedtls_cipher_set_iv()
696 if ((ctx->operation == MBEDTLS_DECRYPT && NULL != ctx->add_padding && in mbedtls_cipher_update()
698 (ctx->operation == MBEDTLS_DECRYPT && NULL == ctx->add_padding && in mbedtls_cipher_update()
745 ctx->operation == MBEDTLS_DECRYPT && in mbedtls_cipher_update()
1150 if (MBEDTLS_DECRYPT == ctx->operation) { in mbedtls_cipher_finish()
1283 if (MBEDTLS_DECRYPT != ctx->operation) { in mbedtls_cipher_check_tag()
[all …]
H A Dpkcs5.c247 if (mode == MBEDTLS_DECRYPT) { in mbedtls_pkcs5_pbes2_ext()
H A Dnist_kw.c92 MBEDTLS_DECRYPT) in mbedtls_nist_kw_setkey()
H A Dpsa_crypto_cipher.c376 alg, MBEDTLS_DECRYPT); in mbedtls_psa_cipher_decrypt_setup()
H A Dcipher_wrap.c233 case MBEDTLS_DECRYPT: in aes_crypt_xts_wrap()
H A Dssl_tls13_keys.c1018 MBEDTLS_DECRYPT)) != 0) { in mbedtls_ssl_tls13_populate_transform()
H A Dpsa_crypto.c4524 return psa_cipher_setup(operation, key, alg, MBEDTLS_DECRYPT); in psa_cipher_decrypt_setup()
H A Dssl_tls.c8995 MBEDTLS_DECRYPT)) != 0) { in ssl_tls12_populate_transform()