| /src/external/gpl3/binutils/dist/libctf/ |
| ctf-sha1.h | 24 #include "sha1.h" 31 ctf_sha1_init (ctf_sha1_t *sha1) 33 sha1_init_ctx (sha1); 37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) 39 sha1_process_bytes (buf, len, sha1);
|
| ctf-sha1.c | 21 #include <ctf-sha1.h> 26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) 37 sha1_finish_ctx (sha1, align.digest);
|
| /src/external/gpl3/binutils.old/dist/libctf/ |
| ctf-sha1.h | 24 #include "sha1.h" 31 ctf_sha1_init (ctf_sha1_t *sha1) 33 sha1_init_ctx (sha1); 37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) 39 sha1_process_bytes (buf, len, sha1);
|
| ctf-sha1.c | 21 #include <ctf-sha1.h> 26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) 37 sha1_finish_ctx (sha1, align.digest);
|
| /src/external/gpl3/gdb/dist/libctf/ |
| ctf-sha1.h | 24 #include "sha1.h" 31 ctf_sha1_init (ctf_sha1_t *sha1) 33 sha1_init_ctx (sha1); 37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) 39 sha1_process_bytes (buf, len, sha1);
|
| ctf-sha1.c | 21 #include <ctf-sha1.h> 26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) 37 sha1_finish_ctx (sha1, align.digest);
|
| /src/external/gpl3/gdb.old/dist/libctf/ |
| ctf-sha1.h | 24 #include "sha1.h" 31 ctf_sha1_init (ctf_sha1_t *sha1) 33 sha1_init_ctx (sha1); 37 ctf_sha1_add (ctf_sha1_t *sha1, const void *buf, size_t len) 39 sha1_process_bytes (buf, len, sha1);
|
| ctf-sha1.c | 21 #include <ctf-sha1.h> 26 ctf_sha1_fini (ctf_sha1_t *sha1, char *buf) 37 sha1_finish_ctx (sha1, align.digest);
|
| /src/crypto/external/apache2/openssl/dist/crypto/sha/ |
| sha1dgst.c | 28 int ossl_sha1_ctrl(SHA_CTX *sha1, int cmd, int mslen, void *ms) 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)))
|
| /src/crypto/external/bsd/openssl/dist/crypto/sha/ |
| sha1dgst.c | 28 int ossl_sha1_ctrl(SHA_CTX *sha1, int cmd, int mslen, void *ms) 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)))
|
| /src/lib/libc/hash/sha1/ |
| sha1hl.c | 14 #define HASH_ALGORITHM SHA1 15 #define HASH_INCLUDE <sha1.h>
|
| /src/tests/lib/libc/hash/ |
| t_hash.sh | 49 atf_test_case sha1 52 atf_set "descr" "Checks SHA1 functions" 66 atf_add_test_case sha1
|
| /src/external/bsd/unbound/dist/testdata/10-unbound-anchor.tdir/ |
| 10-unbound-anchor.conf | 4 fake-sha1: yes
|
| /src/crypto/external/apache2/openssl/dist/crypto/md5/ |
| md5_sha1.c | 24 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)))
|
| /src/crypto/external/bsd/openssl/dist/crypto/md5/ |
| md5_sha1.c | 24 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)))
|
| /src/lib/libcrypt/ |
| hmac_sha1.c | 7 #include <sha1.h> /* XXX */ 10 #define HMAC_HASH SHA1
|
| /src/external/bsd/ntp/dist/sntp/tests/ |
| crypto.c | 75 struct key sha1; local 76 sha1.next = NULL; 77 sha1.key_id = 20; 78 sha1.key_len = 7; 79 memcpy(&sha1.key_seq, "sha1seq", sha1.key_len); 80 strlcpy(sha1.typen, "SHA1", sizeof(sha1.typen)); 81 sha1.typei = keytype_from_text(sha1.typen, NULL) 178 struct key sha1; local [all...] |
| /src/external/bsd/wpa/bin/wpa_passphrase/ |
| Makefile | 22 SRCS+= tls_none.c md5-internal.c sha1-internal.c 23 SRCS+= sha1-pbkdf2.c sha1.c md5.c
|
| /src/external/bsd/wpa/dist/src/crypto/ |
| Makefile | 33 sha1.o \ 34 sha1-internal.o \ 35 sha1-pbkdf2.o \ 36 sha1-prf.o \ 37 sha1-tlsprf.o \ 38 sha1-tprf.o \
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/evp/ |
| m_md5_sha1.c | 23 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)))
|
| /src/crypto/external/apache2/openssl/dist/test/recipes/30-test_evp_data/ |
| evppkey_rsa.txt | 17 # Any Tests that have keys < 2048 bits OR sign with SHA1 are in this file. 70 Ctrl = digest:SHA1 77 Ctrl = digest:SHA1 85 Ctrl = digest:SHA1 92 Ctrl = digest:sha1 99 Ctrl = digest:MD5-SHA1 105 Ctrl = digest:MD5-SHA1 112 Ctrl = digest:MD5-SHA1 120 Ctrl = digest:MD5-SHA1 127 Ctrl = digest:MD5-SHA1 [all...] |
| /src/crypto/external/bsd/openssl/dist/test/recipes/30-test_evp_data/ |
| evppkey_rsa.txt | 17 # Any Tests that have keys < 2048 bits OR sign with SHA1 are in this file. 69 Ctrl = digest:SHA1 75 Ctrl = digest:SHA1 82 Ctrl = digest:SHA1 88 Ctrl = digest:sha1 94 Ctrl = digest:MD5-SHA1 99 Ctrl = digest:MD5-SHA1 105 Ctrl = digest:MD5-SHA1 112 Ctrl = digest:MD5-SHA1 118 Ctrl = digest:MD5-SHA1 [all...] |
| /src/tests/lib/libskey/ |
| t_algorithms.c | 98 ATF_TC(sha1); variable 99 ATF_TC_HEAD(sha1, tc) 101 atf_tc_set_md_var(tc, "descr", "Checks SHA1 algorithm"); 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);
|
| /src/usr.bin/cksum/ |
| sha1.c | 1 /* $NetBSD: sha1.c,v 1.1 2001/03/20 18:46:27 atatat Exp $ */ 3 #include <sha1.h> /* this hash type */ 6 #define HASHTYPE "SHA1"
|
| /src/external/mpl/bind/dist/contrib/scripts/ |
| catzhash.py | 34 print(hashlib.sha1(NAME).hexdigest())
|