Home
last modified time | relevance | path

Searched refs:PSA_ALG_CHACHA20_POLY1305 (Results 1 - 9 of 9) sorted by relevance

/third_party/mbedtls/library/
H A Dpsa_crypto_aead.c87 case PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CHACHA20_POLY1305, 0): in psa_aead_setup()
88 operation->alg = PSA_ALG_CHACHA20_POLY1305; in psa_aead_setup()
90 if (alg != PSA_ALG_CHACHA20_POLY1305) { in psa_aead_setup()
170 if (operation.alg == PSA_ALG_CHACHA20_POLY1305) { in mbedtls_psa_aead_encrypt()
281 if (operation.alg == PSA_ALG_CHACHA20_POLY1305) { in mbedtls_psa_aead_decrypt()
390 if (operation->alg == PSA_ALG_CHACHA20_POLY1305) { in mbedtls_psa_aead_set_nonce()
464 if (operation->alg == PSA_ALG_CHACHA20_POLY1305) { in mbedtls_psa_aead_update_ad()
520 if (operation->alg == PSA_ALG_CHACHA20_POLY1305) { in mbedtls_psa_aead_update()
587 if (operation->alg == PSA_ALG_CHACHA20_POLY1305) { in mbedtls_psa_aead_finish()
638 case PSA_ALG_CHACHA20_POLY1305 in mbedtls_psa_aead_abort()
[all...]
H A Dpsa_crypto_cipher.c60 MBEDTLS_ASSUME(alg != PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CHACHA20_POLY1305, 0)); in mbedtls_cipher_validate_values()
91 alg == PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CHACHA20_POLY1305, 0)) { in mbedtls_cipher_validate_values()
196 case PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CHACHA20_POLY1305, 0): in mbedtls_cipher_values_from_psa()
H A Dpsa_crypto.c4699 case PSA_ALG_CHACHA20_POLY1305: in psa_aead_check_nonce_length()
4881 case PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_CHACHA20_POLY1305, 0): in psa_validate_tag_length()
5150 case PSA_ALG_CHACHA20_POLY1305: in psa_aead_set_lengths()
H A Dssl_msg.c5466 transform->psa_alg == PSA_ALG_CHACHA20_POLY1305 || in mbedtls_ssl_get_record_expansion()
H A Dssl_tls.c2649 *alg = PSA_ALG_CHACHA20_POLY1305; in mbedtls_ssl_cipher_to_psa()
/third_party/mbedtls/programs/psa/
H A Daead_demo.c152 *alg = PSA_ALG_CHACHA20_POLY1305; in aead_prepare()
193 : base_alg == PSA_ALG_CHACHA20_POLY1305 ? "ChachaPoly" in aead_info()
H A Dpsa_constant_names_generated.c206 case PSA_ALG_CHACHA20_POLY1305: append(&buffer, buffer_size, &required_size, "PSA_ALG_CHACHA20_POLY1305", 25); break; in psa_snprint_algorithm()
/third_party/mbedtls/include/psa/
H A Dcrypto_values.h1292 #define PSA_ALG_CHACHA20_POLY1305 ((psa_algorithm_t) 0x05100500) macro
1359 PSA_ALG_AEAD_WITH_DEFAULT_LENGTH_TAG_CASE(aead_alg, PSA_ALG_CHACHA20_POLY1305) \
H A Dcrypto_sizes.h471 MBEDTLS_PSA_ALG_AEAD_EQUAL(alg, PSA_ALG_CHACHA20_POLY1305) ? 12u : \

Completed in 35 milliseconds