Lines Matching refs:SHA1_BLOCK_SIZE
93 leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1; in padlock_sha1_finup()
94 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup()
107 state.count &= ~(SHA1_BLOCK_SIZE - 1); in padlock_sha1_finup()
168 state.count &= ~(SHA1_BLOCK_SIZE - 1); in padlock_sha256_finup()
237 .cra_blocksize = SHA1_BLOCK_SIZE,
296 if ((partial + len) >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano()
302 done + SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
307 done += SHA1_BLOCK_SIZE; in padlock_sha1_update_nano()
312 if (len - done >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano()
316 "c"((unsigned long)((len - done) / SHA1_BLOCK_SIZE))); in padlock_sha1_update_nano()
317 done += ((len - done) - (len - done) % SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
469 .cra_blocksize = SHA1_BLOCK_SIZE,