/freebsd/tools/tools/crypto/ |
H A D | cryptocheck.c | 164 static const struct alg { struct 175 } algs[] = { argument 428 generate_iv(size_t len, const struct alg *alg) in generate_iv() 510 ocf_hash(const struct alg *alg, const char *buffer, size_t size, char *digest, in ocf_hash() 541 openssl_hash(const struct alg *alg, const EVP_MD *md, const void *buffer, in openssl_hash() 576 run_hash_test(const struct alg *alg, size_t size) in run_hash_test() 622 ocf_hmac(const struct alg *alg, const char *buffer, size_t size, in ocf_hmac() 655 run_hmac_test(const struct alg *alg, size_t size) in run_hmac_test() 708 openssl_cipher(const struct alg *alg, const EVP_CIPHER *cipher, const char *key, in openssl_cipher() 754 ocf_init_cipher_session(const struct alg *alg, const char *key, size_t key_len, in ocf_init_cipher_session() [all …]
|
H A D | cryptotest.c | 116 struct alg { struct 123 } algorithms[] = { argument 246 runtest(struct alg *ealg, struct alg *alg, int count, int size, u_long cmd, struct timeval *tv) in runtest() 449 runtests(struct alg *ealg, struct alg *alg, int count, int size, u_long cmd, int threads, int profi… in runtests() 539 struct alg *alg = NULL, *ealg = NULL; in main() local
|
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 | 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 | 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()
|
H A D | a_verify.c | 89 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()
|
/freebsd/crypto/openssl/crypto/property/ |
H A 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 …]
|
/freebsd/crypto/openssl/crypto/evp/ |
H A 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
|
H A 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
|
/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 199 X509_ALGOR *alg; in rsa_cms_sign() local 245 X509_ALGOR *alg; in rsa_cms_verify() local
|
H A D | cms_dh.c | 20 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey() 83 X509_ALGOR *alg, *kekalg = NULL; in dh_cms_set_shared_info() local 169 X509_ALGOR *alg; in dh_cms_decrypt() local
|
H A D | cms_ec.c | 73 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in ecdh_cms_set_peerkey() 161 X509_ALGOR *alg, *kekalg = NULL; in ecdh_cms_set_shared_info() local 228 X509_ALGOR *alg; in ecdh_cms_decrypt() local
|
/freebsd/crypto/openssl/crypto/cmp/ |
H A D | cmp_protect.c | 188 static int set_pbmac_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) in set_pbmac_algor() 226 static int set_sig_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) in set_sig_algor()
|
/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/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/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/implementations/include/prov/ |
H A D | ciphercommon_aead.h | 14 #define IMPLEMENT_aead_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument
|
/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()
|
/freebsd/crypto/openssl/providers/implementations/ciphers/ |
H A D | cipher_cts.h | 13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
|
/freebsd/crypto/openssl/test/ |
H A D | evp_pkey_provided_test.c | 54 static int compare_with_file(const char *alg, int type, BIO *membio) in compare_with_file() argument 141 static int test_print_key_using_pem(const char *alg, const EVP_PKEY *pk) in test_print_key_using_pem() argument 205 static int test_print_key_type_using_encoder(const char *alg, int type, in test_print_key_type_using_encoder() argument 314 static int test_print_key_using_encoder(const char *alg, cons argument 326 test_print_key_using_encoder_public(const char * alg,const EVP_PKEY * pk) test_print_key_using_encoder_public() argument 912 const char *alg = NULL; test_fromdata_ecx() local 1175 const char *alg = "EC"; test_fromdata_ec() local [all...] |
/freebsd/crypto/openssl/crypto/rsa/ |
H A D | rsa_backend.c | 433 RSA_PSS_PARAMS *ossl_rsa_pss_decode(const X509_ALGOR *alg) in ossl_rsa_pss_decode() 522 int ossl_rsa_param_decode(RSA *rsa, const X509_ALGOR *alg) in ossl_rsa_param_decode() 554 const X509_ALGOR *alg; in ossl_rsa_key_from_pkcs8() local
|