Home
last modified time | relevance | path

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

12

/mbedtls-development/include/psa/
A Dcrypto_sizes.h65 #define PSA_HASH_LENGTH(alg) \ argument
97 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument
298 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument
351 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument
403 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument
496 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument
530 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument
543 #define PSA_RSA_MINIMUM_PADDING_SIZE(alg) \ argument
584 #define PSA_SIGN_OUTPUT_SIZE(key_type, key_bits, alg) \ argument
984 #define PSA_CIPHER_IV_LENGTH(key_type, alg) \ argument
[all …]
A Dcrypto_values.h1107 #define PSA_ALG_IS_STREAM_CIPHER(alg) \ argument
1195 #define PSA_ALG_IS_AEAD_ON_BLOCK_CIPHER(alg) \ argument
1511 #define PSA_ALG_ECDSA_IS_DETERMINISTIC(alg) \ argument
1549 #define PSA_ALG_IS_HASH_EDDSA(alg) \ argument
1604 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) 0 argument
1757 #define PSA_ALG_IS_HKDF(alg) \ argument
1956 #define PSA_ALG_IS_KEY_DERIVATION_OR_AGREEMENT(alg) \ argument
1980 #define PSA_ALG_IS_FFDH(alg) \ argument
2024 #define PSA_ALG_IS_ECDH(alg) \ argument
2040 #define PSA_ALG_IS_WILDCARD(alg) \ argument
[all …]
A Dcrypto_extra.h403 #define PSA_ALG_IS_DSA(alg) \ argument
406 #define PSA_ALG_DSA_IS_DETERMINISTIC(alg) \ argument
408 #define PSA_ALG_IS_DETERMINISTIC_DSA(alg) \ argument
410 #define PSA_ALG_IS_RANDOMIZED_DSA(alg) \ argument
417 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) \ argument
832 #define PSA_ALG_IS_PAKE(alg) \ argument
1704 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) 0 argument
1725 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) 0 argument
1804 psa_algorithm_t alg; member
A Dcrypto_struct.h432 psa_algorithm_t alg ) in psa_set_key_algorithm()
/mbedtls-development/tests/src/drivers/
A Dtest_driver_signature.c50 psa_algorithm_t alg, in sign_hash()
115 psa_algorithm_t alg, in verify_hash()
173 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message()
217 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message()
241 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message()
272 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message()
293 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash()
320 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash()
340 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash()
357 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
A Dtest_driver_cipher.c42 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt()
79 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt()
114 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup()
135 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup()
244 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt()
263 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt()
283 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup()
297 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
A Dtest_driver_mac.c34 psa_algorithm_t alg, in mbedtls_test_transparent_mac_compute()
65 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_sign_setup()
89 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_verify_setup()
198 psa_algorithm_t alg, in mbedtls_test_opaque_mac_compute()
229 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_sign_setup()
253 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_verify_setup()
A Dhash.c31 psa_algorithm_t alg, in mbedtls_test_transparent_hash_compute()
55 psa_algorithm_t alg ) in mbedtls_test_transparent_hash_setup()
A Dtest_driver_aead.c34 psa_algorithm_t alg, in mbedtls_test_transparent_aead_encrypt()
65 psa_algorithm_t alg, in mbedtls_test_transparent_aead_decrypt()
97 psa_algorithm_t alg ) in mbedtls_test_transparent_aead_encrypt_setup()
120 psa_algorithm_t alg ) in mbedtls_test_transparent_aead_decrypt_setup()
/mbedtls-development/library/
A Dpsa_crypto_hash.c67 const mbedtls_md_info_t *mbedtls_md_info_from_psa( psa_algorithm_t alg ) in mbedtls_md_info_from_psa()
165 psa_algorithm_t alg ) in hash_setup()
426 psa_algorithm_t alg, in hash_compute()
460 psa_algorithm_t alg, in mbedtls_psa_hash_compute()
473 psa_algorithm_t alg ) in mbedtls_psa_hash_setup()
514 static int is_hash_accelerated( psa_algorithm_t alg ) in is_hash_accelerated()
552 psa_algorithm_t alg, in mbedtls_transparent_test_driver_hash_compute()
568 psa_algorithm_t alg ) in mbedtls_transparent_test_driver_hash_setup()
A Dpsa_crypto_cipher.c59 psa_algorithm_t alg, in mbedtls_cipher_info_from_psa()
159 psa_algorithm_t alg, in cipher_setup()
235 psa_algorithm_t alg ) in cipher_encrypt_setup()
246 psa_algorithm_t alg ) in cipher_decrypt_setup()
474 psa_algorithm_t alg, in cipher_encrypt()
579 psa_algorithm_t alg ) in mbedtls_psa_cipher_encrypt_setup()
589 psa_algorithm_t alg ) in mbedtls_psa_cipher_decrypt_setup()
666 psa_algorithm_t alg ) in mbedtls_transparent_test_driver_cipher_encrypt_setup()
676 psa_algorithm_t alg ) in mbedtls_transparent_test_driver_cipher_decrypt_setup()
715 psa_algorithm_t alg, in mbedtls_transparent_test_driver_cipher_encrypt()
[all …]
A Dpsa_crypto_mac.c211 psa_algorithm_t alg ) in mac_init()
454 psa_algorithm_t alg, in mac_compute()
494 psa_algorithm_t alg, in mbedtls_psa_mac_compute()
511 psa_algorithm_t alg ) in mbedtls_psa_mac_sign_setup()
522 psa_algorithm_t alg ) in mbedtls_psa_mac_verify_setup()
587 psa_algorithm_t alg, in mbedtls_transparent_test_driver_mac_compute()
607 psa_algorithm_t alg ) in mbedtls_transparent_test_driver_mac_sign_setup()
621 psa_algorithm_t alg ) in mbedtls_transparent_test_driver_mac_verify_setup()
674 psa_algorithm_t alg, in mbedtls_opaque_test_driver_mac_compute()
699 psa_algorithm_t alg ) in mbedtls_opaque_test_driver_mac_sign_setup()
[all …]
A Dpsa_crypto.c895 psa_algorithm_t alg ) in psa_get_and_lock_key_slot_with_policy()
954 psa_algorithm_t alg ) in psa_get_and_lock_transparent_key_slot_with_policy()
2121 psa_algorithm_t alg ) in psa_hash_setup()
2295 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation()
2601 psa_algorithm_t alg, in psa_mac_verify()
2796 psa_algorithm_t alg, in psa_sign_message_builtin()
2844 psa_algorithm_t alg, in psa_verify_message_builtin()
2945 psa_algorithm_t alg, in psa_sign_hash()
4449 psa_algorithm_t alg ) in psa_key_derivation_tls12_prf_generate_next_block()
4559 psa_algorithm_t alg, in psa_key_derivation_tls12_prf_read()
[all …]
A Dpsa_crypto_driver_wrappers.c75 psa_algorithm_t alg, in psa_driver_wrapper_sign_message()
150 psa_algorithm_t alg, in psa_driver_wrapper_verify_message()
837 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt()
919 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt()
1001 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup()
1300 psa_algorithm_t alg, in psa_driver_wrapper_hash_compute()
1467 psa_algorithm_t alg, in psa_driver_wrapper_aead_encrypt()
1519 psa_algorithm_t alg, in psa_driver_wrapper_aead_decrypt()
1572 psa_algorithm_t alg ) in psa_driver_wrapper_aead_encrypt_setup()
1620 psa_algorithm_t alg ) in psa_driver_wrapper_aead_decrypt_setup()
[all …]
A Dpsa_crypto_aead.c46 psa_algorithm_t alg ) in psa_aead_setup()
142 psa_algorithm_t alg, in mbedtls_psa_aead_encrypt()
253 psa_algorithm_t alg, in mbedtls_psa_aead_decrypt()
345 psa_algorithm_t alg ) in mbedtls_psa_aead_encrypt_setup()
372 psa_algorithm_t alg ) in mbedtls_psa_aead_decrypt_setup()
A Dpsa_crypto_rsa.c348 static psa_status_t psa_rsa_decode_md_type( psa_algorithm_t alg, in psa_rsa_decode_md_type()
379 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in rsa_sign_hash()
457 static int rsa_pss_expected_salt_len( psa_algorithm_t alg, in rsa_pss_expected_salt_len()
480 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in rsa_verify_hash()
604 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_sign_hash()
617 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_rsa_verify_hash()
676 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_transparent_test_driver_rsa_sign_hash()
703 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_transparent_test_driver_rsa_verify_hash()
A Dpsa_crypto_ecp.c365 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in ecdsa_sign_hash()
439 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in ecdsa_verify_hash()
541 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_sign_hash()
554 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_psa_ecdsa_verify_hash()
616 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_transparent_test_driver_ecdsa_sign_hash()
642 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in mbedtls_transparent_test_driver_ecdsa_verify_hash()
A Dasn1parse.c381 mbedtls_asn1_buf *alg, mbedtls_asn1_buf *params ) in mbedtls_asn1_get_alg()
425 mbedtls_asn1_buf *alg ) in mbedtls_asn1_get_alg_null()
A Dx509.c110 mbedtls_x509_buf *alg ) in mbedtls_x509_get_alg_null()
124 mbedtls_x509_buf *alg, mbedtls_x509_buf *params ) in mbedtls_x509_get_alg()
144 static int x509_get_hash_alg( const mbedtls_x509_buf *alg, mbedtls_md_type_t *md_alg ) in x509_get_hash_alg()
A Dcipher_wrap.h132 psa_algorithm_t alg; member
/mbedtls-development/tests/src/
A Dpsa_exercise_key.c118 psa_algorithm_t alg ) in exercise_mac_key()
163 psa_algorithm_t alg ) in exercise_cipher_key()
236 psa_algorithm_t alg ) in exercise_aead_key()
298 psa_algorithm_t alg ) in exercise_signature_key()
382 psa_algorithm_t alg ) in exercise_asymmetric_encryption_key()
421 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap()
470 psa_algorithm_t alg ) in exercise_key_derivation_key()
543 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self()
594 psa_algorithm_t alg ) in exercise_raw_key_agreement_key()
612 psa_algorithm_t alg ) in exercise_key_agreement_key()
[all …]
/mbedtls-development/programs/psa/
A Dcrypto_examples.c98 psa_algorithm_t alg, in cipher_encrypt()
129 psa_algorithm_t alg, in cipher_decrypt()
166 const psa_algorithm_t alg = PSA_ALG_CBC_NO_PADDING; in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() local
216 const psa_algorithm_t alg = PSA_ALG_CBC_PKCS7; in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() local
263 const psa_algorithm_t alg = PSA_ALG_CTR; in cipher_example_encrypt_decrypt_aes_ctr_multi() local
A Dpsa_constant_names.c122 psa_algorithm_t alg) in append_with_alg()
A Dkey_ladder_demo.c222 psa_algorithm_t alg, in import_key_from_file()
/mbedtls-development/tests/include/test/
A Dpsa_crypto_helpers.h266 #define MBEDTLS_TEST_PSA_SKIP_IF_ALT_GCM_NOT_12BYTES_NONCE( alg, \ argument

Completed in 51 milliseconds

12