Home
last modified time | relevance | path

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

12345678

/freebsd-src/crypto/openssh/
H A Ddigest-openssl.c46 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 Ddigest-libc.c58 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 Dhmac.c30 int alg; member
39 ssh_hmac_bytes(int alg) in ssh_hmac_bytes()
45 ssh_hmac_start(int alg) in ssh_hmac_start()
/freebsd-src/tools/tools/crypto/
H A Dcryptocheck.c164 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 Dcryptotest.c116 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 Dipsecstats.c38 struct alg { struct
42 static const struct alg aalgs[] = { argument
/freebsd-src/crypto/openssl/crypto/asn1/
H A 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()
H A 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()
H A Da_verify.c89 int ASN1_item_verify(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify() argument
96 int ASN1_item_verify_ex(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify_ex() argument
112 int ASN1_item_verify_ctx(const ASN1_ITEM *it, const X509_ALGOR *alg, in ASN1_item_verify_ctx() argument
/freebsd-src/crypto/openssl/crypto/evp/
H A 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
H A 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
/freebsd-src/crypto/openssl/crypto/cms/
H A Dcms_rsa.c19 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 Dcms_dh.c20 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 Dcms_ec.c73 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-src/crypto/openssl/crypto/property/
H A Dproperty.c224 impl_cache_flush_alg(ossl_uintmax_t idx,ALGORITHM * alg) impl_cache_flush_alg() argument
292 ossl_method_store_insert(OSSL_METHOD_STORE * store,ALGORITHM * alg) ossl_method_store_insert() argument
302 ALGORITHM *alg = NULL; ossl_method_store_add() local
382 ALGORITHM *alg = NULL; ossl_method_store_remove() local
422 alg_cleanup_by_provider(ossl_uintmax_t idx,ALGORITHM * alg,void * arg) alg_cleanup_by_provider() argument
465 alg_do_one(ALGORITHM * alg,IMPLEMENTATION * impl,void (* fn)(int id,void * method,void * fnarg),void * fnarg) alg_do_one() argument
477 alg_do_each(ossl_uintmax_t idx,ALGORITHM * alg,void * arg) alg_do_each() argument
506 ALGORITHM *alg; ossl_method_store_fetch() local
585 ossl_method_cache_flush_alg(OSSL_METHOD_STORE * store,ALGORITHM * alg) ossl_method_cache_flush_alg() argument
593 ALGORITHM *alg = ossl_method_store_retrieve(store, nid); ossl_method_cache_flush() local
650 impl_cache_flush_one_alg(ossl_uintmax_t idx,ALGORITHM * alg,void * v) impl_cache_flush_one_alg() argument
683 ALGORITHM *alg; ossl_method_store_cache_get() local
716 ALGORITHM *alg; ossl_method_store_cache_set() local
[all...]
/freebsd-src/contrib/wpa/src/crypto/
H A Dcrypto_internal.c20 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() argument
/freebsd-src/crypto/openssl/crypto/cmp/
H A Dcmp_protect.c188 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-src/contrib/wpa/src/tls/
H A Dpkcs5.c25 } 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 Dtlsv1_client_ocsp.c67 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-src/contrib/wpa/src/eap_common/
H A Dikev2_common.c56 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-src/crypto/openssl/providers/implementations/include/prov/
H A Dciphercommon_aead.h14 #define IMPLEMENT_aead_cipher(alg, lc, UCMODE, flags, kbits, blkbits, ivbits) \ argument
/freebsd-src/crypto/openssl/providers/implementations/ciphers/
H A Dcipher_cts.h13 #define IMPLEMENT_cts_cipher(alg, UCALG, lcmode, UCMODE, flags, kbits, \ argument
/freebsd-src/sbin/md5/
H A Dmd5.c683 MDInput(const Algorithm_t *alg, FILE *f, char *buf, bool tee) in MDInput() argument
764 MDOutput(const Algorithm_t *alg, cha argument
812 MDTimeTrial(const Algorithm_t * alg) MDTimeTrial() argument
999 MDTestSuite(const Algorithm_t * alg) MDTestSuite() argument
1018 usage(const Algorithm_t * alg) usage() argument
[all...]
/freebsd-src/crypto/openssl/test/
H A Devp_pkey_provided_test.c54 static int compare_with_file(const char *alg, int type, BIO *membio) in compare_with_file()
141 static int test_print_key_using_pem(const char *alg, const EVP_PKEY *pk) in test_print_key_using_pem()
205 static int test_print_key_type_using_encoder(const char *alg, int type, in test_print_key_type_using_encoder()
314 static int test_print_key_using_encoder(const char *alg, const EVP_PKEY *pk) in test_print_key_using_encoder()
326 static int test_print_key_using_encoder_public(const char *alg, in test_print_key_using_encoder_public()
921 const char *alg = NULL; in test_fromdata_ecx() local
1187 const char *alg = "EC"; in test_fromdata_ec() local
/freebsd-src/crypto/openssl/crypto/rsa/
H A Drsa_backend.c433 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

12345678