We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 808e0eb commit debb779Copy full SHA for debb779
arch/s390/crypto/chacha-glue.c
@@ -82,7 +82,7 @@ void chacha_crypt_arch(u32 *state, u8 *dst, const u8 *src,
82
* it cannot handle a block of data or less, but otherwise
83
* it can handle data of arbitrary size
84
*/
85
- if (bytes <= CHACHA_BLOCK_SIZE || nrounds != 20)
+ if (bytes <= CHACHA_BLOCK_SIZE || nrounds != 20 || !MACHINE_HAS_VX)
86
chacha_crypt_generic(state, dst, src, bytes, nrounds);
87
else
88
chacha20_crypt_s390(state, dst, src, bytes,
0 commit comments