Home
last modified time | relevance | path

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

/openbmc/linux/crypto/
H A Dsm4_generic.c45 sm4_crypt_block(ctx->rkey_enc, out, in); in sm4_encrypt()
54 sm4_crypt_block(ctx->rkey_dec, out, in); in sm4_decrypt()
H A Dsm4.c160 void sm4_crypt_block(const u32 *rk, u8 *out, const u8 *in) in sm4_crypt_block() function
181 EXPORT_SYMBOL_GPL(sm4_crypt_block);
/openbmc/linux/arch/arm64/crypto/
H A Dsm4-ce-cipher-glue.c33 sm4_crypt_block(ctx->rkey_enc, out, in); in sm4_ce_encrypt()
46 sm4_crypt_block(ctx->rkey_dec, out, in); in sm4_ce_decrypt()
H A Dsm4-neon-glue.c99 sm4_crypt_block(ctx->rkey_enc, dst, dst); in sm4_cbc_encrypt()
162 sm4_crypt_block(ctx->rkey_enc, keystream, iv); in sm4_cfb_encrypt()
174 sm4_crypt_block(ctx->rkey_enc, keystream, walk.iv); in sm4_cfb_encrypt()
218 sm4_crypt_block(ctx->rkey_enc, keystream, walk.iv); in sm4_cfb_decrypt()
262 sm4_crypt_block(ctx->rkey_enc, keystream, walk.iv); in sm4_ctr_crypt()
/openbmc/linux/arch/x86/crypto/
H A Dsm4_aesni_avx_glue.c110 sm4_crypt_block(ctx->rkey_enc, dst, dst); in sm4_cbc_encrypt()
208 sm4_crypt_block(ctx->rkey_enc, keystream, iv); in sm4_cfb_encrypt()
220 sm4_crypt_block(ctx->rkey_enc, keystream, walk.iv); in sm4_cfb_encrypt()
283 sm4_crypt_block(ctx->rkey_enc, keystream, walk.iv); in sm4_avx_cfb_decrypt()
354 sm4_crypt_block(ctx->rkey_enc, keystream, keystream); in sm4_avx_ctr_crypt()
/openbmc/linux/include/crypto/
H A Dsm4.h46 void sm4_crypt_block(const u32 *rk, u8 *out, const u8 *in);