[PATCH v2 2/6] crypto: tcrypt: fix AEAD decryption speed test

2017-12-17 Thread Gilad Ben-Yossef
The AEAD speed test pretended to support decryption, however that support was broken as decryption requires a valid auth field which the test did not provide. Fix this by running the encryption path once with inout/output sgls switched to calculate the auth field prior to performing decryption

[PATCH v2 2/6] crypto: tcrypt: fix AEAD decryption speed test

2017-12-17 Thread Gilad Ben-Yossef
The AEAD speed test pretended to support decryption, however that support was broken as decryption requires a valid auth field which the test did not provide. Fix this by running the encryption path once with inout/output sgls switched to calculate the auth field prior to performing decryption