Searched refs:SKEIN_512_BLOCK_BYTES (Results 1 – 4 of 4) sorted by relevance
374 skein_assert_ret(ctx->h.b_cnt <= SKEIN_512_BLOCK_BYTES, SKEIN_FAIL); in skein_512_update()377 if (msg_byte_cnt + ctx->h.b_cnt > SKEIN_512_BLOCK_BYTES) { in skein_512_update()381 n = SKEIN_512_BLOCK_BYTES - ctx->h.b_cnt; in skein_512_update()390 skein_assert(ctx->h.b_cnt == SKEIN_512_BLOCK_BYTES); in skein_512_update()392 SKEIN_512_BLOCK_BYTES); in skein_512_update()399 if (msg_byte_cnt > SKEIN_512_BLOCK_BYTES) { in skein_512_update()401 n = (msg_byte_cnt - 1) / SKEIN_512_BLOCK_BYTES; in skein_512_update()403 SKEIN_512_BLOCK_BYTES); in skein_512_update()404 msg_byte_cnt -= n * SKEIN_512_BLOCK_BYTES; in skein_512_update()405 msg += n * SKEIN_512_BLOCK_BYTES; in skein_512_update()[all …]
60 #define SKEIN_512_BLOCK_BYTES (8 * SKEIN_512_STATE_WORDS) macro78 u8 b[SKEIN_512_BLOCK_BYTES]; /* partial block buf (8-byte aligned) */
159 .cra_blocksize = SKEIN_512_BLOCK_BYTES,
545 blk_ptr += SKEIN_512_BLOCK_BYTES; in skein_512_process_block()