Searched refs:SHA1_BLOCK_SIZE (Results 1 – 13 of 13) sorted by relevance
| /linux/lib/crypto/ |
| H A D | sha1.c | 151 data += SHA1_BLOCK_SIZE; in sha1_blocks_generic() 172 size_t partial = ctx->bytecount % SHA1_BLOCK_SIZE; in sha1_update() 176 if (partial + len >= SHA1_BLOCK_SIZE) { in sha1_update() 180 size_t l = SHA1_BLOCK_SIZE - partial; in sha1_update() 189 nblocks = len / SHA1_BLOCK_SIZE; in sha1_update() 190 len %= SHA1_BLOCK_SIZE; in sha1_update() 194 data += nblocks * SHA1_BLOCK_SIZE; in sha1_update() 206 size_t partial = ctx->bytecount % SHA1_BLOCK_SIZE; in __sha1_final() 209 if (partial > SHA1_BLOCK_SIZE - 8) { in __sha1_final() 210 memset(&ctx->buf[partial], 0, SHA1_BLOCK_SIZE - partial); in __sha1_final() [all …]
|
| /linux/tools/perf/util/ |
| H A D | sha1.c | 14 #define SHA1_BLOCK_SIZE 64 macro 74 data += SHA1_BLOCK_SIZE; in sha1_blocks() 83 u8 final_data[2 * SHA1_BLOCK_SIZE] = { 0 }; in sha1() 84 size_t final_len = len % SHA1_BLOCK_SIZE; in sha1() 86 sha1_blocks(h, data, len / SHA1_BLOCK_SIZE); in sha1() 90 final_len = round_up(final_len + 9, SHA1_BLOCK_SIZE); in sha1() 93 sha1_blocks(h, final_data, final_len / SHA1_BLOCK_SIZE); in sha1()
|
| /linux/lib/crypto/powerpc/ |
| H A D | sha1.h | 45 u32 unit = min_t(size_t, nblocks, MAX_BYTES / SHA1_BLOCK_SIZE); in sha1_blocks() 51 data += unit * SHA1_BLOCK_SIZE; in sha1_blocks() 57 const u8 data[SHA1_BLOCK_SIZE]); 64 data += SHA1_BLOCK_SIZE; in sha1_blocks()
|
| /linux/include/crypto/ |
| H A D | sha1.h | 12 #define SHA1_BLOCK_SIZE 64 macro 26 u8 buffer[SHA1_BLOCK_SIZE]; 53 u8 buf[SHA1_BLOCK_SIZE];
|
| /linux/crypto/ |
| H A D | sha1.c | 34 partial = ctx.bytecount % SHA1_BLOCK_SIZE; in __crypto_sha1_export() 186 .base.cra_blocksize = SHA1_BLOCK_SIZE, 204 .base.cra_blocksize = SHA1_BLOCK_SIZE,
|
| /linux/lib/crypto/s390/ |
| H A D | sha1.h | 17 nblocks * SHA1_BLOCK_SIZE); in sha1_blocks()
|
| /linux/lib/crypto/arm64/ |
| H A D | sha1.h | 25 data += (nblocks - rem) * SHA1_BLOCK_SIZE; in sha1_blocks()
|
| /linux/lib/crypto/mips/ |
| H A D | sha1.h | 76 data += SHA1_BLOCK_SIZE; in sha1_blocks()
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-sha.c | 375 .block_size = SHA1_BLOCK_SIZE,
|
| /linux/drivers/crypto/ |
| H A D | img-hash.c | 805 .cra_blocksize = SHA1_BLOCK_SIZE,
|
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 1592 .blocksize = SHA1_BLOCK_SIZE,
|
| /linux/drivers/crypto/axis/ |
| H A D | artpec6_crypto.c | 2640 .cra_blocksize = SHA1_BLOCK_SIZE,
|
| /linux/net/ipv6/ |
| H A D | addrconf.c | 3346 char __data[SHA1_BLOCK_SIZE]; in ipv6_generate_stable_address()
|