| /freebsd/tools/tools/crypto/ |
| H A D | cryptocheck.c | 164 static const struct alg { struct 175 } algs[] = { argument 433 generate_iv(size_t len, const struct alg *alg) in generate_iv() 515 ocf_hash(const struct alg *alg, const char *buffer, size_t size, char *digest, in ocf_hash() 546 openssl_hash(const struct alg *alg, const EVP_MD *md, const void *buffer, in openssl_hash() 581 run_hash_test(const struct alg *alg, size_t size) in run_hash_test() 627 ocf_hmac(const struct alg *alg, const char *buffer, size_t size, in ocf_hmac() 660 run_hmac_test(const struct alg *alg, size_t size) in run_hmac_test() 713 openssl_cipher(const struct alg *alg, const EVP_CIPHER *cipher, const char *key, in openssl_cipher() 759 ocf_init_cipher_session(const struct alg *alg, const char *key, size_t key_len, in ocf_init_cipher_session() [all …]
|
| H A D | ipsecstats.c | 38 struct alg { struct 42 static const struct alg aalgs[] = { argument
|
| /freebsd/crypto/openssh/ |
| H A D | digest-openssl.c | 46 int alg; member 68 ssh_digest_by_alg(int alg) in ssh_digest_by_alg() 82 int alg; in ssh_digest_alg_by_name() local 92 ssh_digest_alg_name(int alg) in ssh_digest_alg_name() 100 ssh_digest_bytes(int alg) in ssh_digest_bytes() 114 ssh_digest_start(int alg) in ssh_digest_start() 185 ssh_digest_memory(int alg, const void *m, size_t mlen, u_char *d, size_t dlen) in ssh_digest_memory() 203 ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen) in ssh_digest_buffer()
|
| H A D | digest-libc.c | 58 int alg; member 128 ssh_digest_by_alg(int alg) in ssh_digest_by_alg() 140 int alg; in ssh_digest_alg_by_name() local 150 ssh_digest_alg_name(int alg) in ssh_digest_alg_name() 158 ssh_digest_bytes(int alg) in ssh_digest_bytes() 174 ssh_digest_start(int alg) in ssh_digest_start() 249 ssh_digest_memory(int alg, const void *m, size_t mlen, u_char *d, size_t dlen) in ssh_digest_memory() 263 ssh_digest_buffer(int alg, const struct sshbuf *b, u_char *d, size_t dlen) in ssh_digest_buffer()
|
| H A D | hmac.c | 30 int alg; member 39 ssh_hmac_bytes(int alg) in ssh_hmac_bytes() 45 ssh_hmac_start(int alg) in ssh_hmac_start()
|
| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | x_algor.c | 56 X509_ALGOR *alg = NULL; in ossl_X509_ALGOR_from_nid() local 89 void X509_ALGOR_set_md(X509_ALGOR *alg, const EVP_MD *md) in X509_ALGOR_set_md() 144 X509_ALGOR *alg; in ossl_x509_algor_new_from_md() local 157 const EVP_MD *ossl_x509_algor_get_md(X509_ALGOR *alg) in ossl_x509_algor_get_md() 169 X509_ALGOR *ossl_x509_algor_mgf1_decode(X509_ALGOR *alg) in ossl_x509_algor_mgf1_decode()
|
| H A 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()
|
| H A D | a_verify.c | 87 int ASN1_item_verify(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify() 94 int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify_ex() 110 int ASN1_item_verify_ctx(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify_ctx()
|
| /freebsd/crypto/openssl/ssl/ |
| H A D | ssl_cert_comp.c | 16 size_t ossl_calculate_comp_expansion(int alg, size_t length) in ossl_calculate_comp_expansion() 61 static OSSL_COMP_CERT *OSSL_COMP_CERT_new(unsigned char *data, size_t len, size_t orig_len, int alg) in OSSL_COMP_CERT_new() 84 size_t orig_len, int alg) in OSSL_COMP_CERT_from_compressed_data() 90 int alg) in OSSL_COMP_CERT_from_uncompressed_data() 233 static int ssl_compress_one_cert(SSL *ssl, CERT_PKEY *cpk, int alg) in ssl_compress_one_cert() 262 int alg; in ssl_compress_certs() local 301 static size_t ssl_get_compressed_cert(SSL *ssl, CERT_PKEY *cpk, int alg, unsigned char **data, in ssl_get_compressed_cert() 383 int SSL_compress_certs(SSL *ssl, int alg) in SSL_compress_certs() 396 int SSL_CTX_compress_certs(SSL_CTX *ctx, int alg) in SSL_CTX_compress_certs() 411 size_t SSL_get1_compressed_cert(SSL *ssl, int alg, unsigned char **data, size_t *orig_len) in SSL_get1_compressed_cert() [all …]
|
| /freebsd/crypto/openssl/crypto/property/ |
| H A D | property.c | 219 static void impl_cache_flush_alg(ossl_uintmax_t idx, ALGORITHM *alg) in impl_cache_flush_alg() 287 static int ossl_method_store_insert(OSSL_METHOD_STORE *store, ALGORITHM *alg) in ossl_method_store_insert() 322 ALGORITHM *alg = NULL; in ossl_method_store_add() local 437 ALGORITHM *alg = NULL; in ossl_method_store_remove() local 492 alg_cleanup_by_provider(ossl_uintmax_t idx, ALGORITHM *alg, void *arg) in alg_cleanup_by_provider() 550 static void alg_do_one(ALGORITHM *alg, IMPLEMENTATION *impl, in alg_do_one() 557 static void alg_copy(ossl_uintmax_t idx, ALGORITHM *alg, void *arg) in alg_copy() 571 ALGORITHM *alg; in ossl_method_store_do_all() local 626 ALGORITHM *alg; in ossl_method_store_fetch() local 746 ALGORITHM *alg) in ossl_method_cache_flush_alg() [all …]
|
| /freebsd/crypto/openssl/crypto/evp/ |
| H A D | kdf_meth.c | 189 void *alg; in EVP_KDF_gettable_ctx_params() local 199 void *alg; in EVP_KDF_settable_ctx_params() local 209 void *alg; in EVP_KDF_CTX_gettable_params() local 219 void *alg; in EVP_KDF_CTX_settable_params() local
|
| H A D | mac_meth.c | 210 void *alg; in EVP_MAC_gettable_ctx_params() local 220 void *alg; in EVP_MAC_settable_ctx_params() local 230 void *alg; in EVP_MAC_CTX_gettable_params() local 240 void *alg; in EVP_MAC_CTX_settable_params() local
|
| /freebsd/crypto/openssl/crypto/cms/ |
| H A 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 198 X509_ALGOR *alg; in rsa_cms_sign() local 247 X509_ALGOR *alg; in rsa_cms_verify() local
|
| H A D | cms_dh.c | 21 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey() 84 X509_ALGOR *alg, *kekalg = NULL; in dh_cms_set_shared_info() local 170 X509_ALGOR *alg; in dh_cms_decrypt() local
|
| H A D | cms_ec.c | 74 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in ecdh_cms_set_peerkey() 162 X509_ALGOR *alg, *kekalg = NULL; in ecdh_cms_set_shared_info() local 229 X509_ALGOR *alg; in ecdh_cms_decrypt() local
|
| /freebsd/crypto/krb5/src/lib/crypto/krb/ |
| H A D | derive.c | 84 const krb5_data *in_constant, enum deriv_alg alg) in krb5int_derive_random() 111 const krb5_data *in_constant, enum deriv_alg alg) in krb5int_derive_keyblock() 138 const krb5_data *in_constant, enum deriv_alg alg) in krb5int_derive_key()
|
| /freebsd/crypto/openssl/test/ |
| H A D | mldsa_wycheproof_parse.py | 34 def parse_ml_dsa_sig_gen(alg, groups): argument 71 def parse_ml_dsa_sig_ver(alg, groups): argument
|
| H A D | evp_xof_test.c | 439 static int do_shake_squeeze_dup_test(int tst, const char *alg, in do_shake_squeeze_dup_test() 488 const char *alg = "SHAKE128"; in shake_squeeze_dup_test() local 510 const char *alg = "SHAKE128"; in shake_squeeze_no_absorb_test() local
|
| /freebsd/contrib/wpa/src/tls/ |
| H A D | pkcs5.c | 25 } alg; member 48 static int pkcs5_is_oid(struct asn1_oid *oid, unsigned long alg) in pkcs5_is_oid() 58 static int enc_alg_is_oid(struct asn1_oid *oid, unsigned long alg) in enc_alg_is_oid() 67 static int pkcs12_is_pbe_oid(struct asn1_oid *oid, unsigned long alg) in pkcs12_is_pbe_oid()
|
| H A D | tlsv1_client_ocsp.c | 67 static unsigned int ocsp_hash_data(struct asn1_oid *alg, const u8 *data, in ocsp_hash_data() 118 struct x509_algorithm_identifier alg; in tls_process_ocsp_single_response() local 354 struct x509_algorithm_identifier alg; in tls_process_basic_ocsp_response() local
|
| /freebsd/contrib/wpa/src/crypto/ |
| H A D | crypto_internal.c | 20 enum crypto_hash_alg alg; member 39 struct crypto_hash * crypto_hash_init(enum crypto_hash_alg alg, const u8 *key, in crypto_hash_init()
|
| /freebsd/contrib/wpa/src/eap_common/ |
| H A D | ikev2_common.c | 56 int ikev2_integ_hash(int alg, const u8 *key, size_t key_len, const u8 *data, in ikev2_integ_hash() 97 int ikev2_prf_hash(int alg, const u8 *key, size_t key_len, in ikev2_prf_hash() 113 int ikev2_prf_plus(int alg, const u8 *key, size_t key_len, in ikev2_prf_plus() 175 int ikev2_encr_encrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_encrypt() 210 int ikev2_encr_decrypt(int alg, const u8 *key, size_t key_len, const u8 *iv, in ikev2_encr_decrypt()
|
| /freebsd/crypto/openssl/providers/common/der/ |
| H A D | der_ml_dsa_key.c | 21 const uint8_t *alg; in ossl_DER_w_algorithmIdentifier_ML_DSA() local
|
| H A D | der_slh_dsa_key.c | 23 const uint8_t *alg; in ossl_DER_w_algorithmIdentifier_SLH_DSA() local
|
| /freebsd/sbin/md5/ |
| H A D | md5.c | 683 MDInput(const Algorithm_t *alg, FILE *f, char *buf, bool tee) in MDInput() 764 MDOutput(const Algorithm_t *alg, char *p, const char *name) in MDOutput() 812 MDTimeTrial(const Algorithm_t *alg) in MDTimeTrial() 999 MDTestSuite(const Algorithm_t *alg) in MDTestSuite() 1018 usage(const Algorithm_t *alg) in usage()
|