Home
last modified time | relevance | path

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

12345678

/third_party/mbedtls/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
266 #define PSA_MAC_LENGTH(key_type, key_bits, 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
455 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument
496 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument
530 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument
[all …]
Dcrypto_values.h738 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument
749 #define PSA_ALG_IS_HASH(alg) \ argument
760 #define PSA_ALG_IS_MAC(alg) \ argument
771 #define PSA_ALG_IS_CIPHER(alg) \ argument
783 #define PSA_ALG_IS_AEAD(alg) \ argument
795 #define PSA_ALG_IS_SIGN(alg) \ argument
807 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument
818 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument
829 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument
846 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument
[all …]
Dcrypto_extra.h404 #define PSA_ALG_IS_DSA(alg) \ argument
407 #define PSA_ALG_DSA_IS_DETERMINISTIC(alg) \ argument
409 #define PSA_ALG_IS_DETERMINISTIC_DSA(alg) \ argument
411 #define PSA_ALG_IS_RANDOMIZED_DSA(alg) \ argument
418 #define PSA_ALG_IS_VENDOR_HASH_AND_SIGN(alg) \ argument
833 #define PSA_ALG_IS_PAKE(alg) \ argument
1705 #define PSA_PAKE_OUTPUT_SIZE(alg, primitive, output_step) 0 argument
1726 #define PSA_PAKE_INPUT_SIZE(alg, primitive, input_step) 0 argument
1805 psa_algorithm_t alg; member
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_signature.c58 psa_algorithm_t alg, in sign_hash()
135 psa_algorithm_t alg, in verify_hash()
210 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message()
264 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message()
288 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message()
329 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message()
350 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash()
377 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash()
397 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash()
414 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
Dtest_driver_cipher.c46 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt()
94 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt()
140 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup()
171 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup()
316 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt()
338 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt()
358 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup()
372 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
Dtest_driver_mac.c38 psa_algorithm_t alg, in mbedtls_test_transparent_mac_compute()
90 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_sign_setup()
130 psa_algorithm_t alg ) in mbedtls_test_transparent_mac_verify_setup()
301 psa_algorithm_t alg, in mbedtls_test_opaque_mac_compute()
337 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_sign_setup()
364 psa_algorithm_t alg ) in mbedtls_test_opaque_mac_verify_setup()
Dhash.c35 psa_algorithm_t alg, in mbedtls_test_transparent_hash_compute()
75 psa_algorithm_t alg ) in mbedtls_test_transparent_hash_setup()
Dtest_driver_aead.c34 psa_algorithm_t alg, in mbedtls_test_transparent_aead_encrypt()
82 psa_algorithm_t alg, in mbedtls_test_transparent_aead_decrypt()
131 psa_algorithm_t alg ) in mbedtls_test_transparent_aead_encrypt_setup()
163 psa_algorithm_t alg ) in mbedtls_test_transparent_aead_decrypt_setup()
/third_party/libwebsockets/lib/cose/
Dcose_sign.c55 lws_cose_sign_add(struct lws_cose_sign_context *csc, cose_param_t alg, in lws_cose_sign_add()
88 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_sign_hashing() local
111 lws_cose_sig_alg_t *alg; in lws_cose_sign_payload_chunk() local
528 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_sign_destroy() local
Dcose_validate.c50 cose_param_t alg; member
122 lws_cose_alg_to_name(cose_param_t alg) in lws_cose_alg_to_name()
192 lws_cose_sig_alg_t *alg; in apply_external() local
240 lws_cose_sig_alg_t *alg; in create_alg() local
450 lws_cose_sig_alg_t *alg; in cb_cose_sig() local
1024 lws_cose_sig_alg_t *alg = lws_container_of(p, in lws_cose_validate_destroy() local
Dcose_sign_alg.c32 lws_cose_sig_alg_t *alg = lws_zalloc(sizeof(*alg), __func__); in lws_cose_sign_alg_create() local
169 lws_cose_sign_alg_hash(lws_cose_sig_alg_t *alg, const uint8_t *in, size_t in_len) in lws_cose_sign_alg_hash()
196 lws_cose_sign_alg_complete(lws_cose_sig_alg_t *alg) in lws_cose_sign_alg_complete()
Dcose_validate_alg.c32 lws_cose_sig_alg_t *alg = lws_zalloc(sizeof(*alg), __func__); in lws_cose_val_alg_create() local
170 lws_cose_val_alg_hash(lws_cose_sig_alg_t *alg, const uint8_t *in, size_t in_len) in lws_cose_val_alg_hash()
193 lws_cose_sig_alg_t *alg = *_alg; in lws_cose_val_alg_destroy() local
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c119 psa_algorithm_t alg ) in exercise_mac_key()
164 psa_algorithm_t alg ) in exercise_cipher_key()
237 psa_algorithm_t alg ) in exercise_aead_key()
299 psa_algorithm_t alg ) in exercise_signature_key()
383 psa_algorithm_t alg ) in exercise_asymmetric_encryption_key()
422 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap()
471 psa_algorithm_t alg ) in exercise_key_derivation_key()
544 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self()
595 psa_algorithm_t alg ) in exercise_raw_key_agreement_key()
613 psa_algorithm_t alg ) in exercise_key_agreement_key()
[all …]
/third_party/mbedtls/library/
Dpsa_crypto_cipher.c35 psa_algorithm_t alg, in mbedtls_cipher_info_from_psa()
135 psa_algorithm_t alg, in psa_cipher_setup()
212 psa_algorithm_t alg ) in mbedtls_psa_cipher_encrypt_setup()
223 psa_algorithm_t alg ) in mbedtls_psa_cipher_decrypt_setup()
451 psa_algorithm_t alg, in mbedtls_psa_cipher_encrypt()
505 psa_algorithm_t alg, in mbedtls_psa_cipher_decrypt()
Dpsa_crypto.c819 psa_algorithm_t alg ) in psa_key_policy_permits()
892 psa_algorithm_t alg ) in psa_get_and_lock_key_slot_with_policy()
951 psa_algorithm_t alg ) in psa_get_and_lock_transparent_key_slot_with_policy()
2117 psa_algorithm_t alg ) in psa_hash_setup()
2219 psa_status_t psa_hash_compute( psa_algorithm_t alg, in psa_hash_compute()
2232 psa_status_t psa_hash_compare( psa_algorithm_t alg, in psa_hash_compare()
2298 psa_algorithm_t alg, in psa_mac_finalize_alg_and_key_validation()
2339 psa_algorithm_t alg, in psa_mac_setup()
2398 psa_algorithm_t alg ) in psa_mac_sign_setup()
2405 psa_algorithm_t alg ) in psa_mac_verify_setup()
[all …]
Dpsa_crypto_hash.c36 const mbedtls_md_info_t *mbedtls_md_info_from_psa( psa_algorithm_t alg ) in mbedtls_md_info_from_psa()
132 psa_algorithm_t alg ) in mbedtls_psa_hash_setup()
393 psa_algorithm_t alg, in mbedtls_psa_hash_compute()
Dpsa_crypto_driver_wrappers.c113 psa_algorithm_t alg, in psa_driver_wrapper_sign_message()
188 psa_algorithm_t alg, in psa_driver_wrapper_verify_message()
258 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_sign_hash()
342 psa_algorithm_t alg, const uint8_t *hash, size_t hash_length, in psa_driver_wrapper_verify_hash()
875 psa_algorithm_t alg, in psa_driver_wrapper_cipher_encrypt()
967 psa_algorithm_t alg, in psa_driver_wrapper_cipher_decrypt()
1049 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_encrypt_setup()
1122 psa_algorithm_t alg ) in psa_driver_wrapper_cipher_decrypt_setup()
1350 psa_algorithm_t alg, in psa_driver_wrapper_hash_compute()
1387 psa_algorithm_t alg ) in psa_driver_wrapper_hash_setup()
[all …]
Dpsa_crypto_mac.c199 psa_algorithm_t alg ) in mac_init()
279 psa_algorithm_t alg ) in psa_mac_setup()
329 psa_algorithm_t alg ) in mbedtls_psa_mac_sign_setup()
340 psa_algorithm_t alg ) in mbedtls_psa_mac_verify_setup()
464 psa_algorithm_t alg, in mbedtls_psa_mac_compute()
Dpsa_crypto_aead.c46 psa_algorithm_t alg ) in psa_aead_setup()
144 psa_algorithm_t alg, in mbedtls_psa_aead_encrypt()
260 psa_algorithm_t alg, in mbedtls_psa_aead_decrypt()
357 psa_algorithm_t alg ) in mbedtls_psa_aead_encrypt_setup()
377 psa_algorithm_t alg ) in mbedtls_psa_aead_decrypt_setup()
/third_party/ltp/testcases/kernel/crypto/
Dcrypto_user02.c62 struct crypto_user_alg alg; in setup() local
89 struct crypto_user_alg alg = {}; in run() local
/third_party/openssl/crypto/rsa/
Drsa_ameth.c54 static int rsa_param_decode(RSA *rsa, const X509_ALGOR *alg) in rsa_param_decode()
99 X509_ALGOR *alg; in rsa_pub_decode() local
186 const X509_ALGOR *alg; in rsa_priv_decode() local
223 static X509_ALGOR *rsa_mgf1_decode(X509_ALGOR *alg) in rsa_mgf1_decode()
427 static RSA_PSS_PARAMS *rsa_pss_decode(const X509_ALGOR *alg) in rsa_pss_decode()
469 X509_ALGOR *alg = NULL; in rsa_pkey_ctrl() local
577 static const EVP_MD *rsa_algor_to_md(X509_ALGOR *alg) in rsa_algor_to_md()
754 X509_ALGOR *alg; in rsa_cms_verify() local
802 X509_ALGOR *alg; in rsa_cms_sign() local
895 static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg) in rsa_oaep_decode()
[all …]
/third_party/ltp/lib/
Dtst_crypto.c69 const struct crypto_user_alg *alg) in tst_crypto_add_alg()
85 const struct crypto_user_alg *alg) in tst_crypto_del_alg()
/third_party/mbedtls/programs/psa/
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
/third_party/libwebsockets/lib/tls/
Dlws-gencrypto-common.c576 lws_gencrypto_jws_alg_to_definition(const char *alg, in lws_gencrypto_jws_alg_to_definition()
594 lws_gencrypto_jwe_alg_to_definition(const char *alg, in lws_gencrypto_jwe_alg_to_definition()
/third_party/boost/boost/poly_collection/
Dalgorithm.hpp61 auto alg=restitute_range<Ts...>(std_all_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET() local
74 auto alg=restitute_range<Ts...>(std_any_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET() local
87 auto alg=restitute_range<Ts...>(std_none_of{},pred); in BOOST_POLY_COLLECTION_DEFINE_OVERLOAD_SET() local
136 auto alg=restitute_iterator<Ts...>( in for_each_n() local
167 auto alg=restitute_range<Ts...>( in generic_find() local
301 auto alg=restitute_range<Ts...>(Algorithm{},std::forward<Args>(args)...); in generic_count() local
454 auto alg=restitute_range<Ts...>(equal_alg{},first2,pred); in equal() local
478 auto alg=restitute_range<Ts...>(equal_alg{},first2,last2,pred); in equal() local
709 auto alg=restitute_range<Ts...>( in search_n() local
747 auto alg=restitute_range<Ts...>( in generic_copy() local
[all …]

12345678