Searched refs:SHA256_BLOCK_SIZE (Results 1 – 17 of 17) sorted by relevance
| /linux/lib/crypto/ |
| H A D | sha256.c | 153 data += SHA256_BLOCK_SIZE; in sha256_blocks_generic() 187 size_t partial = ctx->bytecount % SHA256_BLOCK_SIZE; in __sha256_update() 191 if (partial + len >= SHA256_BLOCK_SIZE) { in __sha256_update() 195 size_t l = SHA256_BLOCK_SIZE - partial; in __sha256_update() 204 nblocks = len / SHA256_BLOCK_SIZE; in __sha256_update() 205 len %= SHA256_BLOCK_SIZE; in __sha256_update() 209 data += nblocks * SHA256_BLOCK_SIZE; in __sha256_update() 222 size_t partial = ctx->bytecount % SHA256_BLOCK_SIZE; in __sha256_final() 225 if (partial > SHA256_BLOCK_SIZE - 8) { in __sha256_final() 226 memset(&ctx->buf[partial], 0, SHA256_BLOCK_SIZE - partial); in __sha256_final() [all …]
|
| /linux/lib/crypto/powerpc/ |
| H A D | sha256.h | 49 MAX_BYTES / SHA256_BLOCK_SIZE); in sha256_blocks() 55 data += unit * SHA256_BLOCK_SIZE; in sha256_blocks()
|
| /linux/lib/crypto/arm64/ |
| H A D | sha256.h | 33 data += (nblocks - rem) * SHA256_BLOCK_SIZE; in sha256_blocks() 65 static_branch_likely(&have_ce) && len >= SHA256_BLOCK_SIZE && in sha256_finup_2x_arch()
|
| /linux/lib/crypto/s390/ |
| H A D | sha256.h | 17 nblocks * SHA256_BLOCK_SIZE); in sha256_blocks()
|
| /linux/drivers/crypto/qce/ |
| H A D | sha.h | 16 #define QCE_SHA_MAX_BLOCKSIZE SHA256_BLOCK_SIZE
|
| /linux/lib/crypto/mips/ |
| H A D | sha256.h | 50 data += SHA256_BLOCK_SIZE; in sha256_blocks()
|
| /linux/crypto/ |
| H A D | sha256.c | 35 partial = ctx.bytecount % SHA256_BLOCK_SIZE; in __crypto_sha256_export() 341 .base.cra_blocksize = SHA256_BLOCK_SIZE, 379 .base.cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/include/crypto/ |
| H A D | sha2.h | 15 #define SHA256_BLOCK_SIZE 64 macro 108 u8 buf[SHA256_BLOCK_SIZE]; 130 u8 buf[SHA256_BLOCK_SIZE] __aligned(__alignof__(__be64));
|
| /linux/lib/crypto/x86/ |
| H A D | sha256.h | 59 if (static_branch_likely(&have_sha_ni) && len >= SHA256_BLOCK_SIZE && in sha256_finup_2x_arch()
|
| /linux/fs/verity/ |
| H A D | hash_algs.c | 15 .block_size = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/allwinner/sun8i-ss/ |
| H A D | sun8i-ss.h | 236 u8 key[SHA256_BLOCK_SIZE];
|
| /linux/drivers/crypto/axis/ |
| H A D | artpec6_crypto.c | 291 char partial_buffer[SHA256_BLOCK_SIZE]; 292 char partial_buffer_out[SHA256_BLOCK_SIZE]; 293 char key_buffer[SHA256_BLOCK_SIZE]; 294 char pad_buffer[SHA256_BLOCK_SIZE + 32]; 305 char partial_buffer[SHA256_BLOCK_SIZE]; 314 char hmac_key[SHA256_BLOCK_SIZE]; 2663 .cra_blocksize = SHA256_BLOCK_SIZE, 2687 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 635 .cra_blocksize = SHA256_BLOCK_SIZE, 664 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/arch/s390/crypto/ |
| H A D | phmac_s390.c | 116 #define PHMAC_SHA256_PK_SIZE (SHA256_BLOCK_SIZE + 32) 388 case SHA256_BLOCK_SIZE: in kmac_sha2_set_imbl()
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto-sha.c | 391 .block_size = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/ |
| H A D | img-hash.c | 857 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 1634 .blocksize = SHA256_BLOCK_SIZE,
|