Searched refs:SHA256_BLOCK_SIZE (Results 1 – 15 of 15) 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/drivers/crypto/ |
| H A D | padlock-sha.c | 234 .cra_blocksize = SHA256_BLOCK_SIZE, 266 int blocks = len / SHA256_BLOCK_SIZE; in padlock_sha256_update_nano() 268 len -= blocks * SHA256_BLOCK_SIZE; in padlock_sha256_update_nano() 269 state->count += blocks * SHA256_BLOCK_SIZE; in padlock_sha256_update_nano() 314 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/lib/crypto/s390/ |
| H A D | sha256.h | 17 nblocks * 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/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/fs/verity/ |
| H A D | hash_algs.c | 15 .block_size = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 1247 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_sha256_init() 1283 .cra_blocksize = SHA256_BLOCK_SIZE, 1304 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_sha224_init() 1367 req->len = SHA256_BLOCK_SIZE; in safexcel_hmac_sha224_init() 1368 req->processed = SHA256_BLOCK_SIZE; in safexcel_hmac_sha224_init() 1374 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_hmac_sha224_init() 1439 req->len = SHA256_BLOCK_SIZE; in safexcel_hmac_sha256_init() 1440 req->processed = SHA256_BLOCK_SIZE; in safexcel_hmac_sha256_init() 1446 req->block_sz = SHA256_BLOCK_SIZE; in safexcel_hmac_sha256_init() 1484 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 818 .cra_blocksize = SHA256_BLOCK_SIZE, 1024 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.c | 3787 .cra_blocksize = SHA256_BLOCK_SIZE, 3805 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 1635 .blocksize = SHA256_BLOCK_SIZE,
|
| H A D | caamalg_qi2.c | 4465 .blocksize = SHA256_BLOCK_SIZE,
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-ops.c | 1527 block_size = SHA256_BLOCK_SIZE; in ccp_run_sha_cmd()
|