Home
last modified time | relevance | path

Searched refs:PSA_ALG_GCM (Results 1 - 11 of 11) sorted by relevance

/third_party/mbedtls/library/
H A Dpsa_crypto_aead.c67 case PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, 0): in psa_aead_setup()
68 operation->alg = PSA_ALG_GCM; in psa_aead_setup()
158 if (operation.alg == PSA_ALG_GCM) { in mbedtls_psa_aead_encrypt()
269 if (operation.alg == PSA_ALG_GCM) { in mbedtls_psa_aead_decrypt()
370 if (operation->alg == PSA_ALG_GCM) { in mbedtls_psa_aead_set_nonce()
452 if (operation->alg == PSA_ALG_GCM) { in mbedtls_psa_aead_update_ad()
498 if (operation->alg == PSA_ALG_GCM) { in mbedtls_psa_aead_update()
566 if (operation->alg == PSA_ALG_GCM) { in mbedtls_psa_aead_finish()
633 case PSA_ALG_GCM: in mbedtls_psa_aead_abort()
H A Dpsa_crypto_cipher.c54 MBEDTLS_ASSUME(alg != PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, 0)); in mbedtls_cipher_validate_values()
98 alg == PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, 0) || in mbedtls_cipher_validate_values()
191 case PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, 0): in mbedtls_cipher_values_from_psa()
H A Dssl_tls.c2495 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2509 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2530 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2551 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2565 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2586 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2607 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2621 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
2642 *alg = PSA_ALG_GCM; in mbedtls_ssl_cipher_to_psa()
H A Dcipher.c184 return PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, taglen); in mbedtls_psa_translate_cipher_mode()
H A Dpsa_crypto.c4679 case PSA_ALG_GCM: in psa_aead_check_nonce_length()
4872 case PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, 0): in psa_validate_tag_length()
5128 case PSA_ALG_GCM: in psa_aead_set_lengths()
H A Dssl_msg.c5463 if (transform->psa_alg == PSA_ALG_GCM || in mbedtls_ssl_get_record_expansion()
/third_party/mbedtls/programs/psa/
H A Daead_demo.c140 *alg = PSA_ALG_GCM; in aead_prepare()
144 *alg = PSA_ALG_GCM; in aead_prepare()
148 *alg = PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, 8); in aead_prepare()
192 const char *base_str = base_alg == PSA_ALG_GCM ? "GCM" in aead_info()
H A Dpsa_constant_names_generated.c219 case PSA_ALG_GCM: append(&buffer, buffer_size, &required_size, "PSA_ALG_GCM", 11); break; in psa_snprint_algorithm()
/third_party/mbedtls/tests/include/test/
H A Dpsa_crypto_helpers.h307 PSA_ALG_AEAD_WITH_SHORTENED_TAG(PSA_ALG_GCM, 0)) && \
/third_party/mbedtls/include/psa/
H A Dcrypto_values.h1281 #define PSA_ALG_GCM ((psa_algorithm_t) 0x05500200) macro
1358 PSA_ALG_AEAD_WITH_DEFAULT_LENGTH_TAG_CASE(aead_alg, PSA_ALG_GCM) \
H A Dcrypto_sizes.h468 MBEDTLS_PSA_ALG_AEAD_EQUAL(alg, PSA_ALG_GCM) ? 12u : \

Completed in 40 milliseconds