Home
last modified time | relevance | path

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

12

/Linux-v5.10/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-v5.10/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-v5.10/drivers/crypto/
Datmel-tdes.c86 u8 lastc[DES_BLOCK_SIZE];
337 dd->buflen &= ~(DES_BLOCK_SIZE - 1); in atmel_tdes_buff_init()
721 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) { in atmel_tdes_crypt()
725 ctx->block_size = DES_BLOCK_SIZE; in atmel_tdes_crypt()
925 .base.cra_blocksize = DES_BLOCK_SIZE,
937 .base.cra_blocksize = DES_BLOCK_SIZE,
942 .ivsize = DES_BLOCK_SIZE,
950 .base.cra_blocksize = DES_BLOCK_SIZE,
955 .ivsize = DES_BLOCK_SIZE,
968 .ivsize = DES_BLOCK_SIZE,
[all …]
Domap-des.c45 #define DES_BLOCK_WORDS (DES_BLOCK_SIZE >> 2)
552 ret = omap_crypto_align_sg(&dd->in_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req()
558 ret = omap_crypto_align_sg(&dd->out_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req()
643 if (!IS_ALIGNED(req->cryptlen, DES_BLOCK_SIZE)) in omap_des_crypt()
742 .base.cra_blocksize = DES_BLOCK_SIZE,
759 .base.cra_blocksize = DES_BLOCK_SIZE,
765 .ivsize = DES_BLOCK_SIZE,
901 BUG_ON(dd->total < DES_BLOCK_SIZE); in omap_des_irq()
903 dd->total -= DES_BLOCK_SIZE; in omap_des_irq()
Dpicoxcell_crypto.c1277 .key_offs = DES_BLOCK_SIZE,
1287 .base.cra_blocksize = DES_BLOCK_SIZE,
1296 .ivsize = DES_BLOCK_SIZE,
1302 .key_offs = DES_BLOCK_SIZE,
1312 .base.cra_blocksize = DES_BLOCK_SIZE,
1326 .key_offs = DES_BLOCK_SIZE,
1351 .key_offs = DES_BLOCK_SIZE,
1471 .key_offs = DES_BLOCK_SIZE,
1502 .key_offs = DES_BLOCK_SIZE,
1534 .key_offs = DES_BLOCK_SIZE,
Dixp4xx_crypto.c1199 .base.cra_blocksize = DES_BLOCK_SIZE,
1203 .ivsize = DES_BLOCK_SIZE,
1211 .base.cra_blocksize = DES_BLOCK_SIZE,
1293 .cra_blocksize = DES_BLOCK_SIZE,
1295 .ivsize = DES_BLOCK_SIZE,
1318 .cra_blocksize = DES_BLOCK_SIZE,
1320 .ivsize = DES_BLOCK_SIZE,
Dn2_core.c1097 .block_size = DES_BLOCK_SIZE,
1110 .block_size = DES_BLOCK_SIZE,
1114 .ivsize = DES_BLOCK_SIZE,
1124 .block_size = DES_BLOCK_SIZE,
1139 .block_size = DES_BLOCK_SIZE,
1152 .block_size = DES_BLOCK_SIZE,
1156 .ivsize = DES_BLOCK_SIZE,
1166 .block_size = DES_BLOCK_SIZE,
Dsa2ul.c2003 .base.cra_blocksize = DES_BLOCK_SIZE,
2010 .ivsize = DES_BLOCK_SIZE,
2026 .base.cra_blocksize = DES_BLOCK_SIZE,
Dtalitos.c2767 .base.cra_blocksize = DES_BLOCK_SIZE,
2781 .base.cra_blocksize = DES_BLOCK_SIZE,
2786 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.10/include/crypto/
Ddes.h13 #define DES_BLOCK_SIZE 8 macro
17 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
/Linux-v5.10/drivers/crypto/rockchip/
Drk3288_crypto_skcipher.c208 if (block == DES_BLOCK_SIZE) { in rk_ablk_hw_init()
328 if (ivsize == DES_BLOCK_SIZE) in rk_update_iv()
455 .base.cra_blocksize = DES_BLOCK_SIZE,
477 .base.cra_blocksize = DES_BLOCK_SIZE,
486 .ivsize = DES_BLOCK_SIZE,
500 .base.cra_blocksize = DES_BLOCK_SIZE,
509 .ivsize = DES_BLOCK_SIZE,
523 .base.cra_blocksize = DES_BLOCK_SIZE,
532 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.10/drivers/crypto/caam/
Dcaamalg_qi.c1503 .cra_blocksize = DES_BLOCK_SIZE,
1510 .ivsize = DES_BLOCK_SIZE,
2181 .cra_blocksize = DES_BLOCK_SIZE,
2187 .ivsize = DES_BLOCK_SIZE,
2203 .cra_blocksize = DES_BLOCK_SIZE,
2209 .ivsize = DES_BLOCK_SIZE,
2225 .cra_blocksize = DES_BLOCK_SIZE,
2231 .ivsize = DES_BLOCK_SIZE,
2247 .cra_blocksize = DES_BLOCK_SIZE,
2253 .ivsize = DES_BLOCK_SIZE,
[all …]
Dcaamalg.c1898 .cra_blocksize = DES_BLOCK_SIZE,
1905 .ivsize = DES_BLOCK_SIZE,
1972 .cra_blocksize = DES_BLOCK_SIZE,
2744 .cra_blocksize = DES_BLOCK_SIZE,
2750 .ivsize = DES_BLOCK_SIZE,
2766 .cra_blocksize = DES_BLOCK_SIZE,
2772 .ivsize = DES_BLOCK_SIZE,
2788 .cra_blocksize = DES_BLOCK_SIZE,
2794 .ivsize = DES_BLOCK_SIZE,
2810 .cra_blocksize = DES_BLOCK_SIZE,
[all …]
Dcaamalg_qi2.c1703 .cra_blocksize = DES_BLOCK_SIZE,
1710 .ivsize = DES_BLOCK_SIZE,
2397 .cra_blocksize = DES_BLOCK_SIZE,
2403 .ivsize = DES_BLOCK_SIZE,
2419 .cra_blocksize = DES_BLOCK_SIZE,
2425 .ivsize = DES_BLOCK_SIZE,
2441 .cra_blocksize = DES_BLOCK_SIZE,
2447 .ivsize = DES_BLOCK_SIZE,
2463 .cra_blocksize = DES_BLOCK_SIZE,
2469 .ivsize = DES_BLOCK_SIZE,
[all …]
/Linux-v5.10/drivers/crypto/stm32/
Dstm32-cryp.c941 cryp->hw_blocksize = is_aes(cryp) ? AES_BLOCK_SIZE : DES_BLOCK_SIZE; in stm32_cryp_prepare_req()
1796 .base.cra_blocksize = DES_BLOCK_SIZE,
1802 .min_keysize = DES_BLOCK_SIZE,
1803 .max_keysize = DES_BLOCK_SIZE,
1813 .base.cra_blocksize = DES_BLOCK_SIZE,
1819 .min_keysize = DES_BLOCK_SIZE,
1820 .max_keysize = DES_BLOCK_SIZE,
1821 .ivsize = DES_BLOCK_SIZE,
1831 .base.cra_blocksize = DES_BLOCK_SIZE,
1837 .min_keysize = 3 * DES_BLOCK_SIZE,
[all …]
/Linux-v5.10/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-v5.10/drivers/crypto/inside-secure/
Dsafexcel_cipher.c1514 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_skcipher_des_cbc_cra_init()
1529 .ivsize = DES_BLOCK_SIZE,
1537 .cra_blocksize = DES_BLOCK_SIZE,
1575 .cra_blocksize = DES_BLOCK_SIZE,
2092 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha1_des_cra_init()
2104 .ivsize = DES_BLOCK_SIZE,
2113 .cra_blocksize = DES_BLOCK_SIZE,
2129 ctx->blocksz = DES_BLOCK_SIZE; in safexcel_aead_sha256_des_cra_init()
2141 .ivsize = DES_BLOCK_SIZE,
2150 .cra_blocksize = DES_BLOCK_SIZE,
[all …]
/Linux-v5.10/drivers/crypto/qce/
Dskcipher.c346 .blocksize = DES_BLOCK_SIZE,
355 .blocksize = DES_BLOCK_SIZE,
356 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.10/drivers/crypto/marvell/cesa/
Dcipher.c514 .cra_blocksize = DES_BLOCK_SIZE,
529 memcpy(tmpl->ctx.skcipher.iv, req->iv, DES_BLOCK_SIZE); in mv_cesa_cbc_des_op()
558 .ivsize = DES_BLOCK_SIZE,
565 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v5.10/crypto/
Ddes_generic.c90 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v5.10/drivers/crypto/bcm/
Dcipher.c3260 .cra_blocksize = DES_BLOCK_SIZE,
3266 .ivsize = DES_BLOCK_SIZE,
3285 .cra_blocksize = DES_BLOCK_SIZE,
3291 .ivsize = DES_BLOCK_SIZE,
3310 .cra_blocksize = DES_BLOCK_SIZE,
3316 .ivsize = DES_BLOCK_SIZE,
3335 .cra_blocksize = DES_BLOCK_SIZE,
3341 .ivsize = DES_BLOCK_SIZE,
3360 .cra_blocksize = DES_BLOCK_SIZE,
3366 .ivsize = DES_BLOCK_SIZE,
[all …]
/Linux-v5.10/drivers/crypto/cavium/cpt/
Dcptvf_algs.c427 .ivsize = DES_BLOCK_SIZE,
445 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.10/drivers/crypto/ccree/
Dcc_cipher.c131 if (IS_ALIGNED(size, DES_BLOCK_SIZE)) in validate_data_size()
1293 .blocksize = DES_BLOCK_SIZE,
1300 .ivsize = DES_BLOCK_SIZE,
1310 .blocksize = DES_BLOCK_SIZE,
/Linux-v5.10/drivers/crypto/hisilicon/sec/
Dsec_algs.c1020 .cra_blocksize = DES_BLOCK_SIZE,
1040 .cra_blocksize = DES_BLOCK_SIZE,
1052 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.10/drivers/crypto/ux500/cryp/
Dcryp_core.c1138 .base.cra_blocksize = DES_BLOCK_SIZE,
1178 .base.cra_blocksize = DES_BLOCK_SIZE,
1188 .ivsize = DES_BLOCK_SIZE,

12