Dmitry Eremin-Solenikov [mailto:dmitry.ereminsoleni...@linaro.org] wrote: > On 12 December 2017 at 14:00, Peltonen, Janne (Nokia - FI/Espoo) > <janne.pelto...@nokia.com> wrote: > >> Also note that this will break explicit IV support. > > > > Why so? The iv is set in every operation. > > Sorry, I meant implicit IV, when there is no override_iv_ptr, but IV > is 'kept' inside session.
I still do not see the problem. iv_ptr points to either the override-IV or the IV kept in a session. I just moved context creation and cipher selection and key configuration to session creation. Janne