Re: [PATCH RESEND] openssl: disable padding after initializing the cipher suite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 17, 2021 at 10:58:53AM +0200, Davide Caratti wrote:
> according to OpenSSL documentation [1], EVP_CIPHER_CTX_set_padding()
> must be called after EVP_EncryptInit_ex(), EVP_DecryptInit_ex() or
> EVP_CipherInit_ex(). Not doing this causes EVP_CIPHER_CTX_set_padding()
> to return false on OpenSSL-3.0.0, resulting in the impossibility to
> connect in many scenarios. Fix this changing the order of function
> calls where needed.
> 
> [1] https://www.openssl.org/docs/man1.1.1/man3/EVP_CIPHER_CTX_set_padding.html

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux