aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/openssl/crypto/rsa/rsa.h
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>2003-10-03 01:32:14 +0000
committerJacques Vidrine <nectar@FreeBSD.org>2003-10-03 01:32:14 +0000
commit76caa953f91843752af72f44c4367221d831c09c (patch)
treecff016a6835014c6f9c4ac973e362d4aefc18934 /crypto/openssl/crypto/rsa/rsa.h
parent262a50de712ecd95d75f656136832a33650adc49 (diff)
downloadsrc-76caa953f91843752af72f44c4367221d831c09c.tar.gz
src-76caa953f91843752af72f44c4367221d831c09c.zip
MFC OpenSSL 0.9.7c.
Approved by: re
Notes
Notes: svn path=/stable/4/; revision=120682
Diffstat (limited to 'crypto/openssl/crypto/rsa/rsa.h')
-rw-r--r--crypto/openssl/crypto/rsa/rsa.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/rsa/rsa.h b/crypto/openssl/crypto/rsa/rsa.h
index b2e25e4e7c71..1ea0fe10a535 100644
--- a/crypto/openssl/crypto/rsa/rsa.h
+++ b/crypto/openssl/crypto/rsa/rsa.h
@@ -55,6 +55,7 @@
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*/
+/* $FreeBSD$ */
#ifndef HEADER_RSA_H
#define HEADER_RSA_H
@@ -170,6 +171,12 @@ struct rsa_st
*/
#define RSA_FLAG_SIGN_VER 0x40
+#define RSA_FLAG_NO_BLINDING 0x80 /* new with 0.9.6j and 0.9.7b; the built-in
+ * RSA implementation now uses blinding by
+ * default (ignoring RSA_FLAG_BLINDING),
+ * but other engines might not need it
+ */
+
#define RSA_PKCS1_PADDING 1
#define RSA_SSLV23_PADDING 2
#define RSA_NO_PADDING 3