Home
last modified time | relevance | path

Searched refs:DES_BLOCK_SIZE (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.15/arch/s390/crypto/
H A Ddes_s390.c31 u8 iv[DES_BLOCK_SIZE];
116 u8 iv[DES_BLOCK_SIZE]; in cbc_desall_crypt()
179 .ivsize = DES_BLOCK_SIZE,
297 .ivsize = DES_BLOCK_SIZE,
311 memcpy(ctrptr + DES_BLOCK_SIZE, ctrptr, DES_BLOCK_SIZE); in __ctrblk_init()
312 crypto_inc(ctrptr + DES_BLOCK_SIZE, DES_BLOCK_SIZE); in __ctrblk_init()
313 ctrptr += DES_BLOCK_SIZE; in __ctrblk_init()
331 n = DES_BLOCK_SIZE; in ctr_desall_crypt()
339 DES_BLOCK_SIZE); in ctr_desall_crypt()
370 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-6.15/arch/sparc/crypto/
H A Ddes_glue.c113 round_down(nbytes, DES_BLOCK_SIZE)); in __ecb_crypt()
114 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __ecb_crypt()
157 DES_BLOCK_SIZE), in __cbc_crypt()
163 DES_BLOCK_SIZE), in __cbc_crypt()
265 round_down(nbytes, DES_BLOCK_SIZE)); in __ecb3_crypt()
313 DES_BLOCK_SIZE), in __cbc3_crypt()
319 DES_BLOCK_SIZE), in __cbc3_crypt()
343 .cra_blocksize = DES_BLOCK_SIZE,
382 .base.cra_blocksize = DES_BLOCK_SIZE,
395 .base.cra_blocksize = DES_BLOCK_SIZE,
[all …]
/linux-6.15/include/crypto/
H A Ddes.h13 #define DES_BLOCK_SIZE 8 macro
17 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
/linux-6.15/drivers/crypto/aspeed/
H A Daspeed-hace-crypto.c56 !IS_ALIGNED(areq->cryptlen, DES_BLOCK_SIZE)) in aspeed_crypto_need_fallback()
389 req->iv, DES_BLOCK_SIZE); in aspeed_hace_skcipher_trigger()
417 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) in aspeed_des_crypt()
741 .cra_blocksize = DES_BLOCK_SIZE,
753 .ivsize = DES_BLOCK_SIZE,
768 .cra_blocksize = DES_BLOCK_SIZE,
794 .cra_blocksize = DES_BLOCK_SIZE,
806 .ivsize = DES_BLOCK_SIZE,
821 .cra_blocksize = DES_BLOCK_SIZE,
862 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-6.15/drivers/crypto/inside-secure/eip93/
H A Deip93-aead.c496 .ivsize = DES_BLOCK_SIZE,
507 .cra_blocksize = DES_BLOCK_SIZE,
524 .ivsize = DES_BLOCK_SIZE,
535 .cra_blocksize = DES_BLOCK_SIZE,
552 .ivsize = DES_BLOCK_SIZE,
563 .cra_blocksize = DES_BLOCK_SIZE,
580 .ivsize = DES_BLOCK_SIZE,
591 .cra_blocksize = DES_BLOCK_SIZE,
H A Deip93-cipher.c106 ctx->blksize = DES_BLOCK_SIZE; in eip93_skcipher_setkey()
327 .cra_blocksize = DES_BLOCK_SIZE,
346 .ivsize = DES_BLOCK_SIZE,
353 .cra_blocksize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/caam/
H A Dcaamalg_qi.c1526 .ivsize = DES_BLOCK_SIZE,
2203 .ivsize = DES_BLOCK_SIZE,
2225 .ivsize = DES_BLOCK_SIZE,
2247 .ivsize = DES_BLOCK_SIZE,
2269 .ivsize = DES_BLOCK_SIZE,
2291 .ivsize = DES_BLOCK_SIZE,
2314 .ivsize = DES_BLOCK_SIZE,
2336 .ivsize = DES_BLOCK_SIZE,
2359 .ivsize = DES_BLOCK_SIZE,
2381 .ivsize = DES_BLOCK_SIZE,
[all …]
H A Dcaamalg.c1938 .ivsize = DES_BLOCK_SIZE,
2903 .ivsize = DES_BLOCK_SIZE,
2928 .ivsize = DES_BLOCK_SIZE,
2953 .ivsize = DES_BLOCK_SIZE,
2978 .ivsize = DES_BLOCK_SIZE,
3003 .ivsize = DES_BLOCK_SIZE,
3028 .ivsize = DES_BLOCK_SIZE,
3053 .ivsize = DES_BLOCK_SIZE,
3078 .ivsize = DES_BLOCK_SIZE,
3103 .ivsize = DES_BLOCK_SIZE,
[all …]
H A Dcaamalg_qi2.c1720 .ivsize = DES_BLOCK_SIZE,
2413 .ivsize = DES_BLOCK_SIZE,
2435 .ivsize = DES_BLOCK_SIZE,
2457 .ivsize = DES_BLOCK_SIZE,
2479 .ivsize = DES_BLOCK_SIZE,
2501 .ivsize = DES_BLOCK_SIZE,
2524 .ivsize = DES_BLOCK_SIZE,
2546 .ivsize = DES_BLOCK_SIZE,
2569 .ivsize = DES_BLOCK_SIZE,
2591 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-6.15/drivers/crypto/rockchip/
H A Drk3288_crypto_skcipher.c262 if (block == DES_BLOCK_SIZE) { in rk_cipher_hw_init()
368 if (ivsize == DES_BLOCK_SIZE) in rk_cipher_run()
520 .base.cra_blocksize = DES_BLOCK_SIZE,
545 .base.cra_blocksize = DES_BLOCK_SIZE,
554 .ivsize = DES_BLOCK_SIZE,
571 .base.cra_blocksize = DES_BLOCK_SIZE,
596 .base.cra_blocksize = DES_BLOCK_SIZE,
605 .ivsize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/stm32/
H A Dstm32-cryp.c1337 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_ecb_encrypt()
1348 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_ecb_decrypt()
1359 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_cbc_encrypt()
1370 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_cbc_decrypt()
1381 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_ecb_encrypt()
2365 .min_keysize = DES_BLOCK_SIZE,
2366 .max_keysize = DES_BLOCK_SIZE,
2387 .min_keysize = DES_BLOCK_SIZE,
2388 .max_keysize = DES_BLOCK_SIZE,
2389 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-6.15/drivers/crypto/
H A Datmel-tdes.c76 u8 lastc[DES_BLOCK_SIZE];
319 dd->buflen &= ~(DES_BLOCK_SIZE - 1); in atmel_tdes_buff_init()
647 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) { in atmel_tdes_crypt()
651 ctx->block_size = DES_BLOCK_SIZE; in atmel_tdes_crypt()
799 .base.cra_blocksize = DES_BLOCK_SIZE,
811 .base.cra_blocksize = DES_BLOCK_SIZE,
816 .ivsize = DES_BLOCK_SIZE,
824 .base.cra_blocksize = DES_BLOCK_SIZE,
836 .base.cra_blocksize = DES_BLOCK_SIZE,
844 .ivsize = DES_BLOCK_SIZE,
H A Domap-des.c40 #define DES_BLOCK_WORDS (DES_BLOCK_SIZE >> 2)
538 ret = omap_crypto_align_sg(&dd->in_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req()
544 ret = omap_crypto_align_sg(&dd->out_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req()
630 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) in omap_des_crypt()
719 .base.cra_blocksize = DES_BLOCK_SIZE,
739 .base.cra_blocksize = DES_BLOCK_SIZE,
745 .ivsize = DES_BLOCK_SIZE,
884 BUG_ON(dd->total < DES_BLOCK_SIZE); in omap_des_irq()
886 dd->total -= DES_BLOCK_SIZE; in omap_des_irq()
H A Dsa2ul.c2027 .base.cra_blocksize = DES_BLOCK_SIZE,
2034 .ivsize = DES_BLOCK_SIZE,
2050 .base.cra_blocksize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/inside-secure/
H A Dsafexcel_cipher.c1458 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_skcipher_des_cbc_cra_init()
1473 .ivsize = DES_BLOCK_SIZE,
2036 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha1_des_cra_init()
2048 .ivsize = DES_BLOCK_SIZE,
2073 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha256_des_cra_init()
2085 .ivsize = DES_BLOCK_SIZE,
2110 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha224_des_cra_init()
2122 .ivsize = DES_BLOCK_SIZE,
2147 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha512_des_cra_init()
2159 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-6.15/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-core.c137 .ivsize = DES_BLOCK_SIZE,
142 .cra_blocksize = DES_BLOCK_SIZE,
163 .cra_blocksize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/qce/
H A Dskcipher.c402 .blocksize = DES_BLOCK_SIZE,
411 .blocksize = DES_BLOCK_SIZE,
412 .ivsize = DES_BLOCK_SIZE,
H A Daead.c705 .blocksize = DES_BLOCK_SIZE,
706 .ivsize = DES_BLOCK_SIZE,
721 .blocksize = DES_BLOCK_SIZE,
722 .ivsize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/marvell/cesa/
H A Dcipher.c524 .cra_blocksize = DES_BLOCK_SIZE,
539 memcpy(tmpl->ctx.skcipher.iv, req->iv, DES_BLOCK_SIZE); in mv_cesa_cbc_des_op()
568 .ivsize = DES_BLOCK_SIZE,
575 .cra_blocksize = DES_BLOCK_SIZE,
/linux-6.15/crypto/
H A Ddes_generic.c90 .cra_blocksize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/intel/ixp4xx/
H A Dixp4xx_crypto.c1319 .base.cra_blocksize = DES_BLOCK_SIZE,
1323 .ivsize = DES_BLOCK_SIZE,
1331 .base.cra_blocksize = DES_BLOCK_SIZE,
1413 .cra_blocksize = DES_BLOCK_SIZE,
1415 .ivsize = DES_BLOCK_SIZE,
1438 .cra_blocksize = DES_BLOCK_SIZE,
1440 .ivsize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/bcm/
H A Dcipher.c3225 .cra_blocksize = DES_BLOCK_SIZE,
3231 .ivsize = DES_BLOCK_SIZE,
3250 .cra_blocksize = DES_BLOCK_SIZE,
3256 .ivsize = DES_BLOCK_SIZE,
3275 .cra_blocksize = DES_BLOCK_SIZE,
3281 .ivsize = DES_BLOCK_SIZE,
3300 .cra_blocksize = DES_BLOCK_SIZE,
3306 .ivsize = DES_BLOCK_SIZE,
3331 .ivsize = DES_BLOCK_SIZE,
3356 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-6.15/drivers/crypto/cavium/cpt/
H A Dcptvf_algs.c401 .ivsize = DES_BLOCK_SIZE,
419 .ivsize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/ccree/
H A Dcc_cipher.c132 if (IS_ALIGNED(size, DES_BLOCK_SIZE)) in validate_data_size()
1255 .blocksize = DES_BLOCK_SIZE,
1262 .ivsize = DES_BLOCK_SIZE,
1272 .blocksize = DES_BLOCK_SIZE,
/linux-6.15/drivers/crypto/hisilicon/sec/
H A Dsec_algs.c1020 .cra_blocksize = DES_BLOCK_SIZE,
1040 .cra_blocksize = DES_BLOCK_SIZE,
1052 .ivsize = DES_BLOCK_SIZE,

12