summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rsa/rsa.h
diff options
context:
space:
mode:
authorjsing <>2019-11-01 03:45:13 +0000
committerjsing <>2019-11-01 03:45:13 +0000
commit06b54e9217af744c680ff812191733948cfafa40 (patch)
tree76c7f4e1cab4725386517c297aacf6d5616d0c59 /src/lib/libcrypto/rsa/rsa.h
parent207d5072457060a56e0ae65ce9e652e88178d798 (diff)
downloadopenbsd-06b54e9217af744c680ff812191733948cfafa40.tar.gz
openbsd-06b54e9217af744c680ff812191733948cfafa40.tar.bz2
openbsd-06b54e9217af744c680ff812191733948cfafa40.zip
Update RSA ASN.1 code to handle RSA-PSS.
From OpenSSL 1.1.1d. ok tb@
Diffstat (limited to 'src/lib/libcrypto/rsa/rsa.h')
-rw-r--r--src/lib/libcrypto/rsa/rsa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/rsa/rsa.h b/src/lib/libcrypto/rsa/rsa.h
index 48d6d64bd1..86e5f8e20f 100644
--- a/src/lib/libcrypto/rsa/rsa.h
+++ b/src/lib/libcrypto/rsa/rsa.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: rsa.h,v 1.45 2019/10/31 13:56:29 jsing Exp $ */ 1/* $OpenBSD: rsa.h,v 1.46 2019/11/01 03:45:13 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -615,6 +615,7 @@ void ERR_load_RSA_strings(void);
615#define RSA_R_DATA_TOO_LARGE_FOR_MODULUS 132 615#define RSA_R_DATA_TOO_LARGE_FOR_MODULUS 132
616#define RSA_R_DATA_TOO_SMALL 111 616#define RSA_R_DATA_TOO_SMALL 111
617#define RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE 122 617#define RSA_R_DATA_TOO_SMALL_FOR_KEY_SIZE 122
618#define RSA_R_DIGEST_DOES_NOT_MATCH 158
618#define RSA_R_DIGEST_NOT_ALLOWED 145 619#define RSA_R_DIGEST_NOT_ALLOWED 145
619#define RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY 112 620#define RSA_R_DIGEST_TOO_BIG_FOR_RSA_KEY 112
620#define RSA_R_DMP1_NOT_CONGRUENT_TO_D 124 621#define RSA_R_DMP1_NOT_CONGRUENT_TO_D 124