Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/crypto/qce/
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 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.h74 #define IS_XTS(mode) (mode & QCE_MODE_XTS) macro