Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Valdez <svaldez@google.com>2016-06-29 20:16:27 +0300
committerDavid Benjamin <davidben@google.com>2016-06-30 00:22:25 +0300
commitf0451ca37d303eee6de5a328cb13c438d1cdea85 (patch)
treef6c83c09138135cbc49e2e687f359d77c77cb170 /include/openssl/tls1.h
parent352d0a9c6c151f5f8556d74f7a781c485a1bce35 (diff)
Cleaning up internal use of Signature Algorithms.
The signing logic itself still depends on pre-hashed messages and will be fixed in later commits. Change-Id: I901b0d99917c311653d44efa34a044bbb9f11e57 Reviewed-on: https://boringssl-review.googlesource.com/8545 Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'include/openssl/tls1.h')
-rw-r--r--include/openssl/tls1.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/openssl/tls1.h b/include/openssl/tls1.h
index 40d93680..00eaacfb 100644
--- a/include/openssl/tls1.h
+++ b/include/openssl/tls1.h
@@ -248,6 +248,11 @@ extern "C" {
#define SSL_SIGN_ECDSA_SECP384R1_SHA384 0x0503
#define SSL_SIGN_ECDSA_SECP521R1_SHA512 0x0603
+/* Reserved SignatureScheme value to indicate RSA with MD5-SHA1. This will never
+ * be negotiated in TLS 1.2 and up, but is used to unify signing interfaces in
+ * older TLS versions. */
+#define SSL_SIGN_RSA_PKCS1_MD5_SHA1 0xff01
+
#define TLSEXT_MAXLEN_host_name 255
/* PSK ciphersuites from 4279 */