[openssl] OpenSSL_1_1_1-stable update

patrick.steuer at de.ibm.com patrick.steuer at de.ibm.com
Thu Mar 5 16:37:18 UTC 2020


The branch OpenSSL_1_1_1-stable has been updated
       via  ded6741604e7f622dc278f6b24c0b47432b75325 (commit)
      from  1d5359316949b9320f73ec74ec619714e356d716 (commit)


- Log -----------------------------------------------------------------
commit ded6741604e7f622dc278f6b24c0b47432b75325
Author: Patrick Steuer <patrick.steuer at de.ibm.com>
Date:   Tue Mar 3 13:29:03 2020 +0100

    crypto/ec/curve448/eddsa.c: fix EBCDIC platforms
    
    Signed-off-by: Patrick Steuer <patrick.steuer at de.ibm.com>
    
    Reviewed-by: Matt Caswell <matt at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/11229)
    
    (cherry picked from commit af7f656cd91d99d62567e2b20c61f07cb4d81d0b)

-----------------------------------------------------------------------

Summary of changes:
 crypto/ec/curve448/eddsa.c | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/crypto/ec/curve448/eddsa.c b/crypto/ec/curve448/eddsa.c
index cd018c3db1..dc8ac2365a 100644
--- a/crypto/ec/curve448/eddsa.c
+++ b/crypto/ec/curve448/eddsa.c
@@ -50,7 +50,12 @@ static c448_error_t hash_init_with_dom(EVP_MD_CTX *hashctx, uint8_t prehashed,
                                        const uint8_t *context,
                                        size_t context_len)
 {
-    const char *dom_s = "SigEd448";
+#ifdef CHARSET_EBCDIC
+    const char dom_s[] = {0x53, 0x69, 0x67, 0x45,
+                          0x64, 0x34, 0x34, 0x38, 0x00};
+#else
+    const char dom_s[] = "SigEd448";
+#endif
     uint8_t dom[2];
 
     if (context_len > UINT8_MAX)


More information about the openssl-commits mailing list