Home
last modified time | relevance | path

Searched refs:EVP_sha1 (Results 1 – 25 of 74) sorted by relevance

123

/freebsd-10-stable/crypto/openssl/crypto/hmac/
Dhmactest.c186 if (HMAC_Init_ex(&ctx, NULL, 0, EVP_sha1(), NULL)) { in main()
209 if (HMAC_Init_ex(&ctx, test[4].key, -1, EVP_sha1(), NULL)) { in main()
214 if (!HMAC_Init_ex(&ctx, test[4].key, test[4].key_len, EVP_sha1(), NULL)) { in main()
288 if (!HMAC_Init_ex(&ctx, test[7].key, test[7].key_len, EVP_sha1(), NULL)) { in main()
/freebsd-10-stable/crypto/openssl/doc/crypto/
DEVP_DigestInit.pod9 EVP_md_null, EVP_md2, EVP_md5, EVP_sha, EVP_sha1, EVP_sha224, EVP_sha256,
53 const EVP_MD *EVP_sha1(void);
78 function. B<type> will typically be supplied by a functionsuch as EVP_sha1().
124 For example EVP_MD_type(EVP_sha1()) returns B<NID_sha1>. This function is
131 with this digest. For example EVP_sha1() is associated with RSA so this will
136 EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(), EVP_sha224(), EVP_sha256(),
167 EVP_md_null(), EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(), EVP_dss(),
271 EVP_md_null(), EVP_md2(), EVP_md5(), EVP_sha(), EVP_sha1(),
276 later, so now EVP_sha1() can be used with RSA and DSA; there is no need to
DBIO_f_md.pod84 BIO_set_md(mdtmp, EVP_sha1());
102 BIO_set_md(mdtmp, EVP_sha1());
DOpenSSL_add_all_algorithms.pod43 by EVP_sha1(). It just needs to add them if it (or any of the functions it calls)
/freebsd-10-stable/crypto/openssl/crypto/rand/
Drand_lcl.h142 # define MD_Init(a) EVP_DigestInit_ex(a,EVP_sha1(), NULL)
143 # define MD(a,b,c) EVP_Digest(a,b,c,NULL,EVP_sha1(), NULL)
/freebsd-10-stable/crypto/openssl/crypto/sha/
Dsha1test.c125 EVP_Digest(*P, strlen((char *)*P), md, NULL, EVP_sha1(), NULL); in main()
142 EVP_DigestInit_ex(&c, EVP_sha1(), NULL); in main()
/freebsd-10-stable/crypto/openssl/crypto/rsa/
Drsa_oaep.c57 if (!EVP_Digest((void *)param, plen, db, NULL, EVP_sha1(), NULL)) in RSA_padding_add_PKCS1_OAEP()
158 if (!EVP_Digest((void *)param, plen, phash, NULL, EVP_sha1(), NULL)) in RSA_padding_check_PKCS1_OAEP()
255 return PKCS1_MGF1(mask, len, seed, seedlen, EVP_sha1()); in MGF1()
/freebsd-10-stable/crypto/heimdal/kuser/
Dkdigest.c283 EVP_DigestInit_ex(ctx, EVP_sha1(), NULL); in client_mschapv2()
317 EVP_DigestInit_ex(ctx, EVP_sha1(), NULL); in client_mschapv2()
324 EVP_DigestInit_ex(ctx, EVP_sha1(), NULL); in client_mschapv2()
330 EVP_DigestInit_ex(ctx, EVP_sha1(), NULL); in client_mschapv2()
341 EVP_DigestInit_ex(ctx, EVP_sha1(), NULL); in client_mschapv2()
/freebsd-10-stable/crypto/openssl/crypto/srp/
Dsrp_lib.c100 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in srp_Calc_k()
138 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in SRP_Calc_u()
227 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in SRP_Calc_x()
233 EVP_DigestInit_ex(&ctxt, EVP_sha1(), NULL); in SRP_Calc_x()
/freebsd-10-stable/crypto/openssl/crypto/dsa/
Ddsa_gen.c73 # define HASH EVP_sha1()
115 const EVP_MD *evpmd = bits >= 2048 ? EVP_sha256() : EVP_sha1(); in DSA_generate_parameters_ex()
149 evpmd = EVP_sha1(); in dsa_builtin_paramgen()
Ddsa_depr.c75 # define HASH EVP_sha1()
/freebsd-10-stable/crypto/openssl/ssl/
Dssl_cert.c168 cert->pkeys[SSL_PKEY_DSA_SIGN].digest = EVP_sha1(); in ssl_cert_set_default_md()
171 cert->pkeys[SSL_PKEY_RSA_SIGN].digest = EVP_sha1(); in ssl_cert_set_default_md()
172 cert->pkeys[SSL_PKEY_RSA_ENC].digest = EVP_sha1(); in ssl_cert_set_default_md()
175 cert->pkeys[SSL_PKEY_ECC].digest = EVP_sha1(); in ssl_cert_set_default_md()
Dssl_algs.c115 EVP_add_digest(EVP_sha1()); /* RSA with sha1 */ in SSL_library_init()
/freebsd-10-stable/crypto/openssl/crypto/evp/
Dc_alld.c82 EVP_add_digest(EVP_sha1()); in OpenSSL_add_all_digests()
Devp_fips.c270 const EVP_MD *EVP_sha1(void) in EVP_sha1() function
Dm_sha1.c103 const EVP_MD *EVP_sha1(void) in EVP_sha1() function
/freebsd-10-stable/contrib/wpa/src/crypto/
Dcrypto_openssl.c179 return openssl_digest_vector(EVP_sha1(), num_elem, addr, len, mac); in sha1_vector()
609 md = EVP_sha1(); in crypto_hash_init()
708 HMAC_Init_ex(&ctx, key, key_len, EVP_sha1(), NULL); in hmac_sha1_vector()
710 if (HMAC_Init_ex(&ctx, key, key_len, EVP_sha1(), NULL) != 1) in hmac_sha1_vector()
/freebsd-10-stable/crypto/heimdal/lib/krb5/
Dcrypto-pk.c80 EVP_DigestInit_ex(m, EVP_sha1(), NULL); in _krb5_pk_octetstring2key()
221 md = EVP_sha1(); in _krb5_pk_kdf()
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/hash/
Dt_hmac.c56 EVP_sha1(), in test()
/freebsd-10-stable/crypto/openssl/crypto/x509v3/
Dv3_skey.c137 (pk->data, pk->length, pkey_dig, &diglen, EVP_sha1(), NULL)) in s2i_skey_id()
/freebsd-10-stable/crypto/openssl/apps/
Ds_cb.c804 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in generate_cookie_callback()
877 HMAC(EVP_sha1(), cookie_secret, COOKIE_SECRET_LENGTH, in verify_cookie_callback()
/freebsd-10-stable/crypto/openssl/crypto/asn1/
Dt_x509.c269 if (!EVP_Digest(der, derlen, SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
286 SHA1md, NULL, EVP_sha1(), NULL)) in X509_ocspid_print()
/freebsd-10-stable/crypto/heimdal/kdc/
Dkx509.c79 EVP_sha1(), NULL); in verify_req_hash()
106 EVP_sha1(), NULL); in calculate_reply_hash()
/freebsd-10-stable/crypto/openssh/
Ddigest-openssl.c60 { SSH_DIGEST_SHA1, "SHA1", 20, EVP_sha1 },
/freebsd-10-stable/crypto/openssl/crypto/pkcs12/
Dp12_mutl.c142 md_type = EVP_sha1(); in PKCS12_set_mac()

123