Home
last modified time | relevance | path

Searched refs:sha1 (Results 1 – 25 of 58) sorted by relevance

123

/openssl/crypto/sha/
H A Dbuild.info97 GENERATE[sha1-586.S]=asm/sha1-586.pl
104 GENERATE[sha1-ia64.s]=asm/sha1-ia64.pl
108 GENERATE[sha1-alpha.S]=asm/sha1-alpha.pl
110 GENERATE[sha1-x86_64.s]=asm/sha1-x86_64.pl
118 GENERATE[sha1-sparcv9.S]=asm/sha1-sparcv9.pl
125 GENERATE[sha1-ppc.s]=asm/sha1-ppc.pl
132 GENERATE[sha1-parisc.s]=asm/sha1-parisc.pl
136 GENERATE[sha1-mips.S]=asm/sha1-mips.pl
152 GENERATE[sha1-armv8.S]=asm/sha1-armv8.pl
161 GENERATE[sha1-s390x.S]=asm/sha1-s390x.pl
[all …]
H A Dsha1dgst.c28 int ossl_sha1_ctrl(SHA_CTX *sha1, int cmd, int mslen, void *ms) in ossl_sha1_ctrl() argument
36 if (sha1 == NULL) in ossl_sha1_ctrl()
47 if (SHA1_Update(sha1, ms, mslen) <= 0) in ossl_sha1_ctrl()
53 if (!SHA1_Update(sha1, padtmp, sizeof(padtmp))) in ossl_sha1_ctrl()
56 if (!SHA1_Final(sha1tmp, sha1)) in ossl_sha1_ctrl()
61 if (!SHA1_Init(sha1)) in ossl_sha1_ctrl()
64 if (SHA1_Update(sha1, ms, mslen) <= 0) in ossl_sha1_ctrl()
70 if (!SHA1_Update(sha1, padtmp, sizeof(padtmp))) in ossl_sha1_ctrl()
73 if (!SHA1_Update(sha1, sha1tmp, sizeof(sha1tmp))) in ossl_sha1_ctrl()
/openssl/test/recipes/30-test_evp_data/
H A Devppkey_rsa.txt88 Ctrl = digest:sha1
209 Ctrl = rsa_mgf1_md:sha1
266 Ctrl = rsa_mgf1_md:sha1
297 Ctrl = rsa_mgf1_md:sha1
303 Ctrl = rsa_mgf1_md:sha1
309 Ctrl = rsa_mgf1_md:sha1
315 Ctrl = rsa_mgf1_md:sha1
321 Ctrl = rsa_mgf1_md:sha1
327 Ctrl = rsa_mgf1_md:sha1
342 Ctrl = rsa_mgf1_md:sha1
[all …]
H A Devppkey_rsa_common.txt148 Ctrl = digest:sha1
155 Ctrl = digest:sha1
161 Ctrl = digest:sha1
167 Ctrl = digest:sha1
173 Ctrl = digest:sha1
179 Ctrl = digest:sha1
185 Ctrl = digest:sha1
191 Ctrl = digest:sha1
960 Ctrl = digest:sha1
968 Ctrl = digest:sha1
[all …]
H A Devppbe_pbkdf2.txt20 MD = sha1
41 MD = sha1
62 MD = sha1
83 MD = sha1
104 MD = sha1
155 MD = sha1
176 MD = sha1
H A Devpkdf_pbkdf2.txt22 Ctrl.digest = digest:sha1
49 Ctrl.digest = digest:sha1
76 Ctrl.digest = digest:sha1
101 Ctrl.digest = digest:sha1
124 Ctrl.digest = digest:sha1
189 Ctrl.digest = digest:sha1
240 Ctrl.digest = digest:sha1
253 Ctrl.digest = digest:sha1
265 Ctrl.digest = digest:sha1
275 Ctrl.digest = digest:sha1
H A Devpkdf_pbkdf1.txt37 Ctrl.digest = digest:sha1
61 Ctrl.digest = digest:sha1
85 Ctrl.digest = digest:sha1
109 Ctrl.digest = digest:sha1
135 Ctrl.digest = digest:sha1
/openssl/crypto/md5/
H A Dmd5_sha1.c24 return SHA1_Init(&mctx->sha1); in ossl_md5_sha1_init()
31 return SHA1_Update(&mctx->sha1, data, count); in ossl_md5_sha1_update()
38 return SHA1_Final(md + MD5_DIGEST_LENGTH, &mctx->sha1); in ossl_md5_sha1_final()
73 if (!SHA1_Update(&mctx->sha1, padtmp, 40)) in ossl_md5_sha1_ctrl()
76 if (!SHA1_Final(sha1tmp, &mctx->sha1)) in ossl_md5_sha1_ctrl()
96 if (!SHA1_Update(&mctx->sha1, padtmp, 40)) in ossl_md5_sha1_ctrl()
99 if (!SHA1_Update(&mctx->sha1, sha1tmp, sizeof(sha1tmp))) in ossl_md5_sha1_ctrl()
/openssl/crypto/objects/
H A Dobj_xref.txt8 sha1WithRSAEncryption sha1 rsaEncryption
31 sha1WithRSA sha1 rsa
34 dsaWithSHA1 sha1 dsa
36 dsaWithSHA1_2 sha1 dsa_2
38 ecdsa_with_SHA1 sha1 X9_62_id_ecPublicKey
60 dhSinglePass_stdDH_sha1kdf_scheme sha1 dh_std_kdf
66 dhSinglePass_cofactorDH_sha1kdf_scheme sha1 dh_cofactor_kdf
/openssl/crypto/ocsp/
H A Docsp_srv.c251 EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in OCSP_RESPID_set_by_key_ex() local
254 if (sha1 == NULL) in OCSP_RESPID_set_by_key_ex()
258 if (!X509_pubkey_digest(cert, sha1, md, NULL)) in OCSP_RESPID_set_by_key_ex()
275 EVP_MD_free(sha1); in OCSP_RESPID_set_by_key_ex()
289 EVP_MD *sha1 = NULL; in OCSP_RESPID_match_ex() local
295 sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in OCSP_RESPID_match_ex()
296 if (sha1 == NULL) in OCSP_RESPID_match_ex()
303 if (!X509_pubkey_digest(cert, sha1, md, NULL)) in OCSP_RESPID_match_ex()
318 EVP_MD_free(sha1); in OCSP_RESPID_match_ex()
/openssl/test/ssl-tests/
H A D13-fragmentation.cnf15 test-10 = 10-large-app-data-aes-sha1-multibuffer
19 test-14 = 14-small-app-data-aes-sha1-multibuffer
262 [10-large-app-data-aes-sha1-multibuffer]
263 ssl_conf = 10-large-app-data-aes-sha1-multibuffer-ssl
265 [10-large-app-data-aes-sha1-multibuffer-ssl]
269 [10-large-app-data-aes-sha1-multibuffer-server]
274 [10-large-app-data-aes-sha1-multibuffer-client]
362 [14-small-app-data-aes-sha1-multibuffer]
365 [14-small-app-data-aes-sha1-multibuffer-ssl]
369 [14-small-app-data-aes-sha1-multibuffer-server]
[all …]
H A D13-fragmentation.cnf.in113 name => "large-app-data-aes-sha1-multibuffer",
137 name => "large-app-data-aes-sha1-multibuffer-odd-fragment",
164 name => "small-app-data-aes-sha1-multibuffer",
/openssl/crypto/srp/
H A Dsrp_lib.c33 EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in srp_Calc_xy() local
35 if (sha1 == NULL) in srp_Calc_xy()
46 || !EVP_Digest(tmp, numN * 2, digest, NULL, sha1, NULL)) in srp_Calc_xy()
50 EVP_MD_free(sha1); in srp_Calc_xy()
151 EVP_MD *sha1 = NULL; in SRP_Calc_x_ex() local
162 sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in SRP_Calc_x_ex()
163 if (sha1 == NULL) in SRP_Calc_x_ex()
166 if (!EVP_DigestInit_ex(ctxt, sha1, NULL) in SRP_Calc_x_ex()
171 || !EVP_DigestInit_ex(ctxt, sha1, NULL)) in SRP_Calc_x_ex()
185 EVP_MD_free(sha1); in SRP_Calc_x_ex()
/openssl/demos/certs/
H A Dmkcerts.sh87 -config ca.cnf -md sha1
89 -config ca.cnf -md sha1
91 -config ca.cnf -md sha1
94 -md sha1 -crldays 1 -out crl1.pem
97 -keyfile root.pem -cert root.pem -config ca.cnf -md sha1
100 -md sha1 -crldays 1 -out crl2.pem
/openssl/ssl/record/methods/
H A Dssl3_cbc.c77 SHA_CTX *sha1 = ctx; in tls1_sha1_final_raw() local
79 l2n(sha1->h0, md_out); in tls1_sha1_final_raw()
80 l2n(sha1->h1, md_out); in tls1_sha1_final_raw()
81 l2n(sha1->h2, md_out); in tls1_sha1_final_raw()
82 l2n(sha1->h3, md_out); in tls1_sha1_final_raw()
83 l2n(sha1->h4, md_out); in tls1_sha1_final_raw()
/openssl/ssl/
H A Ds3_enc.c20 const EVP_MD *md5 = NULL, *sha1 = NULL; in ssl3_generate_key_block() local
34 sha1 = ssl_evp_md_fetch(sctx->libctx, NID_sha1, sctx->propq); in ssl3_generate_key_block()
37 if (md5 == NULL || sha1 == NULL || m5 == NULL || s1 == NULL) { in ssl3_generate_key_block()
51 if (!EVP_DigestInit_ex(s1, sha1, NULL) in ssl3_generate_key_block()
86 ssl_evp_md_free(sha1); in ssl3_generate_key_block()
400 if (EVP_DigestInit_ex(ctx, SSL_CONNECTION_GET_CTX(s)->sha1, NULL) <= 0 in ssl3_generate_master_secret()
/openssl/test/
H A Dca-and-certs.cnf11 default_md = sha1
73 default_md = sha1
H A DCAtsa.cnf54 default_md = sha1
138 digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
164 digests = sha1, sha256, sha384, sha512 # Acceptable message digests (mandatory)
/openssl/providers/
H A Dfips.module.sources24 crypto/aes/asm/aesni-sha1-x86_64.pl
331 crypto/sha/asm/sha1-586.pl
332 crypto/sha/asm/sha1-alpha.pl
334 crypto/sha/asm/sha1-armv8.pl
336 crypto/sha/asm/sha1-ia64.pl
338 crypto/sha/asm/sha1-mips.pl
339 crypto/sha/asm/sha1-parisc.pl
340 crypto/sha/asm/sha1-ppc.pl
341 crypto/sha/asm/sha1-s390x.pl
344 crypto/sha/asm/sha1-thumb.pl
[all …]
H A Dfips-sources.checksums24 c197aeb5178096bbdc43234f01ce4e44174ba13787b5b77790207a8f144d2550 crypto/aes/asm/aesni-sha1-x86_64.…
331 75d832db9bf0e98e7a5c522169060a6dd276c5118cfb297fc3f1111f55cd4007 crypto/sha/asm/sha1-586.pl
332 8d937771993f04407f5fdcca8ca8565f9f8a4d9c9a8f7bfd4e9f9121dd0450bb crypto/sha/asm/sha1-alpha.pl
334 083ab18f3753fe886b188328eae183f24a2ef5cfc929dc3a53c24410d91ca052 crypto/sha/asm/sha1-armv8.pl
336 4ab7c9153b085274a579b388ddff97a4ac7e11585e01811ca95b93a3ec786605 crypto/sha/asm/sha1-ia64.pl
338 c0fea5a0d32001263c8bcf7fc0757aa68c6a7377f20fef8d28708e1b81de5dec crypto/sha/asm/sha1-mips.pl
339 f11b75a54c5f42aa3a052de8091bfba47d7cac01920b2fe0ddcb637d4c9d0eb9 crypto/sha/asm/sha1-parisc.pl
340 d46ef3fc166271a83144d90985034e2c514bd1020b84ec0fe5427ad593bfeb74 crypto/sha/asm/sha1-ppc.pl
341 a48c7d9403fe99fbd4daec60e96eb22058da766ab9e606d084a63613962851a2 crypto/sha/asm/sha1-s390x.pl
344 04b73c902d36c28b5a7eab47cb85f743eb9c648ed5936f64f655524a1010a1b5 crypto/sha/asm/sha1-thumb.pl
[all …]
/openssl/providers/implementations/include/prov/
H A Dmd5_sha1.h26 SHA_CTX sha1; member
/openssl/providers/common/der/
H A Dder_dsa_sig.c33 MD_CASE(sha1); in ossl_DER_w_algorithmIdentifier_DSA_with_MD()
H A Dder_ec_sig.c34 MD_CASE(sha1); in ossl_DER_w_algorithmIdentifier_ECDSA_with_MD()
H A Dder_rsa_sig.c47 MD_with_RSA_CASE(sha1, precompiled); in ossl_DER_w_algorithmIdentifier_MDWithRSAEncryption()
/openssl/crypto/x509/
H A Dx509_cmp.c294 EVP_MD *sha1 = EVP_MD_fetch(libctx, "SHA1", propq); in X509_NAME_hash_ex() local
301 if (i2d_ret >= 0 && sha1 != NULL in X509_NAME_hash_ex()
302 && EVP_Digest(x->canon_enc, x->canon_enclen, md, NULL, sha1, NULL)) { in X509_NAME_hash_ex()
309 EVP_MD_free(sha1); in X509_NAME_hash_ex()

Completed in 56 milliseconds

123