projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix the S390X support for the basic AES ciphers
[openssl.git]
/
providers
/
common
/
ciphers
/
aes.c
diff --git
a/providers/common/ciphers/aes.c
b/providers/common/ciphers/aes.c
index 1d2207a2925a7f5c4ad740064051d5178759f073..d98a5c520b46110ea552f796c5b047632b99d8aa 100644
(file)
--- a/
providers/common/ciphers/aes.c
+++ b/
providers/common/ciphers/aes.c
@@
-231,7
+231,7
@@
static int aes_cipher(void *vctx, unsigned char *out, const unsigned char *in,
\
ctx->pad = 1; \
ctx->keylen = (len / 8); \
- ctx->ciph = PROV_AES_CIPHER_##lcmode(); \
+ ctx->ciph = PROV_AES_CIPHER_##lcmode(
ctx->keylen
); \
ctx->mode = EVP_CIPH_##UCMODE##_MODE; \
return ctx; \
}