On Tue, 23 Jan 2018, Denis Kenzior wrote:
> I did run in to some glitches with test-pem and test-cipher on
> kernels. test-pem needs L_CIPHER_DES_CBC for encrypted certs, and
I've just pushed out an update to test-pem that hopefully takes care of this.
It worked with my old 4.2 kernel.
> test-cipher fails because AEAD ciphers had a bogus recv() return
> before v4.9 (see kernel commit 0c1e16cd1e).
Not sure what we can do about this one.
We could print a more descriptive message for that failure, so people at
least have a hint about what's going on.
Only other idea I have is to attempt a crypto op and compare against a
known-bad result. While the results before v4.9 are wrong, I think they're
at least consistent.
I will send a couple more patches for AEAD failure handling and unit
test issues that I noticed.