Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/crypto/qce/
Dcommon.c326 if (IS_XTS(flags)) in qce_setup_regs_skcipher()
345 if (IS_XTS(flags)) in qce_setup_regs_skcipher()
356 if (IS_XTS(flags)) in qce_setup_regs_skcipher()
Dskcipher.c175 switch (IS_XTS(flags) ? keylen >> 1 : keylen) { in qce_skcipher_setkey()
229 keylen = IS_XTS(rctx->flags) ? ctx->enc_keylen >> 1 : ctx->enc_keylen; in qce_skcipher_crypt()
237 (IS_XTS(rctx->flags) && req->cryptlen > QCE_SECTOR_SIZE && in qce_skcipher_crypt()
Dcommon.h74 #define IS_XTS(mode) (mode & QCE_MODE_XTS) macro