このページを編集する際は,編集に関する方針に従ってください.[]
概要[]
- gcc-4.1.0/libiberty/md5.cにて定義
- MD バッファの初期化
引数[]
- struct md5_ctx *ctx
実装[]
62: /* Initialize structure containing state of computation.
63: (RFC 1321, 3.3: Step 3) */
64: void
65: md5_init_ctx (struct md5_ctx *ctx)
66: {
67: ctx->A = (md5_uint32) 0x67452301;
68: ctx->B = (md5_uint32) 0xefcdab89;
69: ctx->C = (md5_uint32) 0x98badcfe;
70: ctx->D = (md5_uint32) 0x10325476;
71:
72: ctx->total[0] = ctx->total[1] = 0;
73: ctx->buflen = 0;
74: }