Lines Matching refs:SHA1_BLOCK_SIZE
94 leftover = ((state.count - 1) & (SHA1_BLOCK_SIZE - 1)) + 1; in padlock_sha1_finup()
95 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup()
108 state.count &= ~(SHA1_BLOCK_SIZE - 1); in padlock_sha1_finup()
169 state.count &= ~(SHA1_BLOCK_SIZE - 1); in padlock_sha256_finup()
238 .cra_blocksize = SHA1_BLOCK_SIZE,
297 if ((partial + len) >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano()
303 done + SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
308 done += SHA1_BLOCK_SIZE; in padlock_sha1_update_nano()
313 if (len - done >= SHA1_BLOCK_SIZE) { in padlock_sha1_update_nano()
317 "c"((unsigned long)((len - done) / SHA1_BLOCK_SIZE))); in padlock_sha1_update_nano()
318 done += ((len - done) - (len - done) % SHA1_BLOCK_SIZE); in padlock_sha1_update_nano()
470 .cra_blocksize = SHA1_BLOCK_SIZE,