Home
last modified time | relevance | path

Searched refs:DES_EXPKEY_WORDS (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/include/crypto/
Ddes.h12 #define DES_EXPKEY_WORDS 32 macro
16 #define DES3_EDE_EXPKEY_WORDS (3 * DES_EXPKEY_WORDS)
20 u32 expkey[DES_EXPKEY_WORDS];
/kernel/linux/linux-5.10/arch/sparc/crypto/
Ddes_glue.c25 u64 encrypt_expkey[DES_EXPKEY_WORDS / 2];
26 u64 decrypt_expkey[DES_EXPKEY_WORDS / 2];
36 const u64 *s = e + (DES_EXPKEY_WORDS / 2) - 1; in encrypt_to_decrypt()
39 for (i = 0; i < DES_EXPKEY_WORDS / 2; i++) in encrypt_to_decrypt()
185 u64 k1[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key()
186 u64 k2[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key()
187 u64 k3[DES_EXPKEY_WORDS / 2]; in des3_ede_set_key()
201 encrypt_to_decrypt(&dctx->encrypt_expkey[DES_EXPKEY_WORDS / 2], &k2[0]); in des3_ede_set_key()
202 memcpy(&dctx->encrypt_expkey[(DES_EXPKEY_WORDS / 2) * 2], in des3_ede_set_key()
206 memcpy(&dctx->decrypt_expkey[DES_EXPKEY_WORDS / 2], in des3_ede_set_key()
[all …]
/kernel/linux/linux-5.10/lib/crypto/
Ddes.c804 const u32 *K = ctx->expkey + DES_EXPKEY_WORDS - 2; in des_decrypt()
836 des_ekey(pe, key); pe += DES_EXPKEY_WORDS; key += DES_KEY_SIZE; in des3_ede_expand_key()
837 dkey(pe, key); pe += DES_EXPKEY_WORDS; key += DES_KEY_SIZE; in des3_ede_expand_key()