Home
last modified time | relevance | path

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

/linux-4.4.14/arch/s390/crypto/
Ddes_s390.c32 u8 iv[DES_BLOCK_SIZE];
57 crypt_s390_km(KM_DEA_ENCRYPT, ctx->key, out, in, DES_BLOCK_SIZE); in des_encrypt()
64 crypt_s390_km(KM_DEA_DECRYPT, ctx->key, out, in, DES_BLOCK_SIZE); in des_decrypt()
72 .cra_blocksize = DES_BLOCK_SIZE,
94 unsigned int n = nbytes & ~(DES_BLOCK_SIZE - 1); in ecb_desall_crypt()
102 nbytes &= DES_BLOCK_SIZE - 1; in ecb_desall_crypt()
116 u8 iv[DES_BLOCK_SIZE]; in cbc_desall_crypt()
123 memcpy(param.iv, walk->iv, DES_BLOCK_SIZE); in cbc_desall_crypt()
127 unsigned int n = nbytes & ~(DES_BLOCK_SIZE - 1); in cbc_desall_crypt()
135 nbytes &= DES_BLOCK_SIZE - 1; in cbc_desall_crypt()
[all …]
/linux-4.4.14/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.4.14/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.c1266 .key_offs = DES_BLOCK_SIZE,
1276 .cra_blocksize = DES_BLOCK_SIZE,
1286 .ivsize = DES_BLOCK_SIZE,
1293 .key_offs = DES_BLOCK_SIZE,
1303 .cra_blocksize = DES_BLOCK_SIZE,
1319 .key_offs = DES_BLOCK_SIZE,
1346 .key_offs = DES_BLOCK_SIZE,
1465 .key_offs = DES_BLOCK_SIZE,
1495 .key_offs = DES_BLOCK_SIZE,
1526 .key_offs = DES_BLOCK_SIZE,
Dixp4xx_crypto.c1196 .cra_blocksize = DES_BLOCK_SIZE,
1200 .ivsize = DES_BLOCK_SIZE,
1211 .cra_blocksize = DES_BLOCK_SIZE,
1309 .cra_blocksize = DES_BLOCK_SIZE,
1311 .ivsize = DES_BLOCK_SIZE,
1333 .cra_blocksize = DES_BLOCK_SIZE,
1335 .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.4.14/include/crypto/
Ddes.h10 #define DES_BLOCK_SIZE 8 macro
14 #define DES3_EDE_BLOCK_SIZE DES_BLOCK_SIZE
/linux-4.4.14/drivers/crypto/caam/
Dcaamalg.c2920 .blocksize = DES_BLOCK_SIZE,
2930 .ivsize = DES_BLOCK_SIZE,
3744 .cra_blocksize = DES_BLOCK_SIZE,
3750 .ivsize = DES_BLOCK_SIZE,
3767 .cra_blocksize = DES_BLOCK_SIZE,
3773 .ivsize = DES_BLOCK_SIZE,
3790 .cra_blocksize = DES_BLOCK_SIZE,
3796 .ivsize = DES_BLOCK_SIZE,
3813 .cra_blocksize = DES_BLOCK_SIZE,
3819 .ivsize = DES_BLOCK_SIZE,
[all …]
/linux-4.4.14/drivers/crypto/sunxi-ss/
Dsun4i-ss-core.c135 .cra_blocksize = DES_BLOCK_SIZE,
145 .ivsize = DES_BLOCK_SIZE,
157 .cra_blocksize = DES_BLOCK_SIZE,
/linux-4.4.14/drivers/crypto/qce/
Dablkcipher.c302 .blocksize = DES_BLOCK_SIZE,
311 .blocksize = DES_BLOCK_SIZE,
312 .ivsize = DES_BLOCK_SIZE,
/linux-4.4.14/drivers/crypto/marvell/
Dcipher.c468 .cra_blocksize = DES_BLOCK_SIZE,
491 memcpy(tmpl->ctx.blkcipher.iv, req->info, DES_BLOCK_SIZE); in mv_cesa_cbc_des_op()
520 .cra_blocksize = DES_BLOCK_SIZE,
530 .ivsize = DES_BLOCK_SIZE,
/linux-4.4.14/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.4.14/crypto/
Ddes_generic.c959 .cra_blocksize = DES_BLOCK_SIZE,