Home
last modified time | relevance | path

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

/linux-4.1.27/arch/s390/crypto/
Ddes_s390.c31 u8 iv[DES_BLOCK_SIZE];
56 crypt_s390_km(KM_DEA_ENCRYPT, ctx->key, out, in, DES_BLOCK_SIZE); in des_encrypt()
63 crypt_s390_km(KM_DEA_DECRYPT, ctx->key, out, in, DES_BLOCK_SIZE); in des_decrypt()
71 .cra_blocksize = DES_BLOCK_SIZE,
93 unsigned int n = nbytes & ~(DES_BLOCK_SIZE - 1); in ecb_desall_crypt()
101 nbytes &= DES_BLOCK_SIZE - 1; in ecb_desall_crypt()
115 u8 iv[DES_BLOCK_SIZE]; in cbc_desall_crypt()
122 memcpy(param.iv, walk->iv, DES_BLOCK_SIZE); in cbc_desall_crypt()
126 unsigned int n = nbytes & ~(DES_BLOCK_SIZE - 1); in cbc_desall_crypt()
134 nbytes &= DES_BLOCK_SIZE - 1; in cbc_desall_crypt()
[all …]
/linux-4.1.27/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-4.1.27/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()
925 .cra_blocksize = DES_BLOCK_SIZE,
945 .cra_blocksize = DES_BLOCK_SIZE,
955 .ivsize = DES_BLOCK_SIZE,
966 .cra_blocksize = DES_BLOCK_SIZE,
976 .ivsize = DES_BLOCK_SIZE,
997 .ivsize = DES_BLOCK_SIZE,
1018 .ivsize = DES_BLOCK_SIZE,
[all …]
Domap-des.c45 #define DES_BLOCK_WORDS (DES_BLOCK_SIZE >> 2)
547 if (!IS_ALIGNED(sg->length, DES_BLOCK_SIZE)) in omap_des_copy_needed()
711 if (!IS_ALIGNED(req->nbytes, DES_BLOCK_SIZE)) { in omap_des_crypt()
787 .cra_blocksize = DES_BLOCK_SIZE,
809 .cra_blocksize = DES_BLOCK_SIZE,
819 .ivsize = DES_BLOCK_SIZE,
832 .cra_blocksize = DES_BLOCK_SIZE,
854 .cra_blocksize = DES_BLOCK_SIZE,
864 .ivsize = DES_BLOCK_SIZE,
965 BUG_ON(dd->total < DES_BLOCK_SIZE); in omap_des_irq()
[all …]
Dpicoxcell_crypto.c1355 .key_offs = DES_BLOCK_SIZE,
1365 .cra_blocksize = DES_BLOCK_SIZE,
1375 .ivsize = DES_BLOCK_SIZE,
1382 .key_offs = DES_BLOCK_SIZE,
1392 .cra_blocksize = DES_BLOCK_SIZE,
1408 .key_offs = DES_BLOCK_SIZE,
1435 .key_offs = DES_BLOCK_SIZE,
1549 .key_offs = DES_BLOCK_SIZE,
1578 .key_offs = DES_BLOCK_SIZE,
1608 .key_offs = DES_BLOCK_SIZE,
Dixp4xx_crypto.c1215 .cra_blocksize = DES_BLOCK_SIZE,
1219 .ivsize = DES_BLOCK_SIZE,
1230 .cra_blocksize = DES_BLOCK_SIZE,
1324 .cra_blocksize = DES_BLOCK_SIZE,
1326 .ivsize = DES_BLOCK_SIZE,
1350 .cra_blocksize = DES_BLOCK_SIZE,
1352 .ivsize = DES_BLOCK_SIZE,
Dn2_core.c1140 .block_size = DES_BLOCK_SIZE,
1153 .block_size = DES_BLOCK_SIZE,
1157 .ivsize = DES_BLOCK_SIZE,
1167 .block_size = DES_BLOCK_SIZE,
1182 .block_size = DES_BLOCK_SIZE,
1195 .block_size = DES_BLOCK_SIZE,
1199 .ivsize = DES_BLOCK_SIZE,
1209 .block_size = DES_BLOCK_SIZE,
/linux-4.1.27/include/crypto/
Ddes.h10 #define DES_BLOCK_SIZE 8 macro
14 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
/linux-4.1.27/drivers/crypto/qce/
Dablkcipher.c312 .blocksize = DES_BLOCK_SIZE,
321 .blocksize = DES_BLOCK_SIZE,
322 .ivsize = DES_BLOCK_SIZE,
/linux-4.1.27/drivers/crypto/caam/
Dcaamalg.c3753 .blocksize = DES_BLOCK_SIZE,
3762 .ivsize = DES_BLOCK_SIZE,
3772 .blocksize = DES_BLOCK_SIZE,
3781 .ivsize = DES_BLOCK_SIZE,
3791 .blocksize = DES_BLOCK_SIZE,
3800 .ivsize = DES_BLOCK_SIZE,
3811 .blocksize = DES_BLOCK_SIZE,
3820 .ivsize = DES_BLOCK_SIZE,
3831 .blocksize = DES_BLOCK_SIZE,
3840 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-4.1.27/drivers/crypto/ux500/cryp/
Dcryp_core.c1218 .cra_blocksize = DES_BLOCK_SIZE,
1269 .cra_blocksize = DES_BLOCK_SIZE,
1319 .cra_blocksize = DES_BLOCK_SIZE,
/linux-4.1.27/crypto/
Ddes_generic.c959 .cra_blocksize = DES_BLOCK_SIZE,