Home
last modified time | relevance | path

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

/Linux-v5.4/arch/s390/crypto/
Ddes_s390.c30 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/
Ddes_glue.c88 #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/
Ddes.h13 #define DES_BLOCK_SIZE 8 macro
17 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
/Linux-v5.4/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c209 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/
Datmel-tdes.c350 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 …]
Domap-des.c44 #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 …]
Dpicoxcell_crypto.c1286 .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,
Dixp4xx_crypto.c1216 .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,
Dn2_core.c1147 .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,
Dtalitos.c2758 .cra_blocksize = DES_BLOCK_SIZE,
2774 .cra_blocksize = DES_BLOCK_SIZE,
2780 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.4/drivers/crypto/caam/
Dcaamalg_qi.c1475 .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 …]
Dcaamalg.c1948 .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 …]
Dcaamalg_qi2.c1637 .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/
Dstm32-cryp.c936 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/
Dsun4i-ss-core.c128 .ivsize = DES_BLOCK_SIZE,
133 .cra_blocksize = DES_BLOCK_SIZE,
154 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v5.4/drivers/crypto/qce/
Dablkcipher.c320 .blocksize = DES_BLOCK_SIZE,
329 .blocksize = DES_BLOCK_SIZE,
330 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.4/drivers/crypto/marvell/
Dcipher.c511 .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/
Ddes_generic.c96 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v5.4/drivers/crypto/bcm/
Dcipher.c3317 .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/
Dcptvf_algs.c439 .ivsize = DES_BLOCK_SIZE,
460 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.4/drivers/crypto/hisilicon/sec/
Dsec_algs.c1013 .cra_blocksize = DES_BLOCK_SIZE,
1032 .cra_blocksize = DES_BLOCK_SIZE,
1044 .ivsize = DES_BLOCK_SIZE,
/Linux-v5.4/drivers/crypto/ccree/
Dcc_cipher.c138 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,
Dcc_aead.c1359 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/
Dsafexcel_cipher.c108 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/
Dcryp_core.c1189 .cra_blocksize = DES_BLOCK_SIZE,
1239 .cra_blocksize = DES_BLOCK_SIZE,