Home
last modified time | relevance | path

Searched refs:resbuf (Results 1 – 5 of 5) sorted by relevance

/toolchain/binutils/binutils-2.25/libiberty/
Dsha1.c76 sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf) in sha1_read_ctx() argument
78 ((sha1_uint32 *) resbuf)[0] = SWAP (ctx->A); in sha1_read_ctx()
79 ((sha1_uint32 *) resbuf)[1] = SWAP (ctx->B); in sha1_read_ctx()
80 ((sha1_uint32 *) resbuf)[2] = SWAP (ctx->C); in sha1_read_ctx()
81 ((sha1_uint32 *) resbuf)[3] = SWAP (ctx->D); in sha1_read_ctx()
82 ((sha1_uint32 *) resbuf)[4] = SWAP (ctx->E); in sha1_read_ctx()
84 return resbuf; in sha1_read_ctx()
93 sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf) in sha1_finish_ctx() argument
113 return sha1_read_ctx (ctx, resbuf); in sha1_finish_ctx()
Dmd5.c82 md5_read_ctx (const struct md5_ctx *ctx, void *resbuf) in md5_read_ctx() argument
91 memcpy (resbuf, buffer, 16); in md5_read_ctx()
93 return resbuf; in md5_read_ctx()
102 md5_finish_ctx (struct md5_ctx *ctx, void *resbuf) in md5_finish_ctx() argument
128 return md5_read_ctx (ctx, resbuf); in md5_finish_ctx()
DChangeLog688 * md5.c (md5_read_ctx): Handle mis-aligned resbuf pointer.
/toolchain/binutils/binutils-2.25/include/
Dsha1.h119 extern void *sha1_finish_ctx (struct sha1_ctx *ctx, void *resbuf);
128 extern void *sha1_read_ctx (const struct sha1_ctx *ctx, void *resbuf);
Dmd5.h127 extern void *md5_finish_ctx (struct md5_ctx *ctx, void *resbuf);
136 extern void *md5_read_ctx (const struct md5_ctx *ctx, void *resbuf);