Lines Matching refs:tctx

26     PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx;  in ossl_cipher_hw_tdes_ede2_initkey()  local
29 tctx->tstream.cbc = NULL; in ossl_cipher_hw_tdes_ede2_initkey()
33 des_t4_key_expand(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey()
34 des_t4_key_expand(&deskey[1], &tctx->ks2); in ossl_cipher_hw_tdes_ede2_initkey()
35 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); in ossl_cipher_hw_tdes_ede2_initkey()
36 tctx->tstream.cbc = ctx->enc ? des_t4_ede3_cbc_encrypt : in ossl_cipher_hw_tdes_ede2_initkey()
42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey()
43 DES_set_key_unchecked(&deskey[1], &tctx->ks2); in ossl_cipher_hw_tdes_ede2_initkey()
44 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); in ossl_cipher_hw_tdes_ede2_initkey()
51 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; in ossl_cipher_hw_tdes_ofb() local
55 DES_ede3_ofb64_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_ofb()
56 &tctx->ks3, (DES_cblock *)ctx->iv, &num); in ossl_cipher_hw_tdes_ofb()
62 DES_ede3_ofb64_encrypt(in, out, (long)inl, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_ofb()
63 &tctx->ks3, (DES_cblock *)ctx->iv, &num); in ossl_cipher_hw_tdes_ofb()
72 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; in ossl_cipher_hw_tdes_cfb() local
78 &tctx->ks1, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb()
86 &tctx->ks1, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb()
100 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; in ossl_cipher_hw_tdes_cfb1() local
110 &tctx->ks1, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb1()
122 PROV_TDES_CTX *tctx = (PROV_TDES_CTX *)ctx; in ossl_cipher_hw_tdes_cfb8() local
126 &tctx->ks1, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb8()
134 &tctx->ks1, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb8()