Searched refs:sha256_context (Results 1 – 4 of 4) sorted by relevance
/freebsd/crypto/libecc/include/libecc/hash/ |
H A D | sha256.h | 69 } sha256_context; typedef 71 ATTRIBUTE_WARN_UNUSED_RET int sha256_init(sha256_context *ctx); 72 ATTRIBUTE_WARN_UNUSED_RET int sha256_update(sha256_context *ctx, const u8 *input, u32 ilen); 73 ATTRIBUTE_WARN_UNUSED_RET int sha256_final(sha256_context *ctx, u8 output[SHA256_DIGEST_SIZE]);
|
H A D | hash_algs.h | 57 sha256_context sha256;
|
/freebsd/crypto/libecc/src/hash/ |
H A D | sha256.c | 22 ATTRIBUTE_WARN_UNUSED_RET static int sha256_process(sha256_context *ctx, in sha256_process() 70 int sha256_init(sha256_context *ctx) in sha256_init() 96 int sha256_update(sha256_context *ctx, const u8 *input, u32 ilen) in sha256_update() 145 int sha256_final(sha256_context *ctx, u8 output[SHA256_DIGEST_SIZE]) in sha256_final() 204 sha256_context ctx; in sha256_scattered() 224 sha256_context ctx; in sha256()
|
H A D | hash_algs.c | 167 return sha256_init((sha256_context*)hctx); in _sha256_init() 171 return sha256_update((sha256_context*)hctx, chunk, chunklen); in _sha256_update() 175 return sha256_final((sha256_context*)hctx, output); in _sha256_final()
|