Lines Matching refs:resbuf
67 /* Put result from CTX in first 20 bytes following RESBUF. The result
70 IMPORTANT: On some systems it is required that RESBUF is correctly
73 sha1_read_ctx (ctx, resbuf)
75 void *resbuf;
77 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A);
78 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B);
79 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C);
80 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D);
81 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E);
83 return resbuf;
87 prolog according to the standard and write the result to RESBUF.
89 IMPORTANT: On some systems it is required that RESBUF is correctly
92 sha1_finish_ctx (ctx, resbuf)
94 void *resbuf;
116 return sha1_read_ctx (ctx, resbuf);