Home
last modified time | relevance | path

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

12345

/freebsd-11-stable/contrib/ntp/sntp/tests/
HDcrypto.c64 struct key sha1; in test_MakeSHA1Mac() local
65 sha1.next = NULL; in test_MakeSHA1Mac()
66 sha1.key_id = 20; in test_MakeSHA1Mac()
67 sha1.key_len = 7; in test_MakeSHA1Mac()
68 memcpy(&sha1.key_seq, "sha1seq", sha1.key_len); in test_MakeSHA1Mac()
69 strlcpy(sha1.typen, "SHA1", sizeof(sha1.typen)); in test_MakeSHA1Mac()
70 sha1.typei = keytype_from_text(sha1.typen, NULL); in test_MakeSHA1Mac()
73 make_mac(PKT_DATA, PKT_LEN, SHA1_LENGTH, &sha1, actual)); in test_MakeSHA1Mac()
151 struct key sha1; in test_VerifySHA1() local
152 sha1.next = NULL; in test_VerifySHA1()
[all …]
/freebsd-11-stable/crypto/openssl/crypto/sha/
HDMakefile45 sha1-586.s: asm/sha1-586.pl ../perlasm/x86asm.pl
46 $(PERL) asm/sha1-586.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
52 sha1-ia64.s: asm/sha1-ia64.pl
53 (cd asm; $(PERL) sha1-ia64.pl ../$@ $(CFLAGS))
62 sha1-alpha.s: asm/sha1-alpha.pl
64 $(PERL) asm/sha1-alpha.pl > $$preproc && \
68 sha1-x86_64.s: asm/sha1-x86_64.pl; $(PERL) asm/sha1-x86_64.pl $(PERLASM_SCHEME) > $@
69 sha1-mb-x86_64.s: asm/sha1-mb-x86_64.pl; $(PERL) asm/sha1-mb-x86_64.pl $(PERLASM_SCHEME) > $@
73 sha1-sparcv9.S: asm/sha1-sparcv9.pl; $(PERL) asm/sha1-sparcv9.pl $@ $(CFLAGS)
77 sha1-ppc.s: asm/sha1-ppc.pl; $(PERL) asm/sha1-ppc.pl $(PERLASM_SCHEME) $@
[all …]
/freebsd-11-stable/contrib/wpa/src/crypto/
HDcrypto_internal.c23 struct SHA1Context sha1; member
58 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
96 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
97 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
98 SHA1Final(tk, &ctx->u.sha1); in crypto_hash_init()
110 SHA1Init(&ctx->u.sha1); in crypto_hash_init()
111 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
155 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
209 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
272 SHA1Final(mac, &ctx->u.sha1); in crypto_hash_finish()
[all …]
/freebsd-11-stable/crypto/openssl/crypto/objects/
HDobj_xref.txt8 sha1WithRSAEncryption sha1 rsaEncryption
25 sha1WithRSA sha1 rsa
28 dsaWithSHA1 sha1 dsa
30 dsaWithSHA1_2 sha1 dsa_2
32 ecdsa_with_SHA1 sha1 X9_62_id_ecPublicKey
48 dhSinglePass_stdDH_sha1kdf_scheme sha1 dh_std_kdf
54 dhSinglePass_cofactorDH_sha1kdf_scheme sha1 dh_cofactor_kdf
/freebsd-11-stable/usr.sbin/wpa/
HDMakefile.crypto4 SRCS+= crypto_openssl.c random.c sha1-prf.c sha256-prf.c sha256-tlsprf.c \
115 SRCS+= sha1-internal.c sha1-pbkdf2.c sha1.c sha1-prf.c
127 SRCS+= sha1-tlsprf.c
/freebsd-11-stable/contrib/netbsd-tests/lib/libskey/
HDt_algorithms.c98 ATF_TC(sha1);
99 ATF_TC_HEAD(sha1, tc) in ATF_TC_HEAD() argument
103 ATF_TC_BODY(sha1, tc) in ATF_TC_BODY() argument
118 ATF_TP_ADD_TC(tp, sha1); in ATF_TP_ADD_TCS()
/freebsd-11-stable/usr.sbin/wpa/wpa_passphrase/
HDMakefile8 SRCS= common.c md5-internal.c md5.c os_unix.c sha1-internal.c sha1-pbkdf2.c \
9 sha1.c wpa_passphrase.c
/freebsd-11-stable/crypto/openssh/regress/
HDputty-kex.sh11 for k in dh-gex-sha1 dh-group1-sha1 dh-group14-sha1 ; do
/freebsd-11-stable/sbin/setkey/
HDsample.cf38 # is "kamekame", and authentication algorithm is hmac-sha1 whose key
54 -A hmac-sha1 "this is the test key" ;
58 -A hmac-sha1 "this is the test key" ;
104 # is hmac-sha1. Authentication algorithm for AH is hmac-md5.
122 -A hmac-sha1 "this is the test key" ;
129 -A hmac-sha1 "this is the test key" ;
136 # for ESP is hmac-sha1.
157 -A hmac-sha1 "this is the test key" ;
164 -A hmac-sha1 "this is the test key" ;
196 add ::1 ::1 esp 10006 -m tunnel -E null -A hmac-sha1 "12341234123412341234" ;
[all …]
/freebsd-11-stable/secure/lib/libcrypto/
HDMakefile.asm25 SRCS+= sha1-armv8.pl sha512-armv8.pl
60 SRCS= aes-x86_64.pl aesni-mb-x86_64.pl aesni-sha1-x86_64.pl \
84 SRCS+= sha1-mb-x86_64.pl sha1-x86_64.pl sha256-mb-x86_64.pl
138 SRCS+= sha1-armv4-large.pl sha256-armv4.pl sha512-armv4.pl
207 SRCS+= sha1-586.pl sha256-586.pl sha512-586.pl
/freebsd-11-stable/usr.sbin/certctl/
HDcertctl.sh81 certhash=$( openssl x509 -sha1 -in "$1" -noout -fingerprint )
83 blisthash=$( openssl x509 -sha1 -in "$blistfile" -noout -fingerprint )
210 certhash=$( openssl x509 -sha1 -in "$BFILE" -noout -fingerprint )
212 blisthash=$( openssl x509 -sha1 -in "$BLISTEDFILE" -noout -fingerprint )
/freebsd-11-stable/crypto/openssh/regress/misc/kexfuzz/
HDREADME5 ./kexfuzz -K diffie-hellman-group1-sha1 -k host_ed25519_key -c
12 ./kexfuzz -K diffie-hellman-group1-sha1 -k host_ed25519_key \
22 ./kexfuzz -K diffie-hellman-group1-sha1 -k host_ed25519_key \
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/hash/
HDt_hash.sh49 atf_test_case sha1
66 atf_add_test_case sha1
/freebsd-11-stable/contrib/ldns/
HDMakefile.in69 …lo parse.lo radix.lo rbtree.lo rdata.lo resolver.lo rr.lo rr_functions.lo sha1.lo sha2.lo str2host…
74 … packet.h parse.h radix.h rbtree.h rdata.h resolver.h rr_functions.h rr.h sha1.h sha2.h str2host.h…
508 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
516 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
524 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
532 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
540 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
548 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
556 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
565 $(srcdir)/ldns/sha1.h $(srcdir)/ldns/sha2.h
[all …]
/freebsd-11-stable/usr.bin/opiekey/
HDMakefile17 LINKS+= ${BINDIR}/opiekey ${BINDIR}/otp-sha1
19 MLINKS= opiekey.1 otp-md4.1 opiekey.1 otp-md5.1 opiekey.1 otp-sha1.1
/freebsd-11-stable/sbin/md5/
HDMakefile8 ${BINDIR}/md5 ${BINDIR}/sha1 \
18 md5.1 sha1.1 \
/freebsd-11-stable/crypto/openssl/ssl/
HDs3_cbc.c327 SHA_CTX *sha1 = ctx; in tls1_sha1_final_raw() local
328 l2n(sha1->h0, md_out); in tls1_sha1_final_raw()
329 l2n(sha1->h1, md_out); in tls1_sha1_final_raw()
330 l2n(sha1->h2, md_out); in tls1_sha1_final_raw()
331 l2n(sha1->h3, md_out); in tls1_sha1_final_raw()
332 l2n(sha1->h4, md_out); in tls1_sha1_final_raw()
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
HDnmake.mak65 $(OBJDIR)\sha1.obj \
66 $(OBJDIR)\sha1-tlsprf.obj \
67 $(OBJDIR)\sha1-pbkdf2.obj \
162 $(OBJDIR)\sha1.obj \
165 $(OBJDIR)\sha1-pbkdf2.obj \
/freebsd-11-stable/crypto/openssl/util/
HDx86asm.sh33 (cd crypto/sha/asm; perl sha1-586.pl cpp > sx86unix.cpp)
34 (cd crypto/sha/asm; perl sha1-586.pl win32 > s1-win32.asm)
/freebsd-11-stable/lib/libmd/
HDMakefile68 sha0.ref sha0hl.c sha1.ref sha1hl.c shadriver \
219 sha1.ref:
347 test: md4.ref md5.ref sha0.ref rmd160.ref sha1.ref sha256.ref sha384.ref \
366 ./shadriver | cmp sha1.ref -
/freebsd-11-stable/contrib/ntp/lib/isc/tests/
HDhash_test.c96 isc_sha1_t sha1; in ATF_TC_BODY() local
205 isc_sha1_init(&sha1); in ATF_TC_BODY()
207 isc_sha1_update(&sha1, in ATF_TC_BODY()
211 isc_sha1_final(&sha1, digest); in ATF_TC_BODY()
/freebsd-11-stable/contrib/netbsd-tests/dev/cgd/
HDparamsfile5 keygen pkcs5_pbkdf2/sha1 {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
HDraw_sha1_ostream.h33 StringRef sha1() { in sha1() function
/freebsd-11-stable/sys/modules/carp/
HDMakefile7 SRCS= ip_carp.c sha1.c
/freebsd-11-stable/sys/modules/netgraph/mppc/
HDMakefile17 SRCS+= sha1.c

12345