Lines Matching refs:blocksize
732 int blocksize = 0; in cc_hash_setkey() local
743 blocksize = crypto_tfm_alg_blocksize(&ahash->base); in cc_hash_setkey()
773 if (keylen > blocksize) { in cc_hash_setkey()
811 set_din_const(&desc[idx], 0, (blocksize - digestsize)); in cc_hash_setkey()
816 (blocksize - digestsize), NS_BIT, 0); in cc_hash_setkey()
828 if ((blocksize - keylen)) { in cc_hash_setkey()
831 (blocksize - keylen)); in cc_hash_setkey()
835 keylen), (blocksize - keylen), in cc_hash_setkey()
842 set_din_const(&desc[idx], 0, blocksize); in cc_hash_setkey()
845 blocksize, NS_BIT, 0); in cc_hash_setkey()
884 blocksize, NS_BIT); in cc_hash_setkey()
1563 unsigned int blocksize; member
1586 .blocksize = SHA1_BLOCK_SIZE,
1614 .blocksize = SHA256_BLOCK_SIZE,
1641 .blocksize = SHA224_BLOCK_SIZE,
1668 .blocksize = SHA384_BLOCK_SIZE,
1695 .blocksize = SHA512_BLOCK_SIZE,
1722 .blocksize = MD5_HMAC_BLOCK_SIZE,
1747 .blocksize = SM3_BLOCK_SIZE,
1772 .blocksize = AES_BLOCK_SIZE,
1797 .blocksize = AES_BLOCK_SIZE,
1851 alg->cra_blocksize = template->blocksize; in cc_alloc_hash_alg()