Home
last modified time | relevance | path

Searched refs:SHA1Update (Results 1 – 25 of 714) sorted by relevance

12345678910>>...29

/dports/misc/rump/buildrump.sh-b914579/src/sys/netinet/
H A Dsctp_hashdriver.c95 SHA1Update(&tctx, key, key_len); in sctp_hash_digest()
134 SHA1Update(&context, k_ipad, 64); /* start with inner pad */ in sctp_hash_digest()
135 SHA1Update(&context, text, text_len); /* then text of datagram */ in sctp_hash_digest()
149 SHA1Update(&context, k_opad, 64); /* start with outer pad */ in sctp_hash_digest()
150 SHA1Update(&context, digest, 20); /* then results of 1st hash */ in sctp_hash_digest()
182 SHA1Update(&tctx, key, key_len); in sctp_hash_digest_m()
237 SHA1Update(&context, k_ipad, 64); /* start with inner pad */ in sctp_hash_digest_m()
241 SHA1Update(&context, mtod(m_at, char *)+offset, in sctp_hash_digest_m()
261 SHA1Update(&context, k_opad, 64); /* start with outer pad */ in sctp_hash_digest_m()
262 SHA1Update(&context, digest, 20); /* then results of 1st hash */ in sctp_hash_digest_m()
/dports/net-mgmt/cowpatty/cowpatty-4.8/
H A Dsha1.c35 SHA1Update(&context, key, key_len); in sha1_mac()
36 SHA1Update(&context, data, data_len); in sha1_mac()
37 SHA1Update(&context, key, key_len); in sha1_mac()
82 SHA1Update(&context, k_ipad, 64); /* start with inner pad */ in hmac_sha1_vector()
92 SHA1Update(&context, addr[i], len[i]); in hmac_sha1_vector()
98 SHA1Update(&context, k_opad, 64); /* start with outer pad */ in hmac_sha1_vector()
106 SHA1Update(&context, mac, 20); /* then results of 1st hash */ in hmac_sha1_vector()
122 SHA1Update(&context, addr[i], len[i]); in hmac_sha1_vector()
127 SHA1Update(&context, mac, 20); in hmac_sha1_vector()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/lib/crypto/
H A Dhmacsha1.c42 SHA1Update(&tctx, key, key_len); in hmac_sha1_init()
63 SHA1Update(&ctx->ctx, ctx->k_ipad, 64); in hmac_sha1_init()
71 SHA1Update(&ctx->ctx, data, data_len); /* then text of datagram */ in hmac_sha1_update()
84 SHA1Update(&ctx_o, ctx->k_opad, 64); in hmac_sha1_final()
85 SHA1Update(&ctx_o, digest, SHA1HashSize); in hmac_sha1_final()
/dports/net-mgmt/pftabled/pftabled-1.09/
H A Dhmac.c48 SHA1Update(&ctx, pad, sizeof(pad)); in hmac()
49 SHA1Update(&ctx, data, datalen); in hmac()
58 SHA1Update(&ctx, pad, sizeof(pad)); in hmac()
59 SHA1Update(&ctx, md, SHA1_DIGEST_LENGTH); in hmac()
/dports/net/rpki-client/rpki-client-portable-7.6/openbsd/src/lib/libutil/
H A Dpkcs5_pbkdf2.c44 SHA1Update(&ctx, key, key_len); in hmac_sha1()
57 SHA1Update(&ctx, k_pad, SHA1_BLOCK_LENGTH); in hmac_sha1()
58 SHA1Update(&ctx, text, text_len); in hmac_sha1()
67 SHA1Update(&ctx, k_pad, SHA1_BLOCK_LENGTH); in hmac_sha1()
68 SHA1Update(&ctx, digest, SHA1_DIGEST_LENGTH); in hmac_sha1()
/dports/devel/fossil/fossil-src-2.17/src/
H A Dsha1.c63 #define SHA1Update SHA1DCUpdate macro
74 # define SHA1Update SHA1_Update macro
215 static void SHA1Update( in SHA1Update() function
250 SHA1Update(context, (const unsigned char *)"\200", 1); in SHA1Final()
252 SHA1Update(context, (const unsigned char *)"\0", 1); in SHA1Final()
299 SHA1Update(&incrCtx, (unsigned char*)zText, nBytes); in sha1sum_step_text()
364 SHA1Update(&ctx, (unsigned char*)zBuf, (unsigned)n); in sha1sum_file()
408 SHA1Update(&ctx, (unsigned const char*)zIn, strlen(zIn)); in sha1sum()
456 SHA1Update(&ctx, (unsigned char*)"/", 1); in sha1_shared_secret()
457 SHA1Update(&ctx, (unsigned char*)zLogin, strlen(zLogin)); in sha1_shared_secret()
[all …]
/dports/www/flickcurl/flickcurl-1.26/src/
H A Dsha1.c117 static void SHA1Update(SHA1Context* context, const unsigned char* data, size_t len); /* JHB */
219 SHA1Update(SHA1Context* context, const unsigned char* data, size_t len) /* JHB */ in SHA1Update() function
254 SHA1Update(context, (const unsigned char*)"\200", 1); in SHA1Final()
256 SHA1Update(context, (const unsigned char*)"\0", 1); in SHA1Final()
258 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Final()
318 SHA1Update(&key_hash, (const unsigned char*)key, key_len); in flickcurl_hmac_sha1()
332 SHA1Update(&inner, kpad, HMAC_SHA1_BLOCKSIZE); in flickcurl_hmac_sha1()
333 SHA1Update(&inner, (const unsigned char*)data, data_len); in flickcurl_hmac_sha1()
343 SHA1Update(&outer, kpad, HMAC_SHA1_BLOCKSIZE); in flickcurl_hmac_sha1()
345 SHA1Update(&outer, inner.digest, SHA1_DIGEST_LENGTH); in flickcurl_hmac_sha1()
/dports/net/reaver/reaver-wps-fork-t6x-1.6.6/src/crypto/
H A Dcrypto_internal.c75 SHA1Update(&ctx->u.sha1, key, key_len); in crypto_hash_init()
88 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_init()
111 SHA1Update(&ctx->u.sha1, data, len); in crypto_hash_update()
185 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_finish()
186 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()
/dports/archivers/peazip/peazip-8.1.0.src/
H A Dfca_enc.pas99 SHA1Update(sctx, @Ctr, sizeof(Ctr));
100 SHA1Update(sctx, @JD, sizeof(JD));
101 SHA1Update(sctx, @msC, sizeof(msC));
102 SHA1Update(sctx, @randseed, sizeof(randseed));
H A Dt_fcs.pas97 SHA1Update(sctx, @Ctr, sizeof(Ctr));
98 SHA1Update(sctx, @JD, sizeof(JD));
99 SHA1Update(sctx, @msC, sizeof(msC));
100 SHA1Update(sctx, @randseed, sizeof(randseed));
H A Dt_fct.pas97 SHA1Update(sctx, @Ctr, sizeof(Ctr));
98 SHA1Update(sctx, @JD, sizeof(JD));
99 SHA1Update(sctx, @msC, sizeof(msC));
100 SHA1Update(sctx, @randseed, sizeof(randseed));
H A Dfca.pas105 SHA1Update(sctx, @Ctr, sizeof(Ctr));
106 SHA1Update(sctx, @JD, sizeof(JD));
107 SHA1Update(sctx, @msC, sizeof(msC));
108 SHA1Update(sctx, @randseed, sizeof(randseed));
/dports/benchmarks/nosqlbench/nosqlbench-0.0.20151214/third_party/tarantool-c/tnt/
H A Dtnt_auth.c36 SHA1Update(&ctx, (const unsigned char *) pass, plen); in tnt_scramble_prepare()
40 SHA1Update(&ctx, hash1, TNT_SCRAMBLE_SIZE); in tnt_scramble_prepare()
44 SHA1Update(&ctx, (const unsigned char *) salt, TNT_SCRAMBLE_SIZE); in tnt_scramble_prepare()
45 SHA1Update(&ctx, hash2, TNT_SCRAMBLE_SIZE); in tnt_scramble_prepare()
/dports/databases/tarantool-c/tarantool-c-0ab37e8/tnt/
H A Dtnt_auth.c36 SHA1Update(&ctx, (const unsigned char *) pass, plen); in tnt_scramble_prepare()
40 SHA1Update(&ctx, hash1, TNT_SCRAMBLE_SIZE); in tnt_scramble_prepare()
44 SHA1Update(&ctx, (const unsigned char *) salt, TNT_SCRAMBLE_SIZE); in tnt_scramble_prepare()
45 SHA1Update(&ctx, hash2, TNT_SCRAMBLE_SIZE); in tnt_scramble_prepare()
/dports/net/zsync/zsync-0.6.2/libzsync/
H A Dsha1test.c32 SHA1Update(&ctx,(uint8_t*)"a",1); in main()
33 SHA1Update(&ctx,(uint8_t*)"bc",2); in main()
/dports/devel/tcllib/tcllib-1.20/modules/sha1/
H A Dsha1.tcllib.man93 [cmd "SHA1Update"] as many times as required to add data to the hash. To
113 [call [cmd "::sha1::SHA1Update"] [arg "token"] [arg "data"]]
116 [emph {SHA1Update $token "abcd"}] is equivalent to calling
117 [emph {SHA1Update $token "ab"}] followed by
118 [emph {SHA1Update $token "cb"}]. See [sectref {EXAMPLES}].
154 % sha1::SHA1Update $tok "Tcl "
155 % sha1::SHA1Update $tok "does "
156 % sha1::SHA1Update $tok "SHA1"
/dports/devel/tcllibc/tcllib-1.20/modules/sha1/
H A Dsha1.tcllib.man93 [cmd "SHA1Update"] as many times as required to add data to the hash. To
113 [call [cmd "::sha1::SHA1Update"] [arg "token"] [arg "data"]]
116 [emph {SHA1Update $token "abcd"}] is equivalent to calling
117 [emph {SHA1Update $token "ab"}] followed by
118 [emph {SHA1Update $token "cb"}]. See [sectref {EXAMPLES}].
154 % sha1::SHA1Update $tok "Tcl "
155 % sha1::SHA1Update $tok "does "
156 % sha1::SHA1Update $tok "SHA1"
/dports/net/gnu-radius/radius-1.6.1/include/radius/
H A Dsha1.h15 #define SHA1Update grad_SHA1Update macro
26 void SHA1Update(SHA1_CTX *context, const unsigned char *data, unsigned int len);
/dports/databases/libdrizzle/libdrizzle-0.8/libdrizzle/
H A Dpack.c257 SHA1Update(&ctx, (uint8_t *)(con->password), strlen(con->password)); in _pack_scramble_hash()
262 SHA1Update(&ctx, hash_tmp1, SHA1_DIGEST_LENGTH); in _pack_scramble_hash()
267 SHA1Update(&ctx, con->scramble, SHA1_DIGEST_LENGTH); in _pack_scramble_hash()
268 SHA1Update(&ctx, hash_tmp2, SHA1_DIGEST_LENGTH); in _pack_scramble_hash()
/dports/japanese/mutt-devel/mutt-1.5.21/
H A Dsha1.h22 void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32_t len);
27 # define SHA1_Update SHA1Update
/dports/devel/bglibs/bglibs-2.04/include/
H A Dsha1.h25 void SHA1Update(SHA1_CTX* context, const unsigned char* data, uint32 len);
30 # define SHA1_Update SHA1Update
/dports/games/qwdtools/mvdsv-0.34/src/
H A Dsha1.c91 static void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int len) in SHA1Update() function
125 SHA1Update(context, (unsigned char *)"\200", 1); in SHA1Final()
128 SHA1Update(context, (unsigned char *)"\0", 1); in SHA1Final()
130 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Final()
162 SHA1Update(&context, (unsigned char*)string, strlen(string)); in SHA1()
176 SHA1Update(&context, (unsigned char *)string, strlen((char*)string)); in SHA1_Update()
/dports/games/mvdsv/mvdsv-0.34/src/
H A Dsha1.c91 static void SHA1Update(SHA1_CTX* context, unsigned char* data, unsigned int len) in SHA1Update() function
125 SHA1Update(context, (unsigned char *)"\200", 1); in SHA1Final()
128 SHA1Update(context, (unsigned char *)"\0", 1); in SHA1Final()
130 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Final()
162 SHA1Update(&context, (unsigned char*)string, strlen(string)); in SHA1()
176 SHA1Update(&context, (unsigned char *)string, strlen((char*)string)); in SHA1_Update()
/dports/net/ucarp/UCarp-4f339d4/src/
H A Dcarp.c95 SHA1Update(&sc->sc_sha1, sc->sc_pad, sizeof sc->sc_pad); in carp_hmac_prepare()
96 SHA1Update(&sc->sc_sha1, (void *) &version, sizeof version); in carp_hmac_prepare()
97 SHA1Update(&sc->sc_sha1, (void *) &type, sizeof type); in carp_hmac_prepare()
98 SHA1Update(&sc->sc_sha1, (void *) &vhid, sizeof vhid); in carp_hmac_prepare()
99 SHA1Update(&sc->sc_sha1, (void *) &vaddr.s_addr, sizeof vaddr.s_addr); in carp_hmac_prepare()
143 SHA1Update(&ctx, (void *) counter, sizeof sc->sc_counter); in carp_hmac_generate()
149 SHA1Update(&ctx, sc->sc_pad, sizeof sc->sc_pad); in carp_hmac_generate()
150 SHA1Update(&ctx, md, 20); in carp_hmac_generate()
507 SHA1Update(&ctx, in packethandler()
512 SHA1Update(&ctx, sc.sc_pad, sizeof(sc.sc_pad)); in packethandler()
[all …]
/dports/net/hostapd/hostapd-2.9/src/crypto/
H A Dcrypto_internal.c97 SHA1Update(&ctx->u.sha1, key, key_len); 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()
280 SHA1Update(&ctx->u.sha1, k_pad, sizeof(k_pad)); in crypto_hash_finish()
281 SHA1Update(&ctx->u.sha1, mac, 20); in crypto_hash_finish()

12345678910>>...29