On 25.04.2017 04:41, Dmitry Eremin-Solenikov wrote: > Switch AES-CBC and 3DES-CBC to use generic (EVP) interface instad of low > level interface (as recommended by OpenSSL documentation). This allows > to use the same code path for all non-AEAD ciphers. The only AEAD cipher > (AES-GCM) already uses EVP interface. Generalization of that code can > happen if there will be more AEAD ciphers. > > Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org>
Please ignore this particular patch for now. Neither original AES-GCM implementation, nor this implementation is not thread safe: they use CTX from the session during crypto_operation. I will rethink and update this patch. Other 3 patches are still valid. -- With best wishes Dmitry