Searched refs:resbuf (Results 1 – 2 of 2) sorted by relevance
215 static void * sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf) { in sha256_finish_ctx() argument240 ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha256_finish_ctx()243 return resbuf; in sha256_finish_ctx()
242 static void * sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf) { in sha512_finish_ctx() argument267 ((uint64_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha512_finish_ctx()270 return resbuf; in sha512_finish_ctx()
Completed in 14 milliseconds