Home
last modified time | relevance | path

Searched refs:SHA1_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance

/include/crypto/
Dsha1_base.h41 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; in sha1_base_do_update()
45 if (unlikely((partial + len) >= SHA1_BLOCK_SIZE)) { in sha1_base_do_update()
49 int p = SHA1_BLOCK_SIZE - partial; in sha1_base_do_update()
58 blocks = len / SHA1_BLOCK_SIZE; in sha1_base_do_update()
59 len %= SHA1_BLOCK_SIZE; in sha1_base_do_update()
63 data += blocks * SHA1_BLOCK_SIZE; in sha1_base_do_update()
76 const int bit_offset = SHA1_BLOCK_SIZE - sizeof(__be64); in sha1_base_do_finalize()
79 unsigned int partial = sctx->count % SHA1_BLOCK_SIZE; in sha1_base_do_finalize()
83 memset(sctx->buffer + partial, 0x0, SHA1_BLOCK_SIZE - partial); in sha1_base_do_finalize()
Dsha1.h12 #define SHA1_BLOCK_SIZE 64 macro
25 u8 buffer[SHA1_BLOCK_SIZE];
/include/linux/
Dfilter.h820 sizeof(__be64) + 1, SHA1_BLOCK_SIZE); in bpf_prog_tag_scratch_size()