Home
last modified time | relevance | path

Searched refs:expkey (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/arch/x86/crypto/
Ddes3_ede_glue.c25 asmlinkage void des3_ede_x86_64_crypt_blk(const u32 *expkey, u8 *dst,
29 asmlinkage void des3_ede_x86_64_crypt_blk_3way(const u32 *expkey, u8 *dst,
35 u32 *enc_ctx = ctx->enc.expkey; in des3_ede_enc_blk()
43 u32 *dec_ctx = ctx->dec.expkey; in des3_ede_dec_blk()
51 u32 *dec_ctx = ctx->dec.expkey; in des3_ede_dec_blk_3way()
66 static int ecb_crypt(struct skcipher_request *req, const u32 *expkey) in ecb_crypt() argument
82 des3_ede_x86_64_crypt_blk_3way(expkey, wdst, in ecb_crypt()
96 des3_ede_x86_64_crypt_blk(expkey, wdst, wsrc); in ecb_crypt()
115 return ecb_crypt(req, ctx->enc.expkey); in ecb_encrypt()
123 return ecb_crypt(req, ctx->dec.expkey); in ecb_decrypt()
[all …]
/linux-6.1.9/include/crypto/
Ddes.h20 u32 expkey[DES_EXPKEY_WORDS]; member
24 u32 expkey[DES3_EDE_EXPKEY_WORDS]; member
Dserpent.h18 u32 expkey[SERPENT_EXPKEY_WORDS]; member
/linux-6.1.9/lib/crypto/
Ddes.c704 return des_ekey(ctx->expkey, key) ? 0 : -ENOKEY; in des_expand_key()
783 const u32 *K = ctx->expkey; in des_encrypt()
804 const u32 *K = ctx->expkey + DES_EXPKEY_WORDS - 2; in des_decrypt()
826 u32 *pe = ctx->expkey; in des3_ede_expand_key()
846 const u32 *K = dctx->expkey; in des3_ede_encrypt()
875 const u32 *K = dctx->expkey + DES3_EDE_EXPKEY_WORDS - 2; in des3_ede_decrypt()
/linux-6.1.9/arch/sparc/crypto/
Ddes_glue.c241 extern void des3_ede_sparc64_ecb_crypt(const u64 *expkey, const u64 *input,
282 extern void des3_ede_sparc64_cbc_encrypt(const u64 *expkey, const u64 *input,
286 extern void des3_ede_sparc64_cbc_decrypt(const u64 *expkey, const u64 *input,
/linux-6.1.9/crypto/
Dserpent_generic.c272 u32 *k = ctx->expkey; in __serpent_setkey()
446 __serpent_setkey_sbox(r0, r1, r2, r3, r4, ctx->expkey); in __serpent_setkey()
461 const u32 *k = ctx->expkey; in __serpent_encrypt()
520 const u32 *k = ctx->expkey; in __serpent_decrypt()