<div dir="ltr"><div><div>Dear Richard,<br><br></div>I am not sure it will not break the compatibility.<br></div>Both implementations of the GOST ciphers require access to this field.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 17, 2016 at 12:42 PM, Richard Levitte via RT <span dir="ltr"><<a href="mailto:rt@openssl.org" target="_blank">rt@openssl.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I'm sorry, the oiv field is EVP private. Sure, it's been accessible (and<br>
thoroughly misused in some cases) when EVP_CIPHER_CTX was open, but in essence,<br>
it's a EVP private store of the IV that was given at EVP_CipherInit().<br>
<br>
If you want to retain a copy of the original IV, I suggest you have one in<br>
GOSTs structure and take a copy of the IV given to the init() function.<br>
<br>
Thank you for the reminder, I meant to deal with this further. oiv should<br>
really not be publically accessible at all, not even as a constant.<br>
<br>
Cheers,<br>
Richard<br>
<span class=""><br>
Vid Sat, 23 Jan 2016 kl. 09.40.19, skrev <a href="mailto:beldmit@gmail.com">beldmit@gmail.com</a>:<br>
> Hello,<br>
><br>
> After making the EVP_CIPHER_CTX struct opaque I found that there is a<br>
> missing non-const accessor to the oiv member. It is used in GOST engine<br>
> when we set the cipher parameters from the ASN1 parameters.<br>
><br>
> Thank you!<br>
><br>
<br>
<br>
--<br>
</span>Richard Levitte<br>
<a href="mailto:levitte@openssl.org">levitte@openssl.org</a><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Ticket here: <a href="http://rt.openssl.org/Ticket/Display.html?id=4267" rel="noreferrer" target="_blank">http://rt.openssl.org/Ticket/Display.html?id=4267</a><br>
Please log in as guest with password guest if prompted<br>
<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">SY, Dmitry Belyavsky</div>
</div>