Home
last modified time | relevance | path

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

/freebsd/contrib/wpa/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()
H A Dsha1-internal.c41 SHA1Update(&ctx, addr[i], len[i]); in sha1_vector()
248 void SHA1Update(SHA1_CTX* context, const void *_data, u32 len) in SHA1Update() function
288 SHA1Update(context, (unsigned char *) "\200", 1); in SHA1Final()
290 SHA1Update(context, (unsigned char *) "\0", 1); in SHA1Final()
292 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() in SHA1Final()
H A Dsha1_i.h19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
/freebsd/contrib/netbsd-tests/lib/libc/hash/
H A Dh_hash.c108 SHA1Update(&ctx, buf, len); in regress()
113 SHA1Update(&ctx, buf, len); in regress()
/freebsd/crypto/openssh/openbsd-compat/
H A Dsha1.c129 SHA1Update(SHA1_CTX *context, const u_int8_t *data, size_t len) in SHA1Update() function
146 DEF_WEAK(SHA1Update);
162 SHA1Update(context, (u_int8_t *)"\200", 1); in SHA1Pad()
164 SHA1Update(context, (u_int8_t *)"\0", 1); in SHA1Pad()
165 SHA1Update(context, finalcount, 8); /* Should cause a SHA1Transform() */ in SHA1Pad()
H A Dsha1.h29 void SHA1Update(SHA1_CTX *, const u_int8_t *, size_t)
/freebsd/sys/dev/qat/qat_api/qat_utils/src/
H A DQatUtilsCrypto.c27 SHA1Update(&ctx, in, SHA1_BLOCK_LEN); in qatUtilsHashSHA1()
99 SHA1Update(&ctx, in, len); in qatUtilsHashSHA1Full()
/freebsd/lib/libnetbsd/
H A Dsha1.h45 #define SHA1Update SHA1_Update macro
/freebsd/sys/crypto/
H A Dsha1.h69 #define SHA1Update(x, y, z) sha1_loop((x), (y), (z)) macro
/freebsd/sys/opencrypto/
H A Dxform_sha1.c95 SHA1Update(ctx, buf, len); in SHA1Update_int()
/freebsd/sys/netgraph/
H A Dng_mppc.c878 SHA1Update(&c, h, len); in ng_mppc_getkey()
879 SHA1Update(&c, pad1, sizeof(pad1)); in ng_mppc_getkey()
880 SHA1Update(&c, h2, len); in ng_mppc_getkey()
881 SHA1Update(&c, pad2, sizeof(pad2)); in ng_mppc_getkey()
/freebsd/sys/netinet/
H A Dip_carp.c409 SHA1Update(&sc->sc_sha1, sc->sc_pad, sizeof(sc->sc_pad)); in carp_hmac_prepare()
410 SHA1Update(&sc->sc_sha1, (void *)&version, sizeof(version)); in carp_hmac_prepare()
411 SHA1Update(&sc->sc_sha1, (void *)&type, sizeof(type)); in carp_hmac_prepare()
412 SHA1Update(&sc->sc_sha1, (void *)&vhid, sizeof(vhid)); in carp_hmac_prepare()
429 SHA1Update(&sc->sc_sha1, (void *)&cur, sizeof(cur)); in carp_hmac_prepare()
450 SHA1Update(&sc->sc_sha1, (void *)&cur6, sizeof(cur6)); in carp_hmac_prepare()
470 SHA1Update(&sha1ctx, (void *)counter, sizeof(sc->sc_counter)); in carp_hmac_generate()
475 SHA1Update(&sha1ctx, sc->sc_pad, sizeof(sc->sc_pad)); in carp_hmac_generate()
476 SHA1Update(&sha1ctx, md, 20); in carp_hmac_generate()
H A Dsctp_os_bsd.h450 #define SCTP_SHA1_UPDATE SHA1Update
/freebsd/crypto/openssh/
H A Ddigest-libc.c92 (md_update_fn *) SHA1Update,
/freebsd/contrib/libarchive/libarchive/
H A Darchive_digest.c549 SHA1Update(ctx, indata, insize); in __archive_sha1update()
/freebsd/sys/net/
H A Dif_ethersubr.c1507 SHA1Update(&ctx, buf, sz); in ether_gen_addr_byname()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc8571 INTERCEPTOR(void, SHA1Update, void *context, const u8 *data, unsigned len) {
8573 COMMON_INTERCEPTOR_ENTER(ctx, SHA1Update, context, data, len);
8578 REAL(SHA1Update)(context, data, len);
8645 COMMON_INTERCEPT_FUNCTION(SHA1Update); \