Home
last modified time | relevance | path

Searched refs:rkey_dec (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/crypto/
Dsm4.c144 ctx->rkey_dec[31 - 0 - i] = rk[0]; in sm4_expandkey()
145 ctx->rkey_dec[31 - 1 - i] = rk[1]; in sm4_expandkey()
146 ctx->rkey_dec[31 - 2 - i] = rk[2]; in sm4_expandkey()
147 ctx->rkey_dec[31 - 3 - i] = rk[3]; in sm4_expandkey()
Dsm4_generic.c54 sm4_crypt_block(ctx->rkey_dec, out, in); in sm4_decrypt()
/Linux-v6.1/arch/arm64/crypto/
Dsm4-ce-cipher-glue.c46 sm4_crypt_block(ctx->rkey_dec, out, in); in sm4_ce_decrypt()
49 sm4_ce_do_crypt(ctx->rkey_dec, out, in); in sm4_ce_decrypt()
Dsm4-ce-glue.c23 asmlinkage void sm4_ce_expand_key(const u8 *key, u32 *rkey_enc, u32 *rkey_dec,
47 sm4_ce_expand_key(key, ctx->rkey_enc, ctx->rkey_dec, in sm4_setkey()
94 return sm4_ecb_do_crypt(req, ctx->rkey_dec); in sm4_ecb_decrypt()
147 sm4_ce_cbc_dec(ctx->rkey_dec, dst, src, walk.iv, nblks); in sm4_cbc_decrypt()
Dsm4-neon-glue.c93 return sm4_ecb_do_crypt(req, ctx->rkey_dec); in sm4_ecb_decrypt()
147 sm4_neon_cbc_dec_blk8(ctx->rkey_dec, dst, src, in sm4_cbc_decrypt()
160 sm4_neon_crypt_blk1_8(ctx->rkey_dec, keystream, in sm4_cbc_decrypt()
/Linux-v6.1/include/crypto/
Dsm4.h21 u32 rkey_dec[SM4_RKEY_WORDS]; member
/Linux-v6.1/arch/x86/crypto/
Dsm4_aesni_avx_glue.c89 return ecb_do_crypt(req, ctx->rkey_dec); in sm4_avx_ecb_decrypt()
144 func(ctx->rkey_dec, dst, src, walk.iv); in sm4_avx_cbc_decrypt()
156 sm4_aesni_avx_crypt8(ctx->rkey_dec, keystream, in sm4_avx_cbc_decrypt()