Home | History | Annotate | Download | only in libiberty

Lines Matching refs:resbuf

74 /* Put result from CTX in first 20 bytes following RESBUF.  The result
77 IMPORTANT: On some systems it is required that RESBUF is correctly
80 sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf)
82 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A);
83 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B);
84 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C);
85 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D);
86 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E);
88 return resbuf;
92 prolog according to the standard and write the result to RESBUF.
94 IMPORTANT: On some systems it is required that RESBUF is correctly
97 sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf)
117 return sha1_read_ctx (ctx, resbuf);