<div dir="ltr"><br clear="all"><div>Hi,</div><div><br></div><div>I am observering charon generated core files when I configured aes as an encryption alogorithm.</div><div><br></div><div>aes-ni is enabled on my device.</div><div><br></div><div>strongswan version I am using is 4.3.6 and openssl version openssl-1.0.0.</div><div><br></div><div>I ran gdb on the core file, it is pointing to the below point</div><br><div><font color="#282828" face="Calibri"><span style="color:rgb(40,40,40);font-size:11pt"></span></font></div>
<div><br></div><div><div>#4 0x00007fabd3eee1b7 in EVP_CIPHER_CTX_set_key_length (c=0x7fabcc99e8b0, keylen=16) at evp_enc.c:520</div><div>520<span class="" style="white-space:pre"> </span>evp_enc.c: No such file or directory.</div><div><span class="" style="white-space:pre"> </span>in evp_enc.c</div><div>(gdb) p *c</div><div>$1 = {cipher = 0x0, engine = 0x0, encrypt = 1, buf_len = 0, oiv = '\000' <repeats 15 times>, iv = '\000' <repeats 15 times>, buf = '\000' <repeats 31 times>, num = 0, app_data = 0x0, </div><div> key_len = 0, flags = 256, cipher_data = 0x0, final_used = 0, block_mask = 0, final = '\000' <repeats 31 times>}</div></div><div><br></div><div>cipher is becoming NULL.</div><div><br></div><div>Is there any know issue with openssl registering with aes-ni driver?</div><div><br></div><div><br></div><div><br></div><div>-Bhargav</div></div>