Searched refs:resbuf (Results 1 – 2 of 2) sorted by relevance
219 static void * sha256_finish_ctx(struct sha256_ctx *ctx, void *resbuf) { in sha256_finish_ctx() argument244 ((uint32_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha256_finish_ctx()247 return resbuf; in sha256_finish_ctx()
246 static void * sha512_finish_ctx (struct sha512_ctx *ctx, void *resbuf) { in sha512_finish_ctx() argument271 ((uint64_t *) resbuf)[i] = SWAP(ctx->H[i]); in sha512_finish_ctx()274 return resbuf; in sha512_finish_ctx()
Completed in 16 milliseconds