I wrote a code with openssl library.
It works but in some cases when the "BIO_free_all" is called, it generates a kernel trap with a "general protection".
see the log below:
Wed May 29 12:21:06 2019 kern.info kernel: [ 105.055844] traps: se-encrypt general protection ip:7f2140de6e16 sp:7ffea8635f48 error:0 in libc.so[7f2140dc5000+6a000]
I got the same kind of issue when 'EVP_CIPHER_CTX_free' is invoked too.
Does someone as an idea ?