Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/crypto/
Ddes_s390.c29 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/
Ddes_glue.c91 #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/
Datmel-tdes.c353 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 …]
Domap-des.c48 #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 …]
Dpicoxcell_crypto.c1288 .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,
Dixp4xx_crypto.c1192 .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,
Dn2_core.c1155 .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,
Dtalitos.c2752 .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/
Ddes.h11 #define DES_BLOCK_SIZE 8 macro
15 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
/Linux-v4.19/drivers/crypto/rockchip/
Drk3288_crypto_ablkcipher.c207 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/
Dcaamalg_qi.c1596 .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 …]
Dcaamalg.c1894 .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/
Dstm32-cryp.c928 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/
Dsun4i-ss-core.c131 .ivsize = DES_BLOCK_SIZE,
136 .cra_blocksize = DES_BLOCK_SIZE,
156 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v4.19/drivers/crypto/qce/
Dablkcipher.c312 .blocksize = DES_BLOCK_SIZE,
321 .blocksize = DES_BLOCK_SIZE,
322 .ivsize = DES_BLOCK_SIZE,
/Linux-v4.19/drivers/crypto/marvell/
Dcipher.c526 .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/
Dsafexcel_cipher.c67 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/
Dcipher.c3382 .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/
Dcptvf_algs.c451 .ivsize = DES_BLOCK_SIZE,
472 .ivsize = DES_BLOCK_SIZE,
/Linux-v4.19/drivers/crypto/hisilicon/sec/
Dsec_algs.c1023 .cra_blocksize = DES_BLOCK_SIZE,
1042 .cra_blocksize = DES_BLOCK_SIZE,
1054 .ivsize = DES_BLOCK_SIZE,
/Linux-v4.19/drivers/crypto/ccree/
Dcc_cipher.c122 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,
Dcc_aead.c1338 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/
Dcryp_core.c1219 .cra_blocksize = DES_BLOCK_SIZE,
1270 .cra_blocksize = DES_BLOCK_SIZE,
1320 .cra_blocksize = DES_BLOCK_SIZE,
/Linux-v4.19/crypto/
Ddes_generic.c959 .cra_blocksize = DES_BLOCK_SIZE,