<div dir="ltr"><div dir="ltr">Hi Richard,<div><br></div><div>I am unable to get the API to access bn->top value  or any bn members in openssl 1.1.1 .</div><div>Can you help me with the pointers to those APIs ?</div><div><br></div><div>And  I dont see <span style="color:rgb(80,0,80);font-family:Calibri,sans-serif;font-size:14.6667px">"lh_OPENSSL_CSTRING_new " function in </span><font color="#500050" face="Calibri, sans-serif"><span style="font-size:14.6667px">"include/openssl/safestack.h" ?</span></font></div><div><font color="#500050" face="Calibri, sans-serif"><span style="font-size:14.6667px">Please correct me if I am wrong .</span></font></div><div><font color="#500050" face="Calibri, sans-serif"><span style="font-size:14.6667px"><br></span></font></div><div><font color="#500050" face="Calibri, sans-serif"><span style="font-size:14.6667px">Thanks,</span></font></div><div><font color="#500050" face="Calibri, sans-serif"><span style="font-size:14.6667px">Priya</span></font></div><div><font color="#500050" face="Calibri, sans-serif"><span style="font-size:14.6667px"><br></span></font></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 25 Nov 2018 at 11:56, Richard Levitte <<a href="mailto:levitte@openssl.org" target="_blank">levitte@openssl.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">(that was Rich responding, not Matt ;-))<br>
<br>
There are penty of functions to assign values properly to BIGNUMs<br>
without having to resort to accessing the structure members.  If you<br>
still have reasons to do so, that sounds like you want to modify the<br>
API somehow, and since you do have access to the OpenSSL source,<br>
you're free to do so (and to maintain your own patches).<br>
<br>
Cheers,<br>
Richard<br>
<br>
In message <CAAiJU8P2TNALbhfYCr-W6qEQXEZ3=<a href="mailto:rMv2pibwFCck0vO0oFEWw@mail.gmail.com" target="_blank">rMv2pibwFCck0vO0oFEWw@mail.gmail.com</a>> on Sun, 25 Nov 2018 11:05:52 +0530, priya p <<a href="mailto:priyahere223@gmail.com" target="_blank">priyahere223@gmail.com</a>> said:<br>
<br>
> Hi Matt,<br>
> <br>
> I want to get/set BIGNUM structure members using API like DH getter/setter ?<br>
> <br>
> Thanks,<br>
> Priya<br>
> <br>
> On Sun, Nov 25, 2018, 9:32 AM Salz, Rich via openssl-users <<a href="mailto:openssl-users@openssl.org" target="_blank">openssl-users@openssl.org</a> wrote:<br>
> <br>
>  * BIGNUM structure also has been made opaque. How to refer the members of BIGNUM<br>
>  structure like bn->top ?<br>
> <br>
>  You cannot. That is the definition of “opaque structure.” :) Why do you need to access “top” ?<br>
> <br>
>  * And I don't see this API implementation ""lh_OPENSSL_CSTRING_new" in openssl-1.1.1 ?<br>
> <br>
>  It is a static inline functions in include/openssl/safestack.h. Because it’s static-inline, it won’t<br>
>  show up unless it is actually used.<br>
> <br>
>  --<br>
>  openssl-users mailing list<br>
>  To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
> <br>
-- <br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users" rel="noreferrer" target="_blank">https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
</blockquote></div>