EVP_CIPHER_CTX in openssl 1.1.xHow to pass string (not file) to openssl?How does openssl decrypt a...

What are the end bytes of *.docx file format

Plot irregular circle in latex

Output Distinct Factor Cuboids

How could artificial intelligence harm us?

EU compensation - fire alarm at the Flight Crew's hotel

How can I check that parent has more than 1 child?

Can Brexit be undone in an emergency?

Inquiry answerer

What's the purpose of autocorrelation?

Microservices and Stored Procedures

Which version of the Pigeonhole principle is correct? One is far stronger than the other

Delete empty subfolders, keep parent folder

Other than good shoes and a stick, what are some ways to preserve your knees on long hikes?

Minimum number of lines to draw 111 squares

We suspect colleague is stealing company code - what do we do?

Persuading players to be less attached to a pre-session 0 character concept

Compare FEM mesh with the mesh created within Mathematica

Is it safe to put a microwave in a walk-in closet?

When would open interest equal trading volume?

Can one guy with a duplicator trigger a nuclear apocalypse?

Is Yang not precluded from conducting his "UBI experiment" as an electoral candidate?

How is underwater propagation of sound possible?

Strength of Female Chimpanzees vs. Male Chimpanzees?

Talk about Grandpa's weird talk: Who are these folks?



EVP_CIPHER_CTX in openssl 1.1.x


How to pass string (not file) to openssl?How does openssl decrypt a passwordCan OpenSSH 6.7 optionally not depend on OpenSSL?OpenSSL 1.0.2.a and Centos5.7openSSL Key and Certificateopenssl command queries NGINX by ip and not hostnameopenssl generating SHA-256nginx 1.14 on Debian Testing (buster) - no TLS 1.0 / 1.1?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















error: storage size of 'ctx' isn't known
EVP_CIPHER_CTX ctx;



I am getting this error with openssl -1.1.1.
Compared openssl-1.0.* and openssl-1.1.1 and this EVP_CIPHER_CTX struture has not been made opaque in openssl-1.1.1.



So why I am getting this error ?










share|improve this question















bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















  • What are you doing to generate the error? What were the steps leading up to this point?

    – Jeff Schaller
    Oct 24 '18 at 11:19











  • I think you mean has been made opaque, see 1.1.0 CHANGES.

    – mr.spuratic
    Oct 24 '18 at 11:43


















0















error: storage size of 'ctx' isn't known
EVP_CIPHER_CTX ctx;



I am getting this error with openssl -1.1.1.
Compared openssl-1.0.* and openssl-1.1.1 and this EVP_CIPHER_CTX struture has not been made opaque in openssl-1.1.1.



So why I am getting this error ?










share|improve this question















bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















  • What are you doing to generate the error? What were the steps leading up to this point?

    – Jeff Schaller
    Oct 24 '18 at 11:19











  • I think you mean has been made opaque, see 1.1.0 CHANGES.

    – mr.spuratic
    Oct 24 '18 at 11:43














0












0








0








error: storage size of 'ctx' isn't known
EVP_CIPHER_CTX ctx;



I am getting this error with openssl -1.1.1.
Compared openssl-1.0.* and openssl-1.1.1 and this EVP_CIPHER_CTX struture has not been made opaque in openssl-1.1.1.



So why I am getting this error ?










share|improve this question














error: storage size of 'ctx' isn't known
EVP_CIPHER_CTX ctx;



I am getting this error with openssl -1.1.1.
Compared openssl-1.0.* and openssl-1.1.1 and this EVP_CIPHER_CTX struture has not been made opaque in openssl-1.1.1.



So why I am getting this error ?







openssl ssl cryptography open-source






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 24 '18 at 10:55







user298537













bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.









bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 40 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • What are you doing to generate the error? What were the steps leading up to this point?

    – Jeff Schaller
    Oct 24 '18 at 11:19











  • I think you mean has been made opaque, see 1.1.0 CHANGES.

    – mr.spuratic
    Oct 24 '18 at 11:43



















  • What are you doing to generate the error? What were the steps leading up to this point?

    – Jeff Schaller
    Oct 24 '18 at 11:19











  • I think you mean has been made opaque, see 1.1.0 CHANGES.

    – mr.spuratic
    Oct 24 '18 at 11:43

















