Home
last modified time | relevance | path

Searched refs:IS_XTS (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/crypto/qce/
H A Dskcipher.c180 switch (IS_XTS(flags) ? keylen >> 1 : keylen) { in qce_skcipher_setkey()
234 keylen = IS_XTS(rctx->flags) ? ctx->enc_keylen >> 1 : ctx->enc_keylen; in qce_skcipher_crypt()
242 (IS_XTS(rctx->flags) && req->cryptlen > QCE_SECTOR_SIZE && in qce_skcipher_crypt()
H A 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()
H A Dcommon.h74 #define IS_XTS(mode) (mode & QCE_MODE_XTS) macro
/kernel/linux/linux-6.6/drivers/crypto/qce/
H A Dskcipher.c186 if (IS_XTS(flags)) { in qce_skcipher_setkey()
268 keylen = IS_XTS(rctx->flags) ? ctx->enc_keylen >> 1 : ctx->enc_keylen; in qce_skcipher_crypt()
292 (IS_XTS(rctx->flags) && ((req->cryptlen <= aes_sw_max_len) || in qce_skcipher_crypt()
H A Dcommon.h77 #define IS_XTS(mode) (mode & QCE_MODE_XTS) macro
H A Dcommon.c331 if (IS_XTS(flags)) in qce_setup_regs_skcipher()
350 if (IS_XTS(flags)) in qce_setup_regs_skcipher()
361 if (IS_XTS(flags)) in qce_setup_regs_skcipher()

Completed in 4 milliseconds