/third_party/mbedtls/include/psa/ |
D | crypto_sizes.h | 65 #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 …]
|
D | crypto_values.h | 789 #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 …]
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_signature.c | 58 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()
|
D | test_driver_cipher.c | 46 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()
|
D | test_driver_mac.c | 38 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()
|
D | test_driver_asymmetric_encryption.c | 38 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()
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 115 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 …]
|
/third_party/libwebsockets/lib/cose/ |
D | cose_sign.c | 55 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
|
D | cose_validate.c | 50 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
|
D | cose_sign_alg.c | 32 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()
|
D | cose_validate_alg.c | 32 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/ |
D | p5_pbe.c | 82 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()
|
D | x_algor.c | 74 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()
|
/third_party/node/deps/openssl/openssl/crypto/asn1/ |
D | p5_pbe.c | 82 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()
|
D | x_algor.c | 74 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()
|
/third_party/fsverity-utils/lib/ |
D | hash_algs.c | 68 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/ |
D | kdf_meth.c | 187 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
|
D | mac_meth.c | 201 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/node/deps/openssl/openssl/crypto/evp/ |
D | kdf_meth.c | 187 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
|
D | mac_meth.c | 201 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/mbedtls/library/ |
D | psa_crypto_cipher.c | 35 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()
|
/third_party/node/deps/openssl/openssl/crypto/cms/ |
D | cms_rsa.c | 19 static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg) in rsa_oaep_decode() 117 X509_ALGOR *alg; in rsa_cms_encrypt() local 194 X509_ALGOR *alg; in rsa_cms_sign() local 240 X509_ALGOR *alg; in rsa_cms_verify() local
|
/third_party/openssl/crypto/cms/ |
D | cms_rsa.c | 18 static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg) in rsa_oaep_decode() 116 X509_ALGOR *alg; in rsa_cms_encrypt() local 193 X509_ALGOR *alg; in rsa_cms_sign() local 229 X509_ALGOR *alg; in rsa_cms_verify() local
|
/third_party/node/deps/openssl/openssl/crypto/property/ |
D | property.c | 224 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 585 ALGORITHM *alg) in ossl_method_cache_flush_alg() 593 ALGORITHM *alg = ossl_method_store_retrieve(store, nid); in ossl_method_cache_flush() local [all …]
|
/third_party/openssl/crypto/property/ |
D | property.c | 224 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 585 ALGORITHM *alg) in ossl_method_cache_flush_alg() 593 ALGORITHM *alg = ossl_method_store_retrieve(store, nid); in ossl_method_cache_flush() local [all …]
|