| /Linux-v5.4/arch/s390/crypto/ |
| D | des_s390.c | 30 u8 iv[DES_BLOCK_SIZE]; 52 cpacf_km(CPACF_KM_DEA, ctx->key, out, in, DES_BLOCK_SIZE); in s390_des_encrypt() 60 ctx->key, out, in, DES_BLOCK_SIZE); in s390_des_decrypt() 68 .cra_blocksize = DES_BLOCK_SIZE, 90 while ((nbytes = walk->nbytes) >= DES_BLOCK_SIZE) { in ecb_desall_crypt() 92 n = nbytes & ~(DES_BLOCK_SIZE - 1); in ecb_desall_crypt() 107 u8 iv[DES_BLOCK_SIZE]; in cbc_desall_crypt() 112 memcpy(param.iv, walk->iv, DES_BLOCK_SIZE); in cbc_desall_crypt() 114 while ((nbytes = walk->nbytes) >= DES_BLOCK_SIZE) { in cbc_desall_crypt() 116 n = nbytes & ~(DES_BLOCK_SIZE - 1); in cbc_desall_crypt() [all …]
|
| /Linux-v5.4/arch/sparc/crypto/ |
| D | des_glue.c | 88 #define DES_BLOCK_MASK (~(DES_BLOCK_SIZE - 1)) 114 nbytes &= DES_BLOCK_SIZE - 1; in __ecb_crypt() 159 nbytes &= DES_BLOCK_SIZE - 1; in cbc_encrypt() 190 nbytes &= DES_BLOCK_SIZE - 1; in cbc_decrypt() 281 nbytes &= DES_BLOCK_SIZE - 1; in __ecb3_crypt() 331 nbytes &= DES_BLOCK_SIZE - 1; in cbc3_encrypt() 367 nbytes &= DES_BLOCK_SIZE - 1; in cbc3_decrypt() 379 .cra_blocksize = DES_BLOCK_SIZE, 397 .cra_blocksize = DES_BLOCK_SIZE, 416 .cra_blocksize = DES_BLOCK_SIZE, [all …]
|
| /Linux-v5.4/include/crypto/ |
| D | des.h | 13 #define DES_BLOCK_SIZE 8 macro 17 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
|
| /Linux-v5.4/drivers/crypto/rockchip/ |
| D | rk3288_crypto_ablkcipher.c | 209 if (block == DES_BLOCK_SIZE) { in rk_ablk_hw_init() 329 if (ivsize == DES_BLOCK_SIZE) in rk_update_iv() 463 .cra_blocksize = DES_BLOCK_SIZE, 488 .cra_blocksize = DES_BLOCK_SIZE, 498 .ivsize = DES_BLOCK_SIZE, 514 .cra_blocksize = DES_BLOCK_SIZE, 524 .ivsize = DES_BLOCK_SIZE, 540 .cra_blocksize = DES_BLOCK_SIZE, 550 .ivsize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/ |
| D | atmel-tdes.c | 350 dd->buflen &= ~(DES_BLOCK_SIZE - 1); in atmel_tdes_buff_init() 693 if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { in atmel_tdes_crypt() 697 ctx->block_size = DES_BLOCK_SIZE; in atmel_tdes_crypt() 897 .cra_blocksize = DES_BLOCK_SIZE, 916 .cra_blocksize = DES_BLOCK_SIZE, 925 .ivsize = DES_BLOCK_SIZE, 936 .cra_blocksize = DES_BLOCK_SIZE, 945 .ivsize = DES_BLOCK_SIZE, 965 .ivsize = DES_BLOCK_SIZE, 985 .ivsize = DES_BLOCK_SIZE, [all …]
|
| D | omap-des.c | 44 #define DES_BLOCK_WORDS (DES_BLOCK_SIZE >> 2) 551 ret = omap_crypto_align_sg(&dd->in_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req() 557 ret = omap_crypto_align_sg(&dd->out_sg, dd->total, DES_BLOCK_SIZE, in omap_des_prepare_req() 633 if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { in omap_des_crypt() 740 .cra_blocksize = DES_BLOCK_SIZE, 762 .cra_blocksize = DES_BLOCK_SIZE, 772 .ivsize = DES_BLOCK_SIZE, 785 .cra_blocksize = DES_BLOCK_SIZE, 807 .cra_blocksize = DES_BLOCK_SIZE, 817 .ivsize = DES_BLOCK_SIZE, [all …]
|
| D | picoxcell_crypto.c | 1286 .key_offs = DES_BLOCK_SIZE, 1296 .cra_blocksize = DES_BLOCK_SIZE, 1306 .ivsize = DES_BLOCK_SIZE, 1313 .key_offs = DES_BLOCK_SIZE, 1323 .cra_blocksize = DES_BLOCK_SIZE, 1339 .key_offs = DES_BLOCK_SIZE, 1366 .key_offs = DES_BLOCK_SIZE, 1485 .key_offs = DES_BLOCK_SIZE, 1515 .key_offs = DES_BLOCK_SIZE, 1546 .key_offs = DES_BLOCK_SIZE,
|
| D | ixp4xx_crypto.c | 1216 .cra_blocksize = DES_BLOCK_SIZE, 1220 .ivsize = DES_BLOCK_SIZE, 1230 .cra_blocksize = DES_BLOCK_SIZE, 1326 .cra_blocksize = DES_BLOCK_SIZE, 1328 .ivsize = DES_BLOCK_SIZE, 1351 .cra_blocksize = DES_BLOCK_SIZE, 1353 .ivsize = DES_BLOCK_SIZE,
|
| D | n2_core.c | 1147 .block_size = DES_BLOCK_SIZE, 1160 .block_size = DES_BLOCK_SIZE, 1164 .ivsize = DES_BLOCK_SIZE, 1174 .block_size = DES_BLOCK_SIZE, 1189 .block_size = DES_BLOCK_SIZE, 1202 .block_size = DES_BLOCK_SIZE, 1206 .ivsize = DES_BLOCK_SIZE, 1216 .block_size = DES_BLOCK_SIZE,
|
| D | talitos.c | 2758 .cra_blocksize = DES_BLOCK_SIZE, 2774 .cra_blocksize = DES_BLOCK_SIZE, 2780 .ivsize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/caam/ |
| D | caamalg_qi.c | 1475 .cra_blocksize = DES_BLOCK_SIZE, 1482 .ivsize = DES_BLOCK_SIZE, 2152 .cra_blocksize = DES_BLOCK_SIZE, 2158 .ivsize = DES_BLOCK_SIZE, 2174 .cra_blocksize = DES_BLOCK_SIZE, 2180 .ivsize = DES_BLOCK_SIZE, 2196 .cra_blocksize = DES_BLOCK_SIZE, 2202 .ivsize = DES_BLOCK_SIZE, 2218 .cra_blocksize = DES_BLOCK_SIZE, 2224 .ivsize = DES_BLOCK_SIZE, [all …]
|
| D | caamalg.c | 1948 .cra_blocksize = DES_BLOCK_SIZE, 1955 .ivsize = DES_BLOCK_SIZE, 2021 .cra_blocksize = DES_BLOCK_SIZE, 2808 .cra_blocksize = DES_BLOCK_SIZE, 2814 .ivsize = DES_BLOCK_SIZE, 2830 .cra_blocksize = DES_BLOCK_SIZE, 2836 .ivsize = DES_BLOCK_SIZE, 2852 .cra_blocksize = DES_BLOCK_SIZE, 2858 .ivsize = DES_BLOCK_SIZE, 2874 .cra_blocksize = DES_BLOCK_SIZE, [all …]
|
| D | caamalg_qi2.c | 1637 .cra_blocksize = DES_BLOCK_SIZE, 1644 .ivsize = DES_BLOCK_SIZE, 2330 .cra_blocksize = DES_BLOCK_SIZE, 2336 .ivsize = DES_BLOCK_SIZE, 2352 .cra_blocksize = DES_BLOCK_SIZE, 2358 .ivsize = DES_BLOCK_SIZE, 2374 .cra_blocksize = DES_BLOCK_SIZE, 2380 .ivsize = DES_BLOCK_SIZE, 2396 .cra_blocksize = DES_BLOCK_SIZE, 2402 .ivsize = DES_BLOCK_SIZE, [all …]
|
| /Linux-v5.4/drivers/crypto/stm32/ |
| D | stm32-cryp.c | 936 cryp->hw_blocksize = is_aes(cryp) ? AES_BLOCK_SIZE : DES_BLOCK_SIZE; in stm32_cryp_prepare_req() 1796 .cra_blocksize = DES_BLOCK_SIZE, 1803 .min_keysize = DES_BLOCK_SIZE, 1804 .max_keysize = DES_BLOCK_SIZE, 1816 .cra_blocksize = DES_BLOCK_SIZE, 1823 .min_keysize = DES_BLOCK_SIZE, 1824 .max_keysize = DES_BLOCK_SIZE, 1825 .ivsize = DES_BLOCK_SIZE, 1837 .cra_blocksize = DES_BLOCK_SIZE, 1844 .min_keysize = 3 * DES_BLOCK_SIZE, [all …]
|
| /Linux-v5.4/drivers/crypto/sunxi-ss/ |
| D | sun4i-ss-core.c | 128 .ivsize = DES_BLOCK_SIZE, 133 .cra_blocksize = DES_BLOCK_SIZE, 154 .cra_blocksize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/qce/ |
| D | ablkcipher.c | 320 .blocksize = DES_BLOCK_SIZE, 329 .blocksize = DES_BLOCK_SIZE, 330 .ivsize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/marvell/ |
| D | cipher.c | 511 .cra_blocksize = DES_BLOCK_SIZE, 526 memcpy(tmpl->ctx.blkcipher.iv, req->iv, DES_BLOCK_SIZE); in mv_cesa_cbc_des_op() 555 .ivsize = DES_BLOCK_SIZE, 561 .cra_blocksize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/crypto/ |
| D | des_generic.c | 96 .cra_blocksize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/bcm/ |
| D | cipher.c | 3317 .cra_blocksize = DES_BLOCK_SIZE, 3321 .ivsize = DES_BLOCK_SIZE, 3340 .cra_blocksize = DES_BLOCK_SIZE, 3344 .ivsize = DES_BLOCK_SIZE, 3363 .cra_blocksize = DES_BLOCK_SIZE, 3367 .ivsize = DES_BLOCK_SIZE, 3386 .cra_blocksize = DES_BLOCK_SIZE, 3390 .ivsize = DES_BLOCK_SIZE, 3409 .cra_blocksize = DES_BLOCK_SIZE, 3413 .ivsize = DES_BLOCK_SIZE, [all …]
|
| /Linux-v5.4/drivers/crypto/cavium/cpt/ |
| D | cptvf_algs.c | 439 .ivsize = DES_BLOCK_SIZE, 460 .ivsize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/hisilicon/sec/ |
| D | sec_algs.c | 1013 .cra_blocksize = DES_BLOCK_SIZE, 1032 .cra_blocksize = DES_BLOCK_SIZE, 1044 .ivsize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/ccree/ |
| D | cc_cipher.c | 138 if (IS_ALIGNED(size, DES_BLOCK_SIZE)) in validate_data_size() 1473 .blocksize = DES_BLOCK_SIZE, 1480 .ivsize = DES_BLOCK_SIZE, 1490 .blocksize = DES_BLOCK_SIZE,
|
| D | cc_aead.c | 1359 if (!IS_ALIGNED(cipherlen, DES_BLOCK_SIZE)) in validate_data_size() 1361 if (!IS_ALIGNED(assoclen, DES_BLOCK_SIZE)) in validate_data_size()
|
| /Linux-v5.4/drivers/crypto/inside-secure/ |
| D | safexcel_cipher.c | 108 block_sz = DES_BLOCK_SIZE; in safexcel_cipher_token() 1391 .ivsize = DES_BLOCK_SIZE, 1398 .cra_blocksize = DES_BLOCK_SIZE, 1433 .cra_blocksize = DES_BLOCK_SIZE,
|
| /Linux-v5.4/drivers/crypto/ux500/cryp/ |
| D | cryp_core.c | 1189 .cra_blocksize = DES_BLOCK_SIZE, 1239 .cra_blocksize = DES_BLOCK_SIZE,
|