Searched refs:xctx (Results 1 – 7 of 7) sorted by relevance
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; \[all …]
25 fn_set_enc_key(key, bits, &xctx->ks1.ks); \33 xctx->xts.key1 = &xctx->ks1; \34 xctx->xts.key2 = &xctx->ks2; \42 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_generic_initkey() local105 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aesni_xts_initkey() local128 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_t4_initkey() local168 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv64i_zknd_zkne_initkey() local181 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv64i_zvbb_zvkg_zvkned_initkey() local204 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv64i_zvkned_initkey() local254 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)ctx; in cipher_hw_aes_xts_rv32i_zknd_zkne_initkey() local[all …]
26 switch (xctx->base.keylen) {43 if (ivlen != xctx->base.ivlen49 xctx->plat.s390x.iv_set = 1;53 if (keylen != xctx->base.keylen) {61 xctx->plat.s390x.key_set = 1;64 xctx->plat.s390x.fc = fc | dec;65 xctx->plat.s390x.offset = offs;73 xctx->plat.s390x.fc = 0;74 xctx->plat.s390x.offset = 0;121 || !xctx->plat.s390x.iv_set[all …]
40 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)vctx; in sm4_xts_init() local41 PROV_CIPHER_CTX *ctx = &xctx->base; in sm4_xts_init()60 return sm4_xts_set_ctx_params(xctx, params); in sm4_xts_init()205 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)vxctx; in sm4_xts_set_ctx_params() local231 xctx->xts_standard = 0; in sm4_xts_set_ctx_params()233 xctx->xts_standard = 1; in sm4_xts_set_ctx_params()
19 PROV_SM4_XTS_CTX *xctx = (PROV_SM4_XTS_CTX *)ctx;
76 PROV_AES_XTS_CTX *xctx = (PROV_AES_XTS_CTX *)vctx; in aes_xts_init() local77 PROV_CIPHER_CTX *ctx = &xctx->base; in aes_xts_init()
312 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key()316 xctx->xts.key2 = &xctx->ks2; in aesni_xts_init_key()695 xctx->xts.key1 = &xctx->ks1; in aes_t4_xts_init_key()699 xctx->xts.key2 = &xctx->ks2; in aes_t4_xts_init_key()3200 if (xctx->xts.key1 != &xctx->ks1) in aes_xts_ctrl()3205 if (xctx->xts.key2 != &xctx->ks2) in aes_xts_ctrl()3284 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()3306 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()3323 xctx->xts.key1 = &xctx->ks1; in aes_xts_init_key()3328 xctx->xts.key2 = &xctx->ks2; in aes_xts_init_key()[all …]
Completed in 26 milliseconds