Searched refs:SHA512_BLOCK_SIZE (Results 1 – 23 of 23) sorted by relevance
| /linux/lib/crypto/ |
| H A D | sha512.c | 132 data += SHA512_BLOCK_SIZE; in sha512_blocks_generic() 165 size_t partial = ctx->bytecount_lo % SHA512_BLOCK_SIZE; in __sha512_update() 170 if (partial + len >= SHA512_BLOCK_SIZE) { in __sha512_update() 174 size_t l = SHA512_BLOCK_SIZE - partial; in __sha512_update() 183 nblocks = len / SHA512_BLOCK_SIZE; in __sha512_update() 184 len %= SHA512_BLOCK_SIZE; in __sha512_update() 188 data += nblocks * SHA512_BLOCK_SIZE; in __sha512_update() 202 size_t partial = ctx->bytecount_lo % SHA512_BLOCK_SIZE; in __sha512_final() 205 if (partial > SHA512_BLOCK_SIZE - 16) { in __sha512_final() 206 memset(&ctx->buf[partial], 0, SHA512_BLOCK_SIZE - partial); in __sha512_final() [all …]
|
| /linux/lib/crypto/s390/ |
| H A D | sha512.h | 17 nblocks * SHA512_BLOCK_SIZE); in sha512_blocks()
|
| /linux/crypto/ |
| H A D | sha512.c | 35 partial = ctx.bytecount_lo % SHA512_BLOCK_SIZE; in __crypto_sha512_export() 347 .base.cra_blocksize = SHA512_BLOCK_SIZE, 385 .base.cra_blocksize = SHA512_BLOCK_SIZE,
|
| /linux/include/crypto/ |
| H A D | sha2.h | 22 #define SHA512_BLOCK_SIZE 128 macro 114 u8 buf[SHA512_BLOCK_SIZE]; 543 u8 buf[SHA512_BLOCK_SIZE] __aligned(__alignof__(__be64));
|
| /linux/lib/crypto/arm64/ |
| H A D | sha512.h | |
| /linux/lib/crypto/mips/ |
| H A D | sha512.h | 62 data += SHA512_BLOCK_SIZE; in sha512_blocks()
|
| /linux/drivers/crypto/ccree/ |
| H A D | cc_hash.h | 19 #define CC_MAX_HASH_BLCK_SIZE SHA512_BLOCK_SIZE
|
| /linux/fs/verity/ |
| H A D | hash_algs.c | 21 .block_size = SHA512_BLOCK_SIZE,
|
| /linux/drivers/crypto/inside-secure/ |
| H A D | safexcel_hash.c | 1505 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_sha512_init() 1541 .cra_blocksize = SHA512_BLOCK_SIZE, 1562 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_sha384_init() 1625 req->len = SHA512_BLOCK_SIZE; in safexcel_hmac_sha512_init() 1626 req->processed = SHA512_BLOCK_SIZE; in safexcel_hmac_sha512_init() 1632 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_hmac_sha512_init() 1670 .cra_blocksize = SHA512_BLOCK_SIZE, 1697 req->len = SHA512_BLOCK_SIZE; in safexcel_hmac_sha384_init() 1698 req->processed = SHA512_BLOCK_SIZE; in safexcel_hmac_sha384_init() 1704 req->block_sz = SHA512_BLOCK_SIZE; in safexcel_hmac_sha384_init()
|
| H A D | safexcel.h | 859 #define HASH_CACHE_SIZE SHA512_BLOCK_SIZE
|
| /linux/drivers/crypto/ |
| H A D | sa2ul.h | 314 u8 authkey[SHA512_BLOCK_SIZE];
|
| H A D | atmel-sha.c | 108 u8 buffer[SHA_BUFFER_LEN + SHA512_BLOCK_SIZE] __aligned(sizeof(u32)); 459 ctx->block_size = SHA512_BLOCK_SIZE; in atmel_sha_init() 1310 .halg.base.cra_blocksize = SHA512_BLOCK_SIZE, 1612 u8 buffer[SHA512_BLOCK_SIZE]; 1664 u32 ipad[SHA512_BLOCK_SIZE / sizeof(u32)]; 1665 u32 opad[SHA512_BLOCK_SIZE / sizeof(u32)]; 1717 ctx->block_size = SHA512_BLOCK_SIZE; in atmel_sha_hmac_setup() 2095 .halg.base.cra_blocksize = SHA512_BLOCK_SIZE,
|
| H A D | omap-sham.c | 135 #define BUFLEN SHA512_BLOCK_SIZE 164 u8 ipad[SHA512_BLOCK_SIZE] OMAP_ALIGNED; 165 u8 opad[SHA512_BLOCK_SIZE] OMAP_ALIGNED; 420 d = SHA512_BLOCK_SIZE; in get_block_size() 982 bs = SHA512_BLOCK_SIZE; in omap_sham_init() 1650 .cra_blocksize = SHA512_BLOCK_SIZE, 1697 .cra_blocksize = SHA512_BLOCK_SIZE,
|
| H A D | sa2ul.c | 2100 .cra_blocksize = SHA512_BLOCK_SIZE,
|
| /linux/drivers/crypto/starfive/ |
| H A D | jh7110-hash.c | 36 #define STARFIVE_HASH_BUFLEN SHA512_BLOCK_SIZE 749 .cra_blocksize = SHA512_BLOCK_SIZE, 778 .cra_blocksize = SHA512_BLOCK_SIZE,
|
| /linux/drivers/crypto/ccp/ |
| H A D | ccp-crypto.h | 186 #define MAX_SHA_BLOCK_SIZE SHA512_BLOCK_SIZE
|
| H A D | ccp-crypto-sha.c | 407 .block_size = SHA512_BLOCK_SIZE,
|
| H A D | ccp-ops.c | 1539 block_size = SHA512_BLOCK_SIZE; in ccp_run_sha_cmd()
|
| /linux/drivers/crypto/bcm/ |
| H A D | cipher.h | 50 #define MAX_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE
|
| H A D | cipher.c | 3862 .cra_blocksize = SHA512_BLOCK_SIZE, 3881 .cra_blocksize = SHA512_BLOCK_SIZE,
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 865 .cra_blocksize = SHA512_BLOCK_SIZE, 1077 .cra_blocksize = SHA512_BLOCK_SIZE,
|
| /linux/drivers/crypto/caam/ |
| H A D | caamhash.c | 81 #define CAAM_MAX_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE 1677 .blocksize = SHA512_BLOCK_SIZE,
|
| H A D | caamalg_qi2.c | 3042 #define CAAM_MAX_HASH_BLOCK_SIZE SHA512_BLOCK_SIZE 4506 .blocksize = SHA512_BLOCK_SIZE,
|