| /third_party/mbedtls/include/psa/ |
| D | crypto_values.h | 797 #define PSA_ALG_IS_VENDOR_DEFINED(alg) \ argument 808 #define PSA_ALG_IS_HASH(alg) \ argument 819 #define PSA_ALG_IS_MAC(alg) \ argument 830 #define PSA_ALG_IS_CIPHER(alg) \ argument 842 #define PSA_ALG_IS_AEAD(alg) \ argument 854 #define PSA_ALG_IS_SIGN(alg) \ argument 866 #define PSA_ALG_IS_ASYMMETRIC_ENCRYPTION(alg) \ argument 877 #define PSA_ALG_IS_KEY_AGREEMENT(alg) \ argument 888 #define PSA_ALG_IS_KEY_DERIVATION(alg) \ argument 905 #define PSA_ALG_IS_KEY_DERIVATION_STRETCHING(alg) \ argument [all …]
|
| D | crypto_sizes.h | 60 #define PSA_HASH_LENGTH(alg) \ argument 92 #define PSA_HASH_BLOCK_LENGTH(alg) \ argument 188 #define PSA_AEAD_TAG_LENGTH(key_type, key_bits, alg) \ argument 328 #define PSA_MAC_LENGTH(key_type, key_bits, alg) \ argument 360 #define PSA_AEAD_ENCRYPT_OUTPUT_SIZE(key_type, alg, plaintext_length) \ argument 413 #define PSA_AEAD_DECRYPT_OUTPUT_SIZE(key_type, alg, ciphertext_length) \ argument 465 #define PSA_AEAD_NONCE_LENGTH(key_type, alg) \ argument 517 #define PSA_AEAD_UPDATE_OUTPUT_SIZE(key_type, alg, input_length) \ argument 558 #define PSA_AEAD_FINISH_OUTPUT_SIZE(key_type, alg) \ argument 592 #define PSA_AEAD_VERIFY_OUTPUT_SIZE(key_type, alg) \ argument [all …]
|
| /third_party/mbedtls/tests/src/drivers/ |
| D | test_driver_signature.c | 45 psa_algorithm_t alg, in sign_hash() 113 psa_algorithm_t alg, in verify_hash() 179 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_message() 235 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_message() 259 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_message() 302 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_message() 323 psa_algorithm_t alg, in mbedtls_test_transparent_signature_sign_hash() 351 psa_algorithm_t alg, in mbedtls_test_opaque_signature_sign_hash() 371 psa_algorithm_t alg, in mbedtls_test_transparent_signature_verify_hash() 389 psa_algorithm_t alg, in mbedtls_test_opaque_signature_verify_hash()
|
| D | test_driver_cipher.c | 34 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_encrypt() 87 psa_algorithm_t alg, in mbedtls_test_transparent_cipher_decrypt() 134 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_encrypt_setup() 166 psa_algorithm_t alg) in mbedtls_test_transparent_cipher_decrypt_setup() 319 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_encrypt() 341 psa_algorithm_t alg, in mbedtls_test_opaque_cipher_decrypt() 361 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_encrypt_setup() 375 psa_algorithm_t alg) in mbedtls_test_opaque_cipher_decrypt_setup()
|
| D | test_driver_mac.c | 26 psa_algorithm_t alg, in mbedtls_test_transparent_mac_compute() 75 psa_algorithm_t alg) in mbedtls_test_transparent_mac_sign_setup() 112 psa_algorithm_t alg) in mbedtls_test_transparent_mac_verify_setup() 268 psa_algorithm_t alg, in mbedtls_test_opaque_mac_compute() 301 psa_algorithm_t alg) in mbedtls_test_opaque_mac_sign_setup() 325 psa_algorithm_t alg) in mbedtls_test_opaque_mac_verify_setup()
|
| /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 535 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/mbedtls/library/ |
| D | psa_crypto_cipher.c | 30 psa_algorithm_t alg, in mbedtls_cipher_validate_values() 127 psa_algorithm_t alg, in mbedtls_cipher_values_from_psa() 259 psa_algorithm_t alg, in mbedtls_cipher_info_from_psa() 286 psa_algorithm_t alg, in psa_cipher_setup() 364 psa_algorithm_t alg) in mbedtls_psa_cipher_encrypt_setup() 375 psa_algorithm_t alg) in mbedtls_psa_cipher_decrypt_setup() 608 psa_algorithm_t alg, in mbedtls_psa_cipher_encrypt() 666 psa_algorithm_t alg, in mbedtls_psa_cipher_decrypt()
|
| D | psa_crypto_driver_wrappers.c | 123 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in psa_driver_wrapper_sign_message() 169 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in psa_driver_wrapper_verify_message() 212 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *hash, in psa_driver_wrapper_sign_hash() 279 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *hash, in psa_driver_wrapper_verify_hash() 389 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *hash, in psa_driver_wrapper_sign_hash_start() 469 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *hash, in psa_driver_wrapper_verify_hash_start() 949 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *iv, in psa_driver_wrapper_cipher_encrypt() 1005 … size_t key_buffer_size, psa_algorithm_t alg, const uint8_t *input, in psa_driver_wrapper_cipher_decrypt() 1059 size_t key_buffer_size, psa_algorithm_t alg) in psa_driver_wrapper_cipher_encrypt_setup() 1118 size_t key_buffer_size, psa_algorithm_t alg) in psa_driver_wrapper_cipher_decrypt_setup() [all …]
|
| /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/mbedtls/tests/src/ |
| D | psa_exercise_key.c | 122 psa_algorithm_t alg, in exercise_mac_key() 177 psa_algorithm_t alg, in exercise_cipher_key() 265 psa_algorithm_t alg, in exercise_aead_key() 327 psa_algorithm_t alg) in can_sign_or_verify_message() 340 psa_algorithm_t alg, in exercise_signature_key() 441 psa_algorithm_t alg, in exercise_asymmetric_encryption_key() 489 psa_algorithm_t alg, in mbedtls_test_psa_setup_key_derivation_wrap() 590 psa_algorithm_t alg, in exercise_key_derivation_key() 684 psa_algorithm_t alg, in mbedtls_test_psa_raw_key_agreement_with_self() 749 psa_algorithm_t alg, in exercise_raw_key_agreement_key() [all …]
|
| /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/property/ |
| D | property.c | 226 static void impl_cache_flush_alg(ossl_uintmax_t idx, ALGORITHM *alg) in impl_cache_flush_alg() 294 static int ossl_method_store_insert(OSSL_METHOD_STORE *store, ALGORITHM *alg) in ossl_method_store_insert() 304 ALGORITHM *alg = NULL; in ossl_method_store_add() local 384 ALGORITHM *alg = NULL; in ossl_method_store_remove() local 424 alg_cleanup_by_provider(ossl_uintmax_t idx, ALGORITHM *alg, void *arg) in alg_cleanup_by_provider() 467 static void alg_do_one(ALGORITHM *alg, IMPLEMENTATION *impl, in alg_do_one() 474 static void alg_copy(ossl_uintmax_t idx, ALGORITHM *alg, void *arg) in alg_copy() 488 ALGORITHM *alg; in ossl_method_store_do_all() local 520 ALGORITHM *alg; in ossl_method_store_fetch() local 599 ALGORITHM *alg) in ossl_method_cache_flush_alg() [all …]
|
| /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/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/cms/ |
| D | cms_rsa.c | 19 static RSA_OAEP_PARAMS *rsa_oaep_decode(const X509_ALGOR *alg) in rsa_oaep_decode() 120 X509_ALGOR *alg; in rsa_cms_encrypt() local 199 X509_ALGOR *alg; in rsa_cms_sign() local 245 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 …]
|