Add names of GOST algorithms.
authorPeter Mosmans <support@go-forward.net>
Sun, 13 Jul 2014 17:30:07 +0000 (18:30 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Sun, 13 Jul 2014 17:31:09 +0000 (18:31 +0100)
PR#3440
(cherry picked from commit 924e5eda2c82d737cc5a1b9c37918aa6e34825da)

ssl/ssl_ciph.c

index 9c7fbc302260d31f66ea88fb585ed555cc1638dc..c511279a5d949b64b1ede52c07530036d06dfbc8 100644 (file)
@@ -1677,6 +1677,9 @@ char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
        case SSL_kSRP:
                kx="SRP";
                break;
+       case SSL_kGOST:
+               kx="VKO";
+               break;
        default:
                kx="unknown";
                }
@@ -1710,6 +1713,12 @@ char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
        case SSL_aSRP:
                au="SRP";
                break;
+       case SSL_aGOST94:
+               au="GOST94";
+               break;
+       case SSL_aGOST01:
+               au="GOST01";
+               break;
        default:
                au="unknown";
                break;
@@ -1757,6 +1766,9 @@ char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
        case SSL_SEED:
                enc="SEED(128)";
                break;
+       case SSL_eGOST2814789CNT:
+               enc="GOST89(256)";
+               break;
        default:
                enc="unknown";
                break;
@@ -1779,6 +1791,12 @@ char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len)
        case SSL_AEAD:
                mac="AEAD";
                break;
+       case SSL_GOST89MAC:
+               mac="GOST89";
+               break;
+       case SSL_GOST94:
+               mac="GOST94";
+               break;
        default:
                mac="unknown";
                break;