| /trusted-firmware-m-latest/interface/include/psa/ |
| D | crypto_values.h | 797 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument 808 #define PSA_ALG_IS_HASH(alg) \ argument 819 #define PSA_ALG_IS_MAC(alg) \ argument 830 #define PSA_ALG_IS_CIPHER(alg) \ argument 842 #define PSA_ALG_IS_AEAD(alg) \ argument 854 #define PSA_ALG_IS_SIGN(alg) \ argument 866 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument 877 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument 888 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument 905 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument [all …]
|
| D | crypto_sizes.h | 60 #define PSA_HASH_LENGTH(alg) \ argument 92 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument 188 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument 328 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument 360 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 413 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 465 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument 517 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument 558 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument 592 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument [all …]
|
| D | crypto_extra.h | 396 #define PSA_ALG_IS_DSA(alg) \ argument 399 #define PSA_ALG_DSA_IS_DETERMINISTIC(alg) \ argument 401 #define PSA_ALG_IS_DETERMINISTIC_DSA(alg) \ argument 403 #define PSA_ALG_IS_RANDOMIZED_DSA(alg) \ argument 410 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) \ argument 591 #define PSA_ALG_IS_PAKE(alg) \ argument 1638 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) \ argument 1668 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) \ argument
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/psa-adac/ |
| D | adac_crypto_cc312_hash.c | 33 psa_status_t psa_adac_hash(psa_algorithm_t alg, const uint8_t *input, in psa_adac_hash() 41 psa_status_t psa_adac_hash_multiple(psa_algorithm_t alg, in psa_adac_hash_multiple() 102 psa_status_t psa_adac_hash_verify(psa_algorithm_t alg, const uint8_t input[], in psa_adac_hash_verify() 127 psa_status_t psa_adac_hash_verify_multiple(psa_algorithm_t alg, in psa_adac_hash_verify_multiple()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
| D | cc3xx_psa_asymmetric_signature.c | 62 psa_algorithm_t alg, in cc3xx_internal_ecdsa_verify() 139 size_t key_length, psa_algorithm_t alg, const uint8_t *input, in cc3xx_internal_ecdsa_sign() 252 size_t key_length, psa_algorithm_t alg, in cc3xx_internal_rsa_verify() 323 size_t key_length, psa_algorithm_t alg, in cc3xx_internal_rsa_sign() 424 psa_algorithm_t alg, const uint8_t *input, in cc3xx_sign_hash() 457 psa_algorithm_t alg, const uint8_t *hash, in cc3xx_verify_hash() 490 psa_algorithm_t alg, const uint8_t *input, in cc3xx_sign_message() 535 psa_algorithm_t alg, const uint8_t *input, in cc3xx_verify_message()
|
| D | cc3xx_psa_mac.c | 33 static size_t psa_get_hash_block_size(psa_algorithm_t alg) in psa_get_hash_block_size() 111 size_t key_buffer_size, psa_algorithm_t alg) in cmac_setup() 401 psa_algorithm_t alg) in mac_setup() 443 size_t key_buffer_size, psa_algorithm_t alg) in cc3xx_mac_sign_setup() 451 size_t key_buffer_size, psa_algorithm_t alg) in cc3xx_mac_verify_setup() 554 size_t key_buffer_size, psa_algorithm_t alg, in cc3xx_mac_compute()
|
| D | cc3xx_psa_cipher.c | 77 psa_algorithm_t alg, in cipher_setup() 175 psa_algorithm_t alg) in cc3xx_cipher_encrypt_setup() 188 psa_algorithm_t alg) in cc3xx_cipher_decrypt_setup() 618 psa_algorithm_t alg, in cc3xx_cipher_encrypt() 694 psa_algorithm_t alg, in cc3xx_cipher_decrypt()
|
| D | cc3xx_psa_aead.c | 35 static psa_status_t check_alg(psa_algorithm_t alg, psa_algorithm_t *ref_alg) in check_alg() 97 psa_algorithm_t alg, in aead_setup() 234 psa_algorithm_t alg, const uint8_t *nonce, in aead_one_shot_with_multipart() 353 psa_algorithm_t alg, const uint8_t *nonce, in cc3xx_aead_encrypt() 414 psa_algorithm_t alg, in cc3xx_aead_decrypt() 478 psa_algorithm_t alg) in cc3xx_aead_encrypt_setup() 491 psa_algorithm_t alg) in cc3xx_aead_decrypt_setup()
|
| D | cc3xx_psa_asymmetric_encryption.c | 40 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in cc3xx_internal_rsa_encrypt() 142 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in cc3xx_internal_rsa_decrypt() 227 psa_algorithm_t alg, in cc3xx_asymmetric_encrypt() 267 psa_algorithm_t alg, in cc3xx_asymmetric_decrypt()
|
| D | cc3xx_internal_hash_util.c | 30 psa_status_t cc3xx_psa_hash_mode_to_cc_hash_mode(psa_algorithm_t alg, in cc3xx_psa_hash_mode_to_cc_hash_mode()
|
| D | cc3xx_psa_hash.c | 130 psa_algorithm_t alg) in cc3xx_hash_setup() 325 psa_status_t cc3xx_hash_compute(psa_algorithm_t alg, const uint8_t *input, in cc3xx_hash_compute()
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/ |
| D | cc3xx_hash.h | 31 #define CC3XX_HASH_LENGTH(alg) \ argument 40 cc3xx_hash_alg_t alg; member
|
| D | cc3xx_hash.c | 62 static void init_without_iv_set(cc3xx_hash_alg_t alg) in init_without_iv_set() 84 cc3xx_err_t cc3xx_lowlevel_hash_init(cc3xx_hash_alg_t alg) in cc3xx_lowlevel_hash_init()
|
| D | cc3xx_hmac.c | 18 cc3xx_hash_alg_t alg, in cc3xx_lowlevel_hmac_compute() 121 cc3xx_hash_alg_t alg) in cc3xx_lowlevel_hmac_set_key()
|
| D | cc3xx_hmac.h | 32 cc3xx_hash_alg_t alg; /* Based on the hashing algorithm, sizes change */ member
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/ |
| D | cc3xx_psa_cipher.c | 90 psa_algorithm_t alg, in cipher_crypt() 298 psa_algorithm_t alg) in cc3xx_cipher_encrypt_setup() 312 psa_algorithm_t alg) in cc3xx_cipher_decrypt_setup() 609 psa_algorithm_t alg, in cc3xx_cipher_encrypt() 630 psa_algorithm_t alg, in cc3xx_cipher_decrypt()
|
| D | cc3xx_psa_asymmetric_encryption.c | 33 psa_algorithm_t alg, in cc3xx_asymmetric_encrypt() 46 psa_algorithm_t alg, in cc3xx_asymmetric_decrypt()
|
| D | cc3xx_psa_hash.c | 34 psa_algorithm_t alg) in cc3xx_hash_setup() 156 psa_status_t cc3xx_hash_compute(psa_algorithm_t alg, const uint8_t *input, in cc3xx_hash_compute()
|
| D | cc3xx_psa_aead.c | 52 psa_algorithm_t alg, const uint8_t *nonce, in aead_crypt() 260 psa_algorithm_t alg) in cc3xx_aead_encrypt_setup() 272 psa_algorithm_t alg) in cc3xx_aead_decrypt_setup() 762 psa_algorithm_t alg, const uint8_t *nonce, in cc3xx_aead_encrypt() 778 psa_algorithm_t alg, const uint8_t *nonce, in cc3xx_aead_decrypt()
|
| D | cc3xx_psa_asymmetric_signature.c | 204 psa_algorithm_t alg, const uint8_t *hash, in cc3xx_sign_hash() 272 psa_algorithm_t alg, const uint8_t *hash, in cc3xx_verify_hash() 329 psa_algorithm_t alg, const uint8_t *input, in cc3xx_sign_message() 390 psa_algorithm_t alg, const uint8_t *input, in cc3xx_verify_message()
|
| D | cc3xx_psa_mac.c | 258 psa_algorithm_t alg) in mac_setup() 302 size_t key_buffer_size, psa_algorithm_t alg) in cc3xx_mac_sign_setup() 310 size_t key_buffer_size, psa_algorithm_t alg) in cc3xx_mac_verify_setup() 432 size_t key_buffer_size, psa_algorithm_t alg, in cc3xx_mac_compute()
|
| D | cc3xx_internal_cipher.c | 50 psa_algorithm_t alg, in cc3xx_internal_aes_setup() 120 psa_algorithm_t alg, in cc3xx_internal_chacha_setup() 217 psa_algorithm_t alg, in cc3xx_internal_cipher_setup_init()
|
| /trusted-firmware-m-latest/bl2/src/ |
| D | thin_psa_crypto_core.c | 100 psa_algorithm_t alg) in get_builtin_public_key() 153 psa_algorithm_t alg) in psa_hash_setup() 309 psa_algorithm_t alg, in psa_verify_hash() 376 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_verify_hash_builtin()
|
| /trusted-firmware-m-latest/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/include/ |
| D | cc3xx_crypto_primitives_private.h | 57 psa_algorithm_t alg; /*!< Cipher algorithm */ member 84 psa_algorithm_t alg; /*!< MAC algorithm used in this context */ member 99 psa_algorithm_t alg; /*!< AEAD algorithm */ member
|
| /trusted-firmware-m-latest/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/include/ |
| D | cc3xx_crypto_primitives_private.h | 89 psa_algorithm_t alg; /*!< MAC algorithm used in this context */ member 112 psa_algorithm_t alg; /*!< Cipher algorithm used in this context */ member
|