Searched refs:SHA256_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
61 unsigned int partial = sctx->count % SHA256_BLOCK_SIZE; in sha256_base_do_update()65 if (unlikely((partial + len) >= SHA256_BLOCK_SIZE)) { in sha256_base_do_update()69 int p = SHA256_BLOCK_SIZE - partial; in sha256_base_do_update()78 blocks = len / SHA256_BLOCK_SIZE; in sha256_base_do_update()79 len %= SHA256_BLOCK_SIZE; in sha256_base_do_update()83 data += blocks * SHA256_BLOCK_SIZE; in sha256_base_do_update()96 const int bit_offset = SHA256_BLOCK_SIZE - sizeof(__be64); in sha256_base_do_finalize()99 unsigned int partial = sctx->count % SHA256_BLOCK_SIZE; in sha256_base_do_finalize()103 memset(sctx->buf + partial, 0x0, SHA256_BLOCK_SIZE - partial); in sha256_base_do_finalize()
18 #define SHA256_BLOCK_SIZE 64 macro87 u8 buf[SHA256_BLOCK_SIZE];
239 src += SHA256_BLOCK_SIZE; in sha256_generic_block_fn()275 .cra_blocksize = SHA256_BLOCK_SIZE,