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 6592ab8 commit f690ef1Copy full SHA for f690ef1
providers/common/ciphers/aes_basic.c
@@ -606,9 +606,9 @@ static const PROV_AES_CIPHER aes_##mode = { \
606
}; \
607
const PROV_AES_CIPHER *PROV_AES_CIPHER_##mode(size_t keylen) \
608
{ \
609
- if ((keylen == 128 && S390X_aes_128_##mode##_CAPABLE) \
610
- || (keylen == 192 && S390X_aes_192_##mode##_CAPABLE) \
611
- || (keylen == 256 && S390X_aes_256_##mode##_CAPABLE)) \
+ if ((keylen == 16 && S390X_aes_128_##mode##_CAPABLE) \
+ || (keylen == 24 && S390X_aes_192_##mode##_CAPABLE) \
+ || (keylen == 32 && S390X_aes_256_##mode##_CAPABLE)) \
612
return &s390x_aes_##mode; \
613
\
614
return &aes_##mode; \
0 commit comments