/Linux-v4.19/arch/s390/crypto/ |
D | des_s390.c | 29 u8 iv[DES_BLOCK_SIZE]; 54 cpacf_km(CPACF_KM_DEA, ctx->key, out, in, DES_BLOCK_SIZE); in des_encrypt() 62 ctx->key, out, in, DES_BLOCK_SIZE); in des_decrypt() 70 .cra_blocksize = DES_BLOCK_SIZE, 92 while ((nbytes = walk->nbytes) >= DES_BLOCK_SIZE) { in ecb_desall_crypt() 94 n = nbytes & ~(DES_BLOCK_SIZE - 1); in ecb_desall_crypt() 109 u8 iv[DES_BLOCK_SIZE]; in cbc_desall_crypt() 114 memcpy(param.iv, walk->iv, DES_BLOCK_SIZE); in cbc_desall_crypt() 116 while ((nbytes = walk->nbytes) >= DES_BLOCK_SIZE) { in cbc_desall_crypt() 118 n = nbytes & ~(DES_BLOCK_SIZE - 1); in cbc_desall_crypt() [all …]
|
/Linux-v4.19/arch/sparc/crypto/ |
D | des_glue.c | 91 #define DES_BLOCK_MASK (~(DES_BLOCK_SIZE - 1)) 117 nbytes &= DES_BLOCK_SIZE - 1; in __ecb_crypt() 162 nbytes &= DES_BLOCK_SIZE - 1; in cbc_encrypt() 193 nbytes &= DES_BLOCK_SIZE - 1; in cbc_decrypt() 288 nbytes &= DES_BLOCK_SIZE - 1; in __ecb3_crypt() 338 nbytes &= DES_BLOCK_SIZE - 1; in cbc3_encrypt() 374 nbytes &= DES_BLOCK_SIZE - 1; in cbc3_decrypt() 386 .cra_blocksize = DES_BLOCK_SIZE, 404 .cra_blocksize = DES_BLOCK_SIZE, 423 .cra_blocksize = DES_BLOCK_SIZE, [all …]
|
/Linux-v4.19/drivers/crypto/ |
D | atmel-tdes.c | 353 dd->buflen &= ~(DES_BLOCK_SIZE - 1); in atmel_tdes_buff_init() 696 if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { in atmel_tdes_crypt() 700 ctx->block_size = DES_BLOCK_SIZE; in atmel_tdes_crypt() 920 .cra_blocksize = DES_BLOCK_SIZE, 939 .cra_blocksize = DES_BLOCK_SIZE, 948 .ivsize = DES_BLOCK_SIZE, 959 .cra_blocksize = DES_BLOCK_SIZE, 968 .ivsize = DES_BLOCK_SIZE, 988 .ivsize = DES_BLOCK_SIZE, 1008 .ivsize = DES_BLOCK_SIZE, [all …]
|
D | omap-des.c | 48 #define DES_BLOCK_WORDS (DES_BLOCK_SIZE >> 2) 555 ret = omap_crypto_align_sg(&dd->in_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req() 561 ret = omap_crypto_align_sg(&dd->out_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req() 637 if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { in omap_des_crypt() 736 .cra_blocksize = DES_BLOCK_SIZE, 758 .cra_blocksize = DES_BLOCK_SIZE, 768 .ivsize = DES_BLOCK_SIZE, 781 .cra_blocksize = DES_BLOCK_SIZE, 803 .cra_blocksize = DES_BLOCK_SIZE, 813 .ivsize = DES_BLOCK_SIZE, [all …]
|
D | picoxcell_crypto.c | 1288 .key_offs = DES_BLOCK_SIZE, 1298 .cra_blocksize = DES_BLOCK_SIZE, 1308 .ivsize = DES_BLOCK_SIZE, 1315 .key_offs = DES_BLOCK_SIZE, 1325 .cra_blocksize = DES_BLOCK_SIZE, 1341 .key_offs = DES_BLOCK_SIZE, 1368 .key_offs = DES_BLOCK_SIZE, 1487 .key_offs = DES_BLOCK_SIZE, 1517 .key_offs = DES_BLOCK_SIZE, 1548 .key_offs = DES_BLOCK_SIZE,
|
D | ixp4xx_crypto.c | 1192 .cra_blocksize = DES_BLOCK_SIZE, 1196 .ivsize = DES_BLOCK_SIZE, 1207 .cra_blocksize = DES_BLOCK_SIZE, 1305 .cra_blocksize = DES_BLOCK_SIZE, 1307 .ivsize = DES_BLOCK_SIZE, 1329 .cra_blocksize = DES_BLOCK_SIZE, 1331 .ivsize = DES_BLOCK_SIZE,
|
D | n2_core.c | 1155 .block_size = DES_BLOCK_SIZE, 1168 .block_size = DES_BLOCK_SIZE, 1172 .ivsize = DES_BLOCK_SIZE, 1182 .block_size = DES_BLOCK_SIZE, 1197 .block_size = DES_BLOCK_SIZE, 1210 .block_size = DES_BLOCK_SIZE, 1214 .ivsize = DES_BLOCK_SIZE, 1224 .block_size = DES_BLOCK_SIZE,
|
D | talitos.c | 2752 .cra_blocksize = DES_BLOCK_SIZE, 2758 .ivsize = DES_BLOCK_SIZE, 2768 .cra_blocksize = DES_BLOCK_SIZE, 2774 .ivsize = DES_BLOCK_SIZE,
|
/Linux-v4.19/include/crypto/ |
D | des.h | 11 #define DES_BLOCK_SIZE 8 macro 15 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
|
/Linux-v4.19/drivers/crypto/rockchip/ |
D | rk3288_crypto_ablkcipher.c | 207 if (block == DES_BLOCK_SIZE) { in rk_ablk_hw_init() 281 if (ivsize == DES_BLOCK_SIZE) in rk_iv_copyback() 415 .cra_blocksize = DES_BLOCK_SIZE, 440 .cra_blocksize = DES_BLOCK_SIZE, 450 .ivsize = DES_BLOCK_SIZE, 466 .cra_blocksize = DES_BLOCK_SIZE, 476 .ivsize = DES_BLOCK_SIZE, 492 .cra_blocksize = DES_BLOCK_SIZE, 502 .ivsize = DES_BLOCK_SIZE,
|
/Linux-v4.19/drivers/crypto/caam/ |
D | caamalg_qi.c | 1596 .blocksize = DES_BLOCK_SIZE, 1606 .ivsize = DES_BLOCK_SIZE, 2267 .cra_blocksize = DES_BLOCK_SIZE, 2273 .ivsize = DES_BLOCK_SIZE, 2289 .cra_blocksize = DES_BLOCK_SIZE, 2295 .ivsize = DES_BLOCK_SIZE, 2311 .cra_blocksize = DES_BLOCK_SIZE, 2317 .ivsize = DES_BLOCK_SIZE, 2333 .cra_blocksize = DES_BLOCK_SIZE, 2339 .ivsize = DES_BLOCK_SIZE, [all …]
|
D | caamalg.c | 1894 .blocksize = DES_BLOCK_SIZE, 1904 .ivsize = DES_BLOCK_SIZE, 2688 .cra_blocksize = DES_BLOCK_SIZE, 2694 .ivsize = DES_BLOCK_SIZE, 2710 .cra_blocksize = DES_BLOCK_SIZE, 2716 .ivsize = DES_BLOCK_SIZE, 2732 .cra_blocksize = DES_BLOCK_SIZE, 2738 .ivsize = DES_BLOCK_SIZE, 2754 .cra_blocksize = DES_BLOCK_SIZE, 2760 .ivsize = DES_BLOCK_SIZE, [all …]
|
/Linux-v4.19/drivers/crypto/stm32/ |
D | stm32-cryp.c | 928 cryp->hw_blocksize = is_aes(cryp) ? AES_BLOCK_SIZE : DES_BLOCK_SIZE; in stm32_cryp_prepare_req() 1790 .cra_blocksize = DES_BLOCK_SIZE, 1797 .min_keysize = DES_BLOCK_SIZE, 1798 .max_keysize = DES_BLOCK_SIZE, 1810 .cra_blocksize = DES_BLOCK_SIZE, 1817 .min_keysize = DES_BLOCK_SIZE, 1818 .max_keysize = DES_BLOCK_SIZE, 1819 .ivsize = DES_BLOCK_SIZE, 1831 .cra_blocksize = DES_BLOCK_SIZE, 1838 .min_keysize = 3 * DES_BLOCK_SIZE, [all …]
|
/Linux-v4.19/drivers/crypto/sunxi-ss/ |
D | sun4i-ss-core.c | 131 .ivsize = DES_BLOCK_SIZE, 136 .cra_blocksize = DES_BLOCK_SIZE, 156 .cra_blocksize = DES_BLOCK_SIZE,
|
/Linux-v4.19/drivers/crypto/qce/ |
D | ablkcipher.c | 312 .blocksize = DES_BLOCK_SIZE, 321 .blocksize = DES_BLOCK_SIZE, 322 .ivsize = DES_BLOCK_SIZE,
|
/Linux-v4.19/drivers/crypto/marvell/ |
D | cipher.c | 526 .cra_blocksize = DES_BLOCK_SIZE, 541 memcpy(tmpl->ctx.blkcipher.iv, req->iv, DES_BLOCK_SIZE); in mv_cesa_cbc_des_op() 570 .ivsize = DES_BLOCK_SIZE, 576 .cra_blocksize = DES_BLOCK_SIZE,
|
/Linux-v4.19/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 67 offset = DES_BLOCK_SIZE / sizeof(u32); in safexcel_skcipher_token() 68 memcpy(cdesc->control_data.token, iv, DES_BLOCK_SIZE); in safexcel_skcipher_token() 968 .ivsize = DES_BLOCK_SIZE, 975 .cra_blocksize = DES_BLOCK_SIZE, 1008 .ivsize = DES_BLOCK_SIZE, 1015 .cra_blocksize = DES_BLOCK_SIZE,
|
/Linux-v4.19/drivers/crypto/bcm/ |
D | cipher.c | 3382 .cra_blocksize = DES_BLOCK_SIZE, 3386 .ivsize = DES_BLOCK_SIZE, 3405 .cra_blocksize = DES_BLOCK_SIZE, 3409 .ivsize = DES_BLOCK_SIZE, 3428 .cra_blocksize = DES_BLOCK_SIZE, 3432 .ivsize = DES_BLOCK_SIZE, 3451 .cra_blocksize = DES_BLOCK_SIZE, 3455 .ivsize = DES_BLOCK_SIZE, 3474 .cra_blocksize = DES_BLOCK_SIZE, 3478 .ivsize = DES_BLOCK_SIZE, [all …]
|
/Linux-v4.19/drivers/crypto/cavium/cpt/ |
D | cptvf_algs.c | 451 .ivsize = DES_BLOCK_SIZE, 472 .ivsize = DES_BLOCK_SIZE,
|
/Linux-v4.19/drivers/crypto/hisilicon/sec/ |
D | sec_algs.c | 1023 .cra_blocksize = DES_BLOCK_SIZE, 1042 .cra_blocksize = DES_BLOCK_SIZE, 1054 .ivsize = DES_BLOCK_SIZE,
|
/Linux-v4.19/drivers/crypto/ccree/ |
D | cc_cipher.c | 122 if (IS_ALIGNED(size, DES_BLOCK_SIZE)) in validate_data_size() 1298 .blocksize = DES_BLOCK_SIZE, 1305 .ivsize = DES_BLOCK_SIZE, 1314 .blocksize = DES_BLOCK_SIZE,
|
D | cc_aead.c | 1338 if (!IS_ALIGNED(cipherlen, DES_BLOCK_SIZE)) in validate_data_size() 1340 if (!IS_ALIGNED(assoclen, DES_BLOCK_SIZE)) in validate_data_size()
|
/Linux-v4.19/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 1219 .cra_blocksize = DES_BLOCK_SIZE, 1270 .cra_blocksize = DES_BLOCK_SIZE, 1320 .cra_blocksize = DES_BLOCK_SIZE,
|
/Linux-v4.19/crypto/ |
D | des_generic.c | 959 .cra_blocksize = DES_BLOCK_SIZE,
|