Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/examples/hash/
H A Dsha1.h110 } sha1_context; typedef
113 ATTRIBUTE_WARN_UNUSED_RET int sha1_init(sha1_context *ctx);
115 ATTRIBUTE_WARN_UNUSED_RET int sha1_update(sha1_context *ctx, const u8 *input, u32 ilen);
118 ATTRIBUTE_WARN_UNUSED_RET int sha1_final(sha1_context *ctx, u8 output[SHA1_DIGEST_SIZE]);
H A Dsha1.c40 ATTRIBUTE_WARN_UNUSED_RET static inline int sha1_process(sha1_context *ctx, in sha1_process()
94 ATTRIBUTE_WARN_UNUSED_RET int sha1_init(sha1_context *ctx) in sha1_init()
119 ATTRIBUTE_WARN_UNUSED_RET int sha1_update(sha1_context *ctx, const u8 *input, u32 ilen) in sha1_update()
168 ATTRIBUTE_WARN_UNUSED_RET int sha1_final(sha1_context *ctx, u8 output[SHA1_DIGEST_SIZE]) in sha1_final()
231 sha1_context ctx; in sha1_scattered()
255 sha1_context ctx; in sha1()
H A Dhash.h92 sha1_context sha1ctx;