Home
last modified time | relevance | path

Searched refs:SEC_CMODE_XTS (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/crypto/hisilicon/sec2/
Dsec_crypto.h45 SEC_CMODE_XTS = 0x7, enumerator
Dsec_crypto.c780 if (c_mode == SEC_CMODE_XTS) { in sec_skcipher_aes_sm4_setkey()
830 if (c_mode == SEC_CMODE_XTS) { in sec_skcipher_setkey()
878 GEN_SEC_SETKEY_FUNC(aes_xts, SEC_CALG_AES, SEC_CMODE_XTS) in GEN_SEC_SETKEY_FUNC()
884 GEN_SEC_SETKEY_FUNC(sm4_xts, SEC_CALG_SM4, SEC_CMODE_XTS) in GEN_SEC_SETKEY_FUNC()
2018 case SEC_CMODE_XTS: in sec_skcipher_cryptlen_check()
2117 if (ctx->c_ctx.c_mode == SEC_CMODE_XTS) in sec_skcipher_crypto()