What are you doing to generate the error? What were the steps leading up to this point?

– Jeff Schaller
Oct 24 '18 at 11:19





What are you doing to generate the error? What were the steps leading up to this point?

– Jeff Schaller
Oct 24 '18 at 11:19













I think you mean has been made opaque, see 1.1.0 CHANGES.

– mr.spuratic
Oct 24 '18 at 11:43





I think you mean has been made opaque, see 1.1.0 CHANGES.

– mr.spuratic
Oct 24 '18 at 11:43










1 Answer
1






active

oldest

votes


















0
















From OpenSSL 1.1.0 Changes:




“All structures in libssl public header files have been removed so that they are "opaque" to library users. You should use the provided accessor functions instead.”




This (its underlying structure evp_cipher_ctx_st) and others are hidden from 1.1.0, they now must be accessed (create, modify, destroy) via API. To refer to such objects you now must only use a pointer to them rather than create your own instances. The advantages include encapsulation of these data types, and improved binary API compatibility.



See EVP_CIPHER_meth_new(3).



The fine people at Cossack Labs have a useful blog entry discussing the changes they needed to make for OpenSSL 1.1 migration.






share|improve this answer




























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });















    draft saved

    draft discarded
















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477481%2fevp-cipher-ctx-in-openssl-1-1-x%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown
























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0
















    From OpenSSL 1.1.0 Changes:




    “All structures in libssl public header files have been removed so that they are "opaque" to library users. You should use the provided accessor functions instead.”




    This (its underlying structure evp_cipher_ctx_st) and others are hidden from 1.1.0, they now must be accessed (create, modify, destroy) via API. To refer to such objects you now must only use a pointer to them rather than create your own instances. The advantages include encapsulation of these data types, and improved binary API compatibility.



    See EVP_CIPHER_meth_new(3).



    The fine people at Cossack Labs have a useful blog entry discussing the changes they needed to make for OpenSSL 1.1 migration.






    share|improve this answer






























      0
















      From OpenSSL 1.1.0 Changes:




      “All structures in libssl public header files have been removed so that they are "opaque" to library users. You should use the provided accessor functions instead.”




      This (its underlying structure evp_cipher_ctx_st) and others are hidden from 1.1.0, they now must be accessed (create, modify, destroy) via API. To refer to such objects you now must only use a pointer to them rather than create your own instances. The advantages include encapsulation of these data types, and improved binary API compatibility.



      See EVP_CIPHER_meth_new(3).



      The fine people at Cossack Labs have a useful blog entry discussing the changes they needed to make for OpenSSL 1.1 migration.






      share|improve this answer




























        0














        0










        0









        From OpenSSL 1.1.0 Changes:




        “All structures in libssl public header files have been removed so that they are "opaque" to library users. You should use the provided accessor functions instead.”




        This (its underlying structure evp_cipher_ctx_st) and others are hidden from 1.1.0, they now must be accessed (create, modify, destroy) via API. To refer to such objects you now must only use a pointer to them rather than create your own instances. The advantages include encapsulation of these data types, and improved binary API compatibility.



        See EVP_CIPHER_meth_new(3).



        The fine people at Cossack Labs have a useful blog entry discussing the changes they needed to make for OpenSSL 1.1 migration.






        share|improve this answer













        From OpenSSL 1.1.0 Changes:




        “All structures in libssl public header files have been removed so that they are "opaque" to library users. You should use the provided accessor functions instead.”




        This (its underlying structure evp_cipher_ctx_st) and others are hidden from 1.1.0, they now must be accessed (create, modify, destroy) via API. To refer to such objects you now must only use a pointer to them rather than create your own instances. The advantages include encapsulation of these data types, and improved binary API compatibility.



        See EVP_CIPHER_meth_new(3).



        The fine people at Cossack Labs have a useful blog entry discussing the changes they needed to make for OpenSSL 1.1 migration.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 24 '18 at 11:58









        mr.spuraticmr.spuratic

        7,45113 silver badges29 bronze badges




        7,45113 silver badges29 bronze badges


































            draft saved

            draft discarded



















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477481%2fevp-cipher-ctx-in-openssl-1-1-x%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...