Home
last modified time | relevance | path

Searched refs:SHA256_BLOCK_SIZE (Results 1 – 15 of 15) sorted by relevance

/linux/lib/crypto/powerpc/
H A Dsha256.h49 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 Deip93-common.c707 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 Dpadlock-sha.c234 .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 Datmel-sha.c443 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 Dimg-hash.c844 .cra_blocksize = SHA256_BLOCK_SIZE,
H A Dtalitos.c921 #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 Dsha256.h17 nblocks * SHA256_BLOCK_SIZE); in sha256_blocks()
/linux/crypto/
H A Dsha256.c35 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 Dsha2.h15 #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 Dsha256.h50 data += SHA256_BLOCK_SIZE; in sha256_blocks()
/linux/fs/verity/
H A Dhash_algs.c15 .block_size = SHA256_BLOCK_SIZE,
/linux/drivers/crypto/inside-secure/
H A Dsafexcel_hash.c1247 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 Dkeembay-ocs-hcu-core.c593 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 Dtegra-se-hash.c818 .cra_blocksize = SHA256_BLOCK_SIZE,
1024 .cra_blocksize = SHA256_BLOCK_SIZE,
/linux/drivers/crypto/ccp/
H A Dccp-ops.c1527 block_size = SHA256_BLOCK_SIZE; in ccp_run_sha_cmd()