Lines Matching refs:xctx
18 fn_set_enc_key(key, &xctx->ks1.ks); \
19 xctx->xts.block1 = (block128_f)fn_block_enc; \
21 fn_set_dec_key(key, &xctx->ks1.ks); \
22 xctx->xts.block1 = (block128_f)fn_block_dec; \
24 fn_set_enc_key(key + bytes, &xctx->ks2.ks); \
25 xctx->xts.block2 = (block128_f)fn_block_enc; \
26 xctx->xts.key1 = &xctx->ks1; \
27 xctx->xts.key2 = &xctx->ks2; \
28 xctx->stream = fn_stream; \
29 xctx->stream_gb = fn_stream_gb; \
36 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)ctx; in cipher_hw_sm4_xts_generic_initkey() local