Lines Matching refs:cctx
733 EVP_CIPHER_CTX cctx; in do_PVK_body() local
734 EVP_CIPHER_CTX_init(&cctx); in do_PVK_body()
764 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, NULL)) in do_PVK_body()
766 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) in do_PVK_body()
768 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, &enctmplen)) in do_PVK_body()
775 if (!EVP_DecryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, in do_PVK_body()
779 if (!EVP_DecryptUpdate(&cctx, q, &enctmplen, p, inlen)) in do_PVK_body()
781 if (!EVP_DecryptFinal_ex(&cctx, q + enctmplen, in do_PVK_body()
798 EVP_CIPHER_CTX_cleanup(&cctx); in do_PVK_body()
852 EVP_CIPHER_CTX cctx; in i2b_PVK() local
853 EVP_CIPHER_CTX_init(&cctx); in i2b_PVK()
914 if (!EVP_EncryptInit_ex(&cctx, EVP_rc4(), NULL, keybuf, NULL)) in i2b_PVK()
917 if (!EVP_DecryptUpdate(&cctx, p, &enctmplen, p, pklen - 8)) in i2b_PVK()
919 if (!EVP_DecryptFinal_ex(&cctx, p + enctmplen, &enctmplen)) in i2b_PVK()
922 EVP_CIPHER_CTX_cleanup(&cctx); in i2b_PVK()
926 EVP_CIPHER_CTX_cleanup(&cctx); in i2b_PVK()