Lines Matching defs:buffer
37 uint64_t count; ///< number of bytes in buffer
38 uint8_t buffer[64]; ///< 512-bit buffer of input values used in hash updating
41 void (*transform)(uint32_t *state, const uint8_t buffer[64]);
54 #define blk0(i) (block[i] = AV_RB32(buffer + 4 * (i)))
65 static void sha1_transform(uint32_t state[5], const uint8_t buffer[64])
79 t = AV_RB32(buffer + 4 * i);
203 static void sha256_transform(uint32_t *state, const uint8_t buffer[64])
324 ctx->buffer[j++] = data[i];
326 ctx->transform(ctx->state, ctx->buffer);
333 memcpy(&ctx->buffer[j], data, (i = 64 - j));
334 ctx->transform(ctx->state, ctx->buffer);
343 memcpy(&ctx->buffer[j], data, len);