Home
last modified time | relevance | path

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

12

/Linux-v6.6/arch/s390/crypto/
Ddes_s390.c31 u8 iv[DES_BLOCK_SIZE];
59 cpacf_km(CPACF_KM_DEA, ctx->key, out, in, DES_BLOCK_SIZE); in s390_des_encrypt()
67 ctx->key, out, in, DES_BLOCK_SIZE); in s390_des_decrypt()
75 .cra_blocksize = DES_BLOCK_SIZE,
100 n = nbytes & ~(DES_BLOCK_SIZE - 1); in ecb_desall_crypt()
116 u8 iv[DES_BLOCK_SIZE]; in cbc_desall_crypt()
123 memcpy(param.iv, walk.iv, DES_BLOCK_SIZE); in cbc_desall_crypt()
127 n = nbytes & ~(DES_BLOCK_SIZE - 1); in cbc_desall_crypt()
130 memcpy(walk.iv, param.iv, DES_BLOCK_SIZE); in cbc_desall_crypt()
150 .base.cra_blocksize = DES_BLOCK_SIZE,
[all …]
/Linux-v6.6/arch/sparc/crypto/
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()
165 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __cbc_crypt()
265 round_down(nbytes, DES_BLOCK_SIZE)); in __ecb3_crypt()
266 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __ecb3_crypt()
313 DES_BLOCK_SIZE), in __cbc3_crypt()
319 DES_BLOCK_SIZE), in __cbc3_crypt()
321 err = skcipher_walk_done(&walk, nbytes % DES_BLOCK_SIZE); in __cbc3_crypt()
[all …]
/Linux-v6.6/drivers/crypto/aspeed/
Daspeed-hace-crypto.c56 !IS_ALIGNED(areq->cryptlen, DES_BLOCK_SIZE)) in aspeed_crypto_need_fallback()
388 memcpy(crypto_engine->cipher_ctx + DES_BLOCK_SIZE, in aspeed_hace_skcipher_trigger()
389 req->iv, DES_BLOCK_SIZE); in aspeed_hace_skcipher_trigger()
417 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) in aspeed_des_crypt()
863 .cra_blocksize = DES_BLOCK_SIZE,
875 .ivsize = DES_BLOCK_SIZE,
890 .cra_blocksize = DES_BLOCK_SIZE,
902 .ivsize = DES_BLOCK_SIZE,
917 .cra_blocksize = DES_BLOCK_SIZE,
929 .ivsize = DES_BLOCK_SIZE,
[all …]
/Linux-v6.6/drivers/crypto/
Datmel-tdes.c86 u8 lastc[DES_BLOCK_SIZE];
329 dd->buflen &= ~(DES_BLOCK_SIZE - 1); in atmel_tdes_buff_init()
709 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) { in atmel_tdes_crypt()
713 ctx->block_size = DES_BLOCK_SIZE; in atmel_tdes_crypt()
912 .base.cra_blocksize = DES_BLOCK_SIZE,
924 .base.cra_blocksize = DES_BLOCK_SIZE,
929 .ivsize = DES_BLOCK_SIZE,
937 .base.cra_blocksize = DES_BLOCK_SIZE,
942 .ivsize = DES_BLOCK_SIZE,
955 .ivsize = DES_BLOCK_SIZE,
[all …]
Domap-des.c41 #define DES_BLOCK_WORDS (DES_BLOCK_SIZE >> 2)
541 ret = omap_crypto_align_sg(&dd->in_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req()
547 ret = omap_crypto_align_sg(&dd->out_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req()
633 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) in omap_des_crypt()
722 .base.cra_blocksize = DES_BLOCK_SIZE,
742 .base.cra_blocksize = DES_BLOCK_SIZE,
748 .ivsize = DES_BLOCK_SIZE,
892 BUG_ON(dd->total < DES_BLOCK_SIZE); in omap_des_irq()
894 dd->total -= DES_BLOCK_SIZE; in omap_des_irq()
Dn2_core.c1099 .block_size = DES_BLOCK_SIZE,
1112 .block_size = DES_BLOCK_SIZE,
1116 .ivsize = DES_BLOCK_SIZE,
1126 .block_size = DES_BLOCK_SIZE,
1141 .block_size = DES_BLOCK_SIZE,
1154 .block_size = DES_BLOCK_SIZE,
1158 .ivsize = DES_BLOCK_SIZE,
1168 .block_size = DES_BLOCK_SIZE,
Dsa2ul.c2028 .base.cra_blocksize = DES_BLOCK_SIZE,
2035 .ivsize = DES_BLOCK_SIZE,
2051 .base.cra_blocksize = DES_BLOCK_SIZE,
Dtalitos.c2788 .base.cra_blocksize = DES_BLOCK_SIZE,
2802 .base.cra_blocksize = DES_BLOCK_SIZE,
2807 .ivsize = DES_BLOCK_SIZE,
/Linux-v6.6/include/crypto/
Ddes.h13 #define DES_BLOCK_SIZE 8 macro
17 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
/Linux-v6.6/drivers/crypto/stm32/
Dstm32-cryp.c1066 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_ecb_encrypt()
1077 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_ecb_decrypt()
1088 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_cbc_encrypt()
1099 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_des_cbc_decrypt()
1110 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_ecb_encrypt()
1121 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_ecb_decrypt()
1132 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_cbc_encrypt()
1143 if (req->cryptlen % DES_BLOCK_SIZE) in stm32_cryp_tdes_cbc_decrypt()
1175 cryp->hw_blocksize = is_aes(cryp) ? AES_BLOCK_SIZE : DES_BLOCK_SIZE; in stm32_cryp_prepare_req()
1758 .base.cra_blocksize = DES_BLOCK_SIZE,
[all …]
/Linux-v6.6/drivers/crypto/caam/
Dcaamalg_qi.c1519 .cra_blocksize = DES_BLOCK_SIZE,
1526 .ivsize = DES_BLOCK_SIZE,
2197 .cra_blocksize = DES_BLOCK_SIZE,
2203 .ivsize = DES_BLOCK_SIZE,
2219 .cra_blocksize = DES_BLOCK_SIZE,
2225 .ivsize = DES_BLOCK_SIZE,
2241 .cra_blocksize = DES_BLOCK_SIZE,
2247 .ivsize = DES_BLOCK_SIZE,
2263 .cra_blocksize = DES_BLOCK_SIZE,
2269 .ivsize = DES_BLOCK_SIZE,
[all …]
Dcaamalg.c1930 .cra_blocksize = DES_BLOCK_SIZE,
1937 .ivsize = DES_BLOCK_SIZE,
2016 .cra_blocksize = DES_BLOCK_SIZE,
2896 .cra_blocksize = DES_BLOCK_SIZE,
2902 .ivsize = DES_BLOCK_SIZE,
2921 .cra_blocksize = DES_BLOCK_SIZE,
2927 .ivsize = DES_BLOCK_SIZE,
2946 .cra_blocksize = DES_BLOCK_SIZE,
2952 .ivsize = DES_BLOCK_SIZE,
2971 .cra_blocksize = DES_BLOCK_SIZE,
[all …]
Dcaamalg_qi2.c1711 .cra_blocksize = DES_BLOCK_SIZE,
1718 .ivsize = DES_BLOCK_SIZE,
2405 .cra_blocksize = DES_BLOCK_SIZE,
2411 .ivsize = DES_BLOCK_SIZE,
2427 .cra_blocksize = DES_BLOCK_SIZE,
2433 .ivsize = DES_BLOCK_SIZE,
2449 .cra_blocksize = DES_BLOCK_SIZE,
2455 .ivsize = DES_BLOCK_SIZE,
2471 .cra_blocksize = DES_BLOCK_SIZE,
2477 .ivsize = DES_BLOCK_SIZE,
[all …]
/Linux-v6.6/drivers/crypto/rockchip/
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-v6.6/drivers/crypto/inside-secure/
Dsafexcel_cipher.c1531 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_skcipher_des_cbc_cra_init()
1546 .ivsize = DES_BLOCK_SIZE,
1554 .cra_blocksize = DES_BLOCK_SIZE,
1592 .cra_blocksize = DES_BLOCK_SIZE,
2109 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha1_des_cra_init()
2121 .ivsize = DES_BLOCK_SIZE,
2130 .cra_blocksize = DES_BLOCK_SIZE,
2146 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha256_des_cra_init()
2158 .ivsize = DES_BLOCK_SIZE,
2167 .cra_blocksize = DES_BLOCK_SIZE,
[all …]
/Linux-v6.6/drivers/crypto/allwinner/sun4i-ss/
Dsun4i-ss-core.c139 .ivsize = DES_BLOCK_SIZE,
144 .cra_blocksize = DES_BLOCK_SIZE,
165 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v6.6/drivers/crypto/qce/
Dskcipher.c402 .blocksize = DES_BLOCK_SIZE,
411 .blocksize = DES_BLOCK_SIZE,
412 .ivsize = DES_BLOCK_SIZE,
Daead.c705 .blocksize = DES_BLOCK_SIZE,
706 .ivsize = DES_BLOCK_SIZE,
721 .blocksize = DES_BLOCK_SIZE,
722 .ivsize = DES_BLOCK_SIZE,
/Linux-v6.6/drivers/crypto/marvell/cesa/
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-v6.6/crypto/
Ddes_generic.c90 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v6.6/drivers/crypto/bcm/
Dcipher.c3221 .cra_blocksize = DES_BLOCK_SIZE,
3227 .ivsize = DES_BLOCK_SIZE,
3246 .cra_blocksize = DES_BLOCK_SIZE,
3252 .ivsize = DES_BLOCK_SIZE,
3271 .cra_blocksize = DES_BLOCK_SIZE,
3277 .ivsize = DES_BLOCK_SIZE,
3296 .cra_blocksize = DES_BLOCK_SIZE,
3302 .ivsize = DES_BLOCK_SIZE,
3321 .cra_blocksize = DES_BLOCK_SIZE,
3327 .ivsize = DES_BLOCK_SIZE,
[all …]
/Linux-v6.6/drivers/crypto/intel/ixp4xx/
Dixp4xx_crypto.c1316 .base.cra_blocksize = DES_BLOCK_SIZE,
1320 .ivsize = DES_BLOCK_SIZE,
1328 .base.cra_blocksize = DES_BLOCK_SIZE,
1410 .cra_blocksize = DES_BLOCK_SIZE,
1412 .ivsize = DES_BLOCK_SIZE,
1435 .cra_blocksize = DES_BLOCK_SIZE,
1437 .ivsize = DES_BLOCK_SIZE,
/Linux-v6.6/drivers/crypto/cavium/cpt/
Dcptvf_algs.c425 .ivsize = DES_BLOCK_SIZE,
443 .ivsize = DES_BLOCK_SIZE,
/Linux-v6.6/drivers/crypto/ccree/
Dcc_cipher.c132 if (IS_ALIGNED(size, DES_BLOCK_SIZE)) in validate_data_size()
1296 .blocksize = DES_BLOCK_SIZE,
1303 .ivsize = DES_BLOCK_SIZE,
1313 .blocksize = DES_BLOCK_SIZE,
/Linux-v6.6/drivers/crypto/hisilicon/sec/
Dsec_algs.c1020 .cra_blocksize = DES_BLOCK_SIZE,
1040 .cra_blocksize = DES_BLOCK_SIZE,
1052 .ivsize = DES_BLOCK_SIZE,

12