Home
last modified time | relevance | path

Searched defs:alg (Results 1 – 25 of 46) sorted by relevance

12

/mbedtls-3.5.0/include/psa/
Dcrypto_sizes.h65 #define PSA_HASH_LENGTH(alg) \ argument
97 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument
167 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument
275 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument
307 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument
360 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument
412 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument
464 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument
505 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument
539 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument
[all …]
Dcrypto_values.h789 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument
800 #define PSA_ALG_IS_HASH(alg) \ argument
811 #define PSA_ALG_IS_MAC(alg) \ argument
822 #define PSA_ALG_IS_CIPHER(alg) \ argument
834 #define PSA_ALG_IS_AEAD(alg) \ argument
846 #define PSA_ALG_IS_SIGN(alg) \ argument
858 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument
869 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument
880 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument
897 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument
[all …]
Dcrypto_extra.h401 #define PSA_ALG_IS_DSA(alg) \ argument
404 #define PSA_ALG_DSA_IS_DETERMINISTIC(alg) \ argument
406 #define PSA_ALG_IS_DETERMINISTIC_DSA(alg) \ argument
408 #define PSA_ALG_IS_RANDOMIZED_DSA(alg) \ argument
415 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) \ argument
833 #define PSA_ALG_IS_PAKE(alg) \ argument
1896 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) \ argument
1926 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) \ argument
/mbedtls-3.5.0/tests/src/drivers/
Dtest_driver_signature.c58 psa_algorithm_t alg, in sign_hash()
126 psa_algorithm_t alg, in verify_hash()
192 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message()
248 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message()
272 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message()
315 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message()
336 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash()
364 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash()
384 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash()
402 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
Dtest_driver_mac.c38 psa_algorithm_t alg, in mbedtls_test_transparent_mac_compute()
87 psa_algorithm_t alg) in mbedtls_test_transparent_mac_sign_setup()
124 psa_algorithm_t alg) in mbedtls_test_transparent_mac_verify_setup()
280 psa_algorithm_t alg, in mbedtls_test_opaque_mac_compute()
313 psa_algorithm_t alg) in mbedtls_test_opaque_mac_sign_setup()
337 psa_algorithm_t alg) in mbedtls_test_opaque_mac_verify_setup()
Dtest_driver_cipher.c46 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt()
95 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt()
142 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup()
174 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup()
323 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt()
345 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt()
365 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup()
379 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
Dtest_driver_asymmetric_encryption.c38 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in mbedtls_test_transparent_asymmetric_encrypt()
80 size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in mbedtls_test_transparent_asymmetric_decrypt()
125 size_t key_length, psa_algorithm_t alg, const uint8_t *input, in mbedtls_test_opaque_asymmetric_encrypt()
145 size_t key_length, psa_algorithm_t alg, const uint8_t *input, in mbedtls_test_opaque_asymmetric_decrypt()
Dtest_driver_key_agreement.c45 psa_algorithm_t alg, in mbedtls_test_transparent_key_agreement()
107 psa_algorithm_t alg, in mbedtls_test_opaque_key_agreement()
Dhash.c35 psa_algorithm_t alg, in mbedtls_test_transparent_hash_compute()
72 psa_algorithm_t alg) in mbedtls_test_transparent_hash_setup()
Dtest_driver_aead.c38 psa_algorithm_t alg, in mbedtls_test_transparent_aead_encrypt()
94 psa_algorithm_t alg, in mbedtls_test_transparent_aead_decrypt()
151 psa_algorithm_t alg) in mbedtls_test_transparent_aead_encrypt_setup()
188 psa_algorithm_t alg) in mbedtls_test_transparent_aead_decrypt_setup()
/mbedtls-3.5.0/tests/src/
Dpsa_exercise_key.c115 psa_algorithm_t alg) in exercise_mac_key()
157 psa_algorithm_t alg) in exercise_cipher_key()
232 psa_algorithm_t alg) in exercise_aead_key()
283 psa_algorithm_t alg) in can_sign_or_verify_message()
296 psa_algorithm_t alg) in exercise_signature_key()
374 psa_algorithm_t alg) in exercise_asymmetric_encryption_key()
411 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap()
456 psa_algorithm_t alg) in exercise_key_derivation_key()
529 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self()
579 psa_algorithm_t alg) in exercise_raw_key_agreement_key()
[all …]
/mbedtls-3.5.0/library/
Dpsa_crypto_cipher.c35 psa_algorithm_t alg, in mbedtls_cipher_info_from_psa()
168 psa_algorithm_t alg, in psa_cipher_setup()
246 psa_algorithm_t alg) in mbedtls_psa_cipher_encrypt_setup()
257 psa_algorithm_t alg) in mbedtls_psa_cipher_decrypt_setup()
486 psa_algorithm_t alg, in mbedtls_psa_cipher_encrypt()
544 psa_algorithm_t alg, in mbedtls_psa_cipher_decrypt()
Dpsa_crypto.c873 psa_algorithm_t alg) in psa_key_policy_permits()
951 psa_algorithm_t alg) in psa_get_and_lock_key_slot_with_policy()
1011 psa_algorithm_t alg) in psa_get_and_lock_transparent_key_slot_with_policy()
2198 psa_algorithm_t alg)
2303 psa_status_t psa_hash_compute(psa_algorithm_t alg,
2317 psa_status_t psa_hash_compare(psa_algorithm_t alg,
2386 psa_algorithm_t alg,
2440 psa_algorithm_t alg,
2500 psa_algorithm_t alg)
2507 psa_algorithm_t alg)
[all …]
Dpsa_crypto_driver_wrappers.c166 psa_algorithm_t alg, in psa_driver_wrapper_sign_message()
259 psa_algorithm_t alg, in psa_driver_wrapper_verify_message()
345 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash()
445 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash()
588 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_sign_hash_start()
687 size_t key_buffer_size, psa_algorithm_t alg, in psa_driver_wrapper_verify_hash_start()
1328 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt()
1437 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt()
1534 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup()
1620 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_decrypt_setup()
[all …]
Dpsa_crypto_rsa.c316 static psa_status_t psa_rsa_decode_md_type(psa_algorithm_t alg, in psa_rsa_decode_md_type()
346 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_sign_hash()
420 static int rsa_pss_expected_salt_len(psa_algorithm_t alg, in rsa_pss_expected_salt_len()
445 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_verify_hash()
526 static int psa_rsa_oaep_set_padding_mode(psa_algorithm_t alg, in psa_rsa_oaep_set_padding_mode()
539 psa_algorithm_t alg, in mbedtls_psa_asymmetric_encrypt()
633 psa_algorithm_t alg, in mbedtls_psa_asymmetric_decrypt()
Dpsa_crypto_mac.c215 psa_algorithm_t alg) in mac_init()
286 psa_algorithm_t alg) in psa_mac_setup()
335 psa_algorithm_t alg) in mbedtls_psa_mac_sign_setup()
346 psa_algorithm_t alg) in mbedtls_psa_mac_verify_setup()
470 psa_algorithm_t alg, in mbedtls_psa_mac_compute()
Dpsa_crypto_aead.c43 psa_algorithm_t alg) in psa_aead_setup()
136 psa_algorithm_t alg, in mbedtls_psa_aead_encrypt()
248 psa_algorithm_t alg, in mbedtls_psa_aead_decrypt()
342 psa_algorithm_t alg) in mbedtls_psa_aead_encrypt_setup()
363 psa_algorithm_t alg) in mbedtls_psa_aead_decrypt_setup()
Dpsa_crypto_hash.c86 psa_algorithm_t alg) in mbedtls_psa_hash_setup()
344 psa_algorithm_t alg, in mbedtls_psa_hash_compute()
Dpsa_crypto_ecp.c339 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_sign_hash()
425 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_verify_hash()
495 psa_algorithm_t alg, const uint8_t *peer_key, size_t peer_key_length, in mbedtls_psa_key_agreement_ecdh()
Dpkcs7.c131 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm()
147 mbedtls_x509_buf *alg) in pkcs7_get_digest_algorithm_set()
291 mbedtls_x509_buf *alg) in pkcs7_get_signer_info()
/mbedtls-3.5.0/programs/psa/
Daead_demo.c132 psa_algorithm_t *alg) in aead_prepare()
180 static void aead_info(psa_key_id_t key, psa_algorithm_t alg) in aead_info()
203 static int aead_encrypt(psa_key_id_t key, psa_algorithm_t alg, in aead_encrypt()
246 psa_algorithm_t alg; in aead_demo() local
Dcrypto_examples.c97 psa_algorithm_t alg, in cipher_encrypt()
128 psa_algorithm_t alg, in cipher_decrypt()
165 const psa_algorithm_t alg = PSA_ALG_CBC_NO_PADDING; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local
215 const psa_algorithm_t alg = PSA_ALG_CBC_PKCS7; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local
262 const psa_algorithm_t alg = PSA_ALG_CTR; in cipher_example_encrypt_decrypt_aes_ctr_multi() local
Dhmac_demo.c108 const psa_algorithm_t alg = PSA_ALG_HMAC(PSA_ALG_SHA_256); in hmac_demo() local
Dpsa_constant_names_generated.c149 psa_algorithm_t alg) in psa_snprint_algorithm()
/mbedtls-3.5.0/programs/hash/
Dmd_hmac_demo.c105 const mbedtls_md_type_t alg = MBEDTLS_MD_SHA256; in hmac_demo() local

12