[openssl-users] openssl 1.1.1 opaque structures

priya p priyahere223 at gmail.com
Mon Nov 26 05:14:17 UTC 2018


Hi Richard,

I am unable to get the API to access bn->top value  or any bn members in
openssl 1.1.1 .
Can you help me with the pointers to those APIs ?

And  I dont see "lh_OPENSSL_CSTRING_new " function in
"include/openssl/safestack.h"
?
Please correct me if I am wrong .

Thanks,
Priya


On Sun, 25 Nov 2018 at 11:56, Richard Levitte <levitte at openssl.org> wrote:

> (that was Rich responding, not Matt ;-))
>
> There are penty of functions to assign values properly to BIGNUMs
> without having to resort to accessing the structure members.  If you
> still have reasons to do so, that sounds like you want to modify the
> API somehow, and since you do have access to the OpenSSL source,
> you're free to do so (and to maintain your own patches).
>
> Cheers,
> Richard
>
> In message <CAAiJU8P2TNALbhfYCr-W6qEQXEZ3=
> rMv2pibwFCck0vO0oFEWw at mail.gmail.com> on Sun, 25 Nov 2018 11:05:52 +0530,
> priya p <priyahere223 at gmail.com> said:
>
> > Hi Matt,
> >
> > I want to get/set BIGNUM structure members using API like DH
> getter/setter ?
> >
> > Thanks,
> > Priya
> >
> > On Sun, Nov 25, 2018, 9:32 AM Salz, Rich via openssl-users <
> openssl-users at openssl.org wrote:
> >
> >  * BIGNUM structure also has been made opaque. How to refer the members
> of BIGNUM
> >  structure like bn->top ?
> >
> >  You cannot. That is the definition of “opaque structure.” :) Why do you
> need to access “top” ?
> >
> >  * And I don't see this API implementation ""lh_OPENSSL_CSTRING_new" in
> openssl-1.1.1 ?
> >
> >  It is a static inline functions in include/openssl/safestack.h. Because
> it’s static-inline, it won’t
> >  show up unless it is actually used.
> >
> >  --
> >  openssl-users mailing list
> >  To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
> >
> --
> openssl-users mailing list
> To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20181126/8f48a516/attachment.html>


More information about the openssl-users mailing list