Re: [LTP] [LTP PATCH 0/2] ltp: fix af_alg02 to specify control data

2020-08-20 Thread Petr Vorel
Hi Eric, > It isn't clearly defined what happens if you read from an AF_ALG request > socket without previously sending the control data to begin an > encryption or decryption operation. On some kernels the read will > return 0, while on others it will block. > Testing this corner case isn't the

[LTP PATCH 0/2] ltp: fix af_alg02 to specify control data

2020-08-20 Thread Eric Biggers
It isn't clearly defined what happens if you read from an AF_ALG request socket without previously sending the control data to begin an encryption or decryption operation. On some kernels the read will return 0, while on others it will block. Testing this corner case isn't the purpose of af_alg02