Searched refs:sha1 (Results 1 - 25 of 452) sorted by relevance

1234567891011>>

/netbsd-current/lib/libc/hash/sha1/
H A DMakefile.inc4 .PATH: ${.CURDIR}/hash/sha1
6 SRCS+= sha1.c sha1hl.c
8 MAN+= sha1.3
10 MLINKS+=sha1.3 SHA1Init.3 sha1.3 SHA1Update.3 sha1.3 SHA1Final.3
11 MLINKS+=sha1.3 SHA1End.3 sha1.3 SHA1File.3 sha1.3 SHA1Data.3
12 MLINKS+=sha1
[all...]
H A Dsha1hl.c15 #define HASH_INCLUDE <sha1.h>
/netbsd-current/external/gpl3/binutils/dist/libctf/
H A Dctf-sha1.h24 #include "sha1.h"
31 ctf_sha1_init (ctf_sha1_t *sha1) argument
33 sha1_init_ctx (sha1);
37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) argument
39 sha1_process_bytes (buf, len, sha1);
H A Dctf-sha1.c21 #include <ctf-sha1.h>
26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) argument
37 sha1_finish_ctx (sha1, align.digest);
/netbsd-current/external/gpl3/gdb.old/dist/libctf/
H A Dctf-sha1.h24 #include "sha1.h"
31 ctf_sha1_init (ctf_sha1_t *sha1) argument
33 sha1_init_ctx (sha1);
37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) argument
39 sha1_process_bytes (buf, len, sha1);
H A Dctf-sha1.c21 #include <ctf-sha1.h>
26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) argument
37 sha1_finish_ctx (sha1, align.digest);
/netbsd-current/external/gpl3/gdb/dist/libctf/
H A Dctf-sha1.h24 #include "sha1.h"
31 ctf_sha1_init (ctf_sha1_t *sha1) argument
33 sha1_init_ctx (sha1);
37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) argument
39 sha1_process_bytes (buf, len, sha1);
H A Dctf-sha1.c21 #include <ctf-sha1.h>
26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) argument
37 sha1_finish_ctx (sha1, align.digest);
/netbsd-current/external/gpl3/binutils.old/dist/libctf/
H A Dctf-sha1.h24 #include "sha1.h"
31 ctf_sha1_init (ctf_sha1_t *sha1) argument
33 sha1_init_ctx (sha1);
37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) argument
39 sha1_process_bytes (buf, len, sha1);
H A Dctf-sha1.c21 #include <ctf-sha1.h>
26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) argument
37 sha1_finish_ctx (sha1, align.digest);
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/sha/
H A Dsha1dgst.c28 int ossl_sha1_ctrl(SHA_CTX *sha1, int cmd, int mslen, void *ms) argument
36 if (sha1 == NULL)
47 if (SHA1_Update(sha1, ms, mslen) <= 0)
53 if (!SHA1_Update(sha1, padtmp, sizeof(padtmp)))
56 if (!SHA1_Final(sha1tmp, sha1))
61 if (!SHA1_Init(sha1))
64 if (SHA1_Update(sha1, ms, mslen) <= 0)
70 if (!SHA1_Update(sha1, padtmp, sizeof(padtmp)))
73 if (!SHA1_Update(sha1, sha1tmp, sizeof(sha1tmp)))
/netbsd-current/tests/lib/libc/hash/
H A Dt_hash.sh49 atf_test_case sha1
66 atf_add_test_case sha1
/netbsd-current/external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/
H A D10-unbound-anchor.conf4 fake-sha1: yes
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/md5/
H A Dmd5_sha1.c24 return SHA1_Init(&mctx->sha1);
31 return SHA1_Update(&mctx->sha1, data, count);
38 return SHA1_Final(md + MD5_DIGEST_LENGTH, &mctx->sha1);
73 if (!SHA1_Update(&mctx->sha1, padtmp, 40))
76 if (!SHA1_Final(sha1tmp, &mctx->sha1))
96 if (!SHA1_Update(&mctx->sha1, padtmp, 40))
99 if (!SHA1_Update(&mctx->sha1, sha1tmp, sizeof(sha1tmp)))
/netbsd-current/lib/libcrypt/
H A Dhmac_sha1.c7 #include <sha1.h> /* XXX */
/netbsd-current/external/mpl/bind/dist/contrib/scripts/
H A Dcatzhash.py34 print(hashlib.sha1(NAME).hexdigest())
/netbsd-current/external/bsd/ntp/dist/sntp/tests/
H A Dcrypto.c66 struct key sha1; local
67 sha1.next = NULL;
68 sha1.key_id = 20;
69 sha1.key_len = 7;
70 memcpy(&sha1.key_seq, "sha1seq", sha1.key_len);
71 strlcpy(sha1.typen, "SHA1", sizeof(sha1.typen));
72 sha1.typei = keytype_from_text(sha1
153 struct key sha1; local
[all...]
/netbsd-current/external/bsd/wpa/bin/wpa_passphrase/
H A DMakefile22 SRCS+= tls_none.c md5-internal.c sha1-internal.c
23 SRCS+= sha1-pbkdf2.c sha1.c md5.c
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/evp/
H A Dm_md5_sha1.c23 SHA_CTX sha1; member in struct:md5_sha1_ctx
31 return SHA1_Init(&mctx->sha1);
39 return SHA1_Update(&mctx->sha1, data, count);
47 return SHA1_Final(md + MD5_DIGEST_LENGTH, &mctx->sha1);
85 if (!SHA1_Update(&mctx->sha1, padtmp, 40))
88 if (!SHA1_Final(sha1tmp, &mctx->sha1))
108 if (!SHA1_Update(&mctx->sha1, padtmp, 40))
111 if (!SHA1_Update(&mctx->sha1, sha1tmp, sizeof(sha1tmp)))
H A Dm_sha1.c40 SHA_CTX *sha1; local
48 sha1 = EVP_MD_CTX_md_data(ctx);
58 if (SHA1_Update(sha1, ms, mslen) <= 0)
64 if (!SHA1_Update(sha1, padtmp, sizeof(padtmp)))
67 if (!SHA1_Final(sha1tmp, sha1))
72 if (!SHA1_Init(sha1))
75 if (SHA1_Update(sha1, ms, mslen) <= 0)
81 if (!SHA1_Update(sha1, padtmp, sizeof(padtmp)))
84 if (!SHA1_Update(sha1, sha1tmp, sizeof(sha1tmp)))
/netbsd-current/tests/lib/libskey/
H A Dt_algorithms.c98 ATF_TC(sha1); variable
99 ATF_TC_HEAD(sha1, tc)
103 ATF_TC_BODY(sha1, tc)
105 h_check("This is a test.", "TeSt", "sha1","BB9E6AE1979D8FF4",
107 h_check("AbCdEfGhIjK", "alpha1", "sha1","AD85F658EBE383C9",
109 h_check("OTP's are good", "correct", "sha1","D51F3E99BF8E6F0B",
118 ATF_TP_ADD_TC(tp, sha1);
/netbsd-current/usr.bin/cksum/
H A Dsha1.c3 #include <sha1.h> /* this hash type */
/netbsd-current/external/bsd/ntp/dist/lib/isc/include/isc/
H A Diterated_hash.h25 #include <isc/sha1.h>
/netbsd-current/external/bsd/wpa/dist/src/crypto/
H A DMakefile44 sha1.o \
45 sha1-internal.o \
46 sha1-pbkdf2.o \
47 sha1-prf.o \
48 sha1-tlsprf.o \
49 sha1-tprf.o \
/netbsd-current/external/bsd/unbound/dist/testdata/fwd_edns_bksec.tdir/
H A Dfwd_edns_bksec.conf16 fake-sha1: yes

Completed in 266 milliseconds

1234567891011>>