/linux-master/drivers/crypto/bcm/ |
H A D | spu2.h | 177 unsigned int blocksize);
|
/linux-master/drivers/crypto/caam/ |
H A D | caamalg_qi2.c | 3314 unsigned int blocksize = crypto_tfm_alg_blocksize(&ahash->base); local 3319 dev_dbg(ctx->dev, "keylen %d blocksize %d\n", keylen, blocksize); 3321 if (keylen > blocksize) { 4408 unsigned int blocksize; member in struct:caam_hash_template 4420 .blocksize = SHA1_BLOCK_SIZE, 4441 .blocksize = SHA224_BLOCK_SIZE, 4462 .blocksize = SHA256_BLOCK_SIZE, 4483 .blocksize = SHA384_BLOCK_SIZE, 4504 .blocksize [all...] |
H A D | caamhash.c | 429 int blocksize = crypto_tfm_alg_blocksize(&ahash->base); local 437 if (keylen > blocksize) { 828 int blocksize = crypto_ahash_blocksize(ahash); local 835 *next_buflen = in_len & (blocksize - 1); 843 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && 845 *next_buflen = blocksize; 846 to_hash -= blocksize; 1204 int blocksize = crypto_ahash_blocksize(ahash); local 1211 *next_buflen = in_len & (blocksize - 1); 1219 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize 1402 int blocksize = crypto_ahash_blocksize(ahash); local 1579 unsigned int blocksize; member in struct:caam_hash_template [all...] |
/linux-master/drivers/crypto/ccp/ |
H A D | ccp-crypto-aes-galois.c | 191 unsigned int blocksize; member in struct:ccp_aes_aead_def 202 .blocksize = 1, 229 alg->base.cra_blocksize = def->blocksize;
|
H A D | ccp-crypto-aes.c | 245 unsigned int blocksize; member in struct:ccp_aes_def 256 .blocksize = AES_BLOCK_SIZE, 265 .blocksize = AES_BLOCK_SIZE, 274 .blocksize = 1, 283 .blocksize = 1, 310 alg->base.cra_blocksize = def->blocksize;
|
H A D | ccp-crypto-des3.c | 151 unsigned int blocksize; member in struct:ccp_des3_def 162 .blocksize = DES3_EDE_BLOCK_SIZE, 171 .blocksize = DES3_EDE_BLOCK_SIZE, 198 alg->base.cra_blocksize = def->blocksize;
|
/linux-master/drivers/crypto/ccree/ |
H A D | cc_aead.c | 418 unsigned int blocksize; local 430 blocksize = SHA1_BLOCK_SIZE; 436 blocksize = SHA256_BLOCK_SIZE; 454 if (keylen > blocksize) { 493 set_din_const(&desc[idx], 0, (blocksize - digestsize)); 496 digestsize), (blocksize - digestsize), 508 if ((blocksize - keylen) != 0) { 511 (blocksize - keylen)); 516 (blocksize - keylen), NS_BIT, 0); 522 set_din_const(&desc[idx], 0, (blocksize [all...] |
H A D | cc_cipher.c | 1013 .blocksize = 1, 1031 .blocksize = AES_BLOCK_SIZE, 1049 .blocksize = AES_BLOCK_SIZE, 1067 .blocksize = AES_BLOCK_SIZE, 1085 .blocksize = AES_BLOCK_SIZE, 1103 .blocksize = 1, 1125 .blocksize = 1, 1142 .blocksize = AES_BLOCK_SIZE, 1159 .blocksize = AES_BLOCK_SIZE, 1176 .blocksize [all...] |
H A D | cc_driver.h | 173 unsigned int blocksize; member in struct:cc_alg_template
|
H A D | cc_hash.c | 732 int blocksize = 0; local 743 blocksize = crypto_tfm_alg_blocksize(&ahash->base); 773 if (keylen > blocksize) { 811 set_din_const(&desc[idx], 0, (blocksize - digestsize)); 816 (blocksize - digestsize), NS_BIT, 0); 828 if ((blocksize - keylen)) { 831 (blocksize - keylen)); 835 keylen), (blocksize - keylen), 842 set_din_const(&desc[idx], 0, blocksize); 845 blocksize, NS_BI 1563 unsigned int blocksize; member in struct:cc_hash_template [all...] |
/linux-master/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 1092 int blocksize, digestsize, ret; local 1099 blocksize = crypto_shash_blocksize(hash_tfm); 1101 if (keys->authkeylen > blocksize) {
|
/linux-master/drivers/crypto/inside-secure/ |
H A D | safexcel_hash.c | 1046 unsigned int blocksize, const u8 *key, 1054 if (keylen <= blocksize) { 1078 memset(ipad + keylen, 0, blocksize - keylen); 1079 memcpy(opad, ipad, blocksize); 1081 for (i = 0; i < blocksize; i++) { 1090 unsigned int blocksize, u8 *pad, void *state) 1099 sg_init_one(&sg, pad, blocksize); 1100 ahash_request_set_crypt(areq, &sg, pad, blocksize); 1122 unsigned int blocksize; local 1137 blocksize 1045 safexcel_hmac_init_pad(struct ahash_request *areq, unsigned int blocksize, const u8 *key, unsigned int keylen, u8 *ipad, u8 *opad) argument 1089 safexcel_hmac_init_iv(struct ahash_request *areq, unsigned int blocksize, u8 *pad, void *state) argument [all...] |
/linux-master/drivers/crypto/marvell/cesa/ |
H A D | hash.c | 846 unsigned int blocksize; local 848 blocksize = crypto_ahash_blocksize(ahash); 852 memset(cache, 0, blocksize); 864 unsigned int blocksize; local 872 blocksize = crypto_ahash_blocksize(ahash); 873 if (len >= blocksize) 882 cache_ptr = do_div(len, blocksize); 1108 void *state, unsigned int blocksize) 1116 sg_init_one(&sg, pad, blocksize); 1117 ahash_request_set_crypt(req, &sg, pad, blocksize); 1107 mv_cesa_ahmac_iv_state_init(struct ahash_request *req, u8 *pad, void *state, unsigned int blocksize) argument 1136 mv_cesa_ahmac_pad_init(struct ahash_request *req, const u8 *key, unsigned int keylen, u8 *ipad, u8 *opad, unsigned int blocksize) argument 1188 unsigned int blocksize; local [all...] |
/linux-master/drivers/crypto/ |
H A D | n2_core.c | 886 this_len = skcipher_descriptor_len(nbytes, walk->blocksize); 935 memcpy(rctx->walk.iv, final_iv, rctx->walk.blocksize); 1027 iv_paddr = c->dest_final - rctx->walk.blocksize; 1041 rctx->walk.blocksize); 1048 rctx->walk.blocksize); 1051 rctx->walk.blocksize);
|
H A D | talitos.c | 1656 unsigned int blocksize = local 1662 if (areq->cryptlen % blocksize) 1681 unsigned int blocksize = local 1687 if (areq->cryptlen % blocksize) 1987 unsigned int blocksize = local 1998 if (!req_ctx->last && (nbytes + req_ctx->nbuf <= blocksize)) { 2011 /* At least (blocksize + 1) bytes are available to hash */ 2013 to_hash_later = nbytes_to_hash & (blocksize - 1); 2022 nbytes_to_hash -= blocksize; 2023 to_hash_later = blocksize; 2223 unsigned int blocksize = local [all...] |
/linux-master/drivers/crypto/qce/ |
H A D | aead.c | 508 unsigned int blocksize = crypto_aead_blocksize(tfm); local 544 if (IS_CBC(rctx->flags) && !IS_ALIGNED(rctx->cryptlen, blocksize)) 694 unsigned int blocksize; member in struct:qce_aead_def 705 .blocksize = DES_BLOCK_SIZE, 713 .blocksize = DES3_EDE_BLOCK_SIZE, 721 .blocksize = DES_BLOCK_SIZE, 729 .blocksize = DES3_EDE_BLOCK_SIZE, 737 .blocksize = AES_BLOCK_SIZE, 745 .blocksize = 1, 753 .blocksize [all...] |
H A D | common.c | 155 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); local 162 if (!rctx->last_blk && req->nbytes % blocksize)
|
H A D | sha.c | 193 unsigned int blocksize; local 195 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); 201 if (total <= blocksize) { 220 hash_later = total % blocksize; 238 hash_later = blocksize; 246 /* here nbytes is multiple of blocksize */ 337 unsigned int blocksize; local 343 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); 346 if (keylen <= blocksize) { 408 unsigned int blocksize; member in struct:qce_ahash_def [all...] |
H A D | skcipher.c | 262 unsigned int blocksize = crypto_skcipher_blocksize(tfm); local 279 if (!IS_ALIGNED(req->cryptlen, blocksize)) 353 unsigned int blocksize; member in struct:qce_skcipher_def 365 .blocksize = AES_BLOCK_SIZE, 374 .blocksize = AES_BLOCK_SIZE, 383 .blocksize = 1, 393 .blocksize = AES_BLOCK_SIZE, 402 .blocksize = DES_BLOCK_SIZE, 411 .blocksize = DES_BLOCK_SIZE, 420 .blocksize [all...] |
/linux-master/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 458 unsigned int blocksize = crypto_ahash_blocksize(hash); local 463 if (keylen <= blocksize) {
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | r600_cs.c | 98 unsigned blocksize; member in struct:gpu_formats 207 return color_formats_table[format].blocksize; 244 u32 blocksize; member in struct:array_mode_checker 258 u32 tile_bytes = tile_width * tile_height * values->blocksize * values->nsamples; 270 *pitch_align = max((u32)64, (u32)(values->group_size / values->blocksize)); 278 (tile_height * values->blocksize * values->nsamples))); 286 (values->blocksize * values->nsamples * tile_width))); 290 (*pitch_align) * values->blocksize * (*height_align) * values->nsamples); 384 array_check.blocksize = r600_fmt_get_blocksize(format); 579 array_check.blocksize 1413 unsigned blocksize; local [all...] |
/linux-master/drivers/md/ |
H A D | dm-integrity.c | 3860 unsigned int ivsize, blocksize; local 3872 blocksize = crypto_skcipher_blocksize(ic->journal_crypt); 3883 ic->journal_crypt_alg.alg_string, blocksize, ivsize); 3892 if (blocksize == 1) { 3950 unsigned int crypt_len = roundup(ivsize, blocksize);
|
H A D | md-bitmap.c | 358 unsigned long blocksize = i_blocksize(inode); local 363 bh = alloc_page_buffers(page, blocksize, false); 385 if (count < blocksize) 388 count -= blocksize;
|
/linux-master/drivers/mmc/host/ |
H A D | cb710-mmc.c | 211 size_t count, size_t blocksize) 215 ((count - 1) << 16)|(blocksize - 1)); 218 count, count == 1 ? "" : "s", blocksize); 210 cb710_mmc_set_transfer_size(struct cb710_slot *slot, size_t count, size_t blocksize) argument
|
H A D | sh_mmcif.c | 234 size_t blocksize; member in struct:sh_mmcif_host 606 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 641 for (i = 0; i < host->blocksize / 4; i++) 662 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 696 for (i = 0; i < host->blocksize / 4; i++) 699 sgm->consumed = host->blocksize; 716 host->blocksize = (sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 751 for (i = 0; i < host->blocksize / 4; i++) 772 host->blocksize = sh_mmcif_readl(host->addr, MMCIF_CE_BLOCK_SET) & 806 for (i = 0; i < host->blocksize / [all...] |