Searched refs:SHA256_BLOCK_SIZE (Results 1 – 15 of 15) sorted by relevance
| /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/inside-secure/eip93/ |
| H A D | eip93-common.c | 707 u8 ipad[SHA256_BLOCK_SIZE], opad[SHA256_BLOCK_SIZE]; in eip93_hmac_setkey() 749 if (keylen > SHA256_BLOCK_SIZE) { in eip93_hmac_setkey() 763 memset(ipad + keylen, 0, SHA256_BLOCK_SIZE - keylen); in eip93_hmac_setkey() 764 memcpy(opad, ipad, SHA256_BLOCK_SIZE); in eip93_hmac_setkey() 767 for (i = 0; i < SHA256_BLOCK_SIZE; i++) { in eip93_hmac_setkey() 773 memcpy(dest_ipad, ipad, SHA256_BLOCK_SIZE); in eip93_hmac_setkey() 776 sg_init_one(&sg[0], ipad, SHA256_BLOCK_SIZE); in eip93_hmac_setkey() 777 ahash_request_set_crypt(req, sg, dest_ipad, SHA256_BLOCK_SIZE); in eip93_hmac_setkey() 791 sg_init_one(&sg[0], opad, SHA256_BLOCK_SIZE); in eip93_hmac_setkey() 792 ahash_request_set_crypt(req, sg, dest_opad, SHA256_BLOCK_SIZE); in eip93_hmac_setkey()
|
| /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,
|
| H A D | atmel-sha.c | 443 ctx->block_size = SHA256_BLOCK_SIZE; in atmel_sha_init() 1277 .halg.base.cra_blocksize = SHA256_BLOCK_SIZE, 1699 ctx->block_size = SHA256_BLOCK_SIZE; in atmel_sha_hmac_setup() 2072 .halg.base.cra_blocksize = SHA256_BLOCK_SIZE,
|
| H A D | img-hash.c | 844 .cra_blocksize = SHA256_BLOCK_SIZE,
|
| H A D | talitos.c | 921 #define TALITOS_MAX_KEY_SIZE (AES_MAX_KEY_SIZE + SHA256_BLOCK_SIZE) 2981 .cra_blocksize = SHA256_BLOCK_SIZE, 3077 .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/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/intel/keembay/ |
| H A D | keembay-ocs-hcu-core.c | 593 rctx->blk_sz = SHA256_BLOCK_SIZE; in kmb_ocs_hcu_init() 960 .cra_blocksize = SHA256_BLOCK_SIZE, 986 .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/ccp/ |
| H A D | ccp-ops.c | 1527 block_size = SHA256_BLOCK_SIZE; in ccp_run_sha_cmd()
|