Home
last modified time | relevance | path

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

123456789

/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()
/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/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/openssl/crypto/asn1/
Dp5_pbe.c82 int PKCS5_pbe_set0_algor(X509_ALGOR *algor, int alg, int iter, in PKCS5_pbe_set0_algor()
90 X509_ALGOR *PKCS5_pbe_set_ex(int alg, int iter, in PKCS5_pbe_set_ex()
108 X509_ALGOR *PKCS5_pbe_set(int alg, int iter, in PKCS5_pbe_set()
Dx_algor.c74 void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md) in X509_ALGOR_set_md()
145 const EVP_MD *ossl_x509_algor_get_md(X509_ALGOR *alg) in ossl_x509_algor_get_md()
157 X509_ALGOR *ossl_x509_algor_mgf1_decode(X509_ALGOR *alg) in ossl_x509_algor_mgf1_decode()
Da_verify.c89 int ASN1_item_verify(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify()
96 int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify_ex()
112 int ASN1_item_verify_ctx(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify_ctx()
/third_party/fsverity-utils/lib/
Dhash_algs.c68 openssl_digest_ctx_create(const struct fsverity_hash_alg *alg, const EVP_MD *md) in openssl_digest_ctx_create()
105 static struct hash_ctx *create_sha256_ctx(const struct fsverity_hash_alg *alg) in create_sha256_ctx()
110 static struct hash_ctx *create_sha512_ctx(const struct fsverity_hash_alg *alg) in create_sha512_ctx()
193 const struct fsverity_hash_alg *alg = in libfsverity_get_digest_size() local
202 const struct fsverity_hash_alg *alg = in libfsverity_get_hash_name() local
/third_party/openssl/crypto/evp/
Dkdf_meth.c187 void *alg; in EVP_KDF_gettable_ctx_params() local
197 void *alg; in EVP_KDF_settable_ctx_params() local
207 void *alg; in EVP_KDF_CTX_gettable_params() local
217 void *alg; in EVP_KDF_CTX_settable_params() local
Dmac_meth.c201 void *alg; in EVP_MAC_gettable_ctx_params() local
211 void *alg; in EVP_MAC_settable_ctx_params() local
221 void *alg; in EVP_MAC_CTX_gettable_params() local
231 void *alg; in EVP_MAC_CTX_settable_params() local
/third_party/openssl/crypto/cms/
Dcms_rsa.c17 static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg) in rsa_oaep_decode()
115 X509_ALGOR *alg; in rsa_cms_encrypt() local
192 X509_ALGOR *alg; in rsa_cms_sign() local
218 X509_ALGOR *alg; in rsa_cms_verify() local
/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()
/third_party/openssl/crypto/property/
Dproperty.c224 static void impl_cache_flush_alg(ossl_uintmax_t idx, ALGORITHM *alg) in impl_cache_flush_alg()
292 static int ossl_method_store_insert(OSSL_METHOD_STORE *store, ALGORITHM *alg) in ossl_method_store_insert()
302 ALGORITHM *alg = NULL; in ossl_method_store_add() local
382 ALGORITHM *alg = NULL; in ossl_method_store_remove() local
422 alg_cleanup_by_provider(ossl_uintmax_t idx, ALGORITHM *alg, void *arg) in alg_cleanup_by_provider()
465 static void alg_do_one(ALGORITHM *alg, IMPLEMENTATION *impl, in alg_do_one()
477 static void alg_do_each(ossl_uintmax_t idx, ALGORITHM *alg, void *arg) in alg_do_each()
506 ALGORITHM *alg; in ossl_method_store_fetch() local
584 ALGORITHM *alg) in ossl_method_cache_flush_alg()
592 ALGORITHM *alg = ossl_method_store_retrieve(store, nid); in ossl_method_cache_flush() local
[all …]
/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

123456789