Home
last modified time | relevance | path

Searched refs:sha1_ctxt (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/crypto/
H A Dsha1.h42 struct sha1_ctxt { struct
57 typedef struct sha1_ctxt SHA1_CTX; argument
62 extern void sha1_init(struct sha1_ctxt *);
63 extern void sha1_pad(struct sha1_ctxt *);
64 extern void sha1_loop(struct sha1_ctxt *, const uint8_t *, size_t);
65 extern void sha1_result(struct sha1_ctxt *, char[__min_size(SHA1_RESULTLEN)]);
H A Dsha1.c88 static void sha1_step(struct sha1_ctxt *);
91 sha1_step(struct sha1_ctxt *ctxt) in sha1_step()
98 struct sha1_ctxt tctxt; in sha1_step()
175 sha1_init(struct sha1_ctxt *ctxt) in sha1_init()
177 bzero(ctxt, sizeof(struct sha1_ctxt)); in sha1_init()
186 sha1_pad(struct sha1_ctxt *ctxt) in sha1_pad()
220 sha1_loop(struct sha1_ctxt *ctxt, const uint8_t *input, size_t len) in sha1_loop()
245 sha1_result(struct sha1_ctxt *ctxt, char digest0[static SHA1_RESULTLEN]) in sha1_result()
/freebsd/sys/crypto/aesni/
H A Daesni.c369 struct sha1_ctxt *ctx = vctx; in intel_sha1_update()
776 struct sha1_ctxt sha1 __aligned(16); in aesni_cipher_mac()