ChaCha20 not working in S390 (bigendian)

This commit is contained in:
Sergio R. Caprile committed 2025-07-30 16:13:34 -03:00
1 parent 81a699c801
commit aa76f5673b
3 files changed
+5

No files matched your search

+2
View File
@@ -10877,7 +10877,9 @@ int mg_aes_gcm_decrypt(unsigned char *output, const unsigned char *input,
#if MG_TLS == MG_TLS_BUILTIN
#ifndef CHACHA20
#define CHACHA20 1
#endif
/* TLS 1.3 Record Content Type (RFC8446 B.1) */
#define MG_TLS_CHANGE_CIPHER 20
+2
View File
@@ -12,7 +12,9 @@
#if MG_TLS == MG_TLS_BUILTIN
#ifndef CHACHA20
#define CHACHA20 1
#endif
/* TLS 1.3 Record Content Type (RFC8446 B.1) */
#define MG_TLS_CHANGE_CIPHER 20
+1
View File
@@ -175,6 +175,7 @@ armhf: test
s390: ASAN=
s390: IPV6=0
s390: CFLAGS += -Wno-stringop-overflow
s390: DEFS += -DCHACHA20=0
s390: CC = $(DOCKER) mdashnet/s390 cc
s390: RUN = $(DOCKER) --init mdashnet/s390
s390: test