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:
authorMatt Braithwaite <mab@google.com>2015-07-07 21:02:38 +0300
committerAdam Langley <agl@google.com>2015-08-07 05:14:56 +0300
commit02e1834bc752e4176a20adbed8805a94e59e75e9 (patch)
treea77319b28ea5fb25c0592ea4144cdb9485274bf8 /include/openssl/rsa.h
parent45b03025bd24a359c5654b6d24f973768607a95d (diff)
Make |RSA_PSS_PARAMS| public.
Change-Id: I4a30b80a76cb4bb6e9bc488a915488b0a794520e Reviewed-on: https://boringssl-review.googlesource.com/5591 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'include/openssl/rsa.h')
-rw-r--r--include/openssl/rsa.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/openssl/rsa.h b/include/openssl/rsa.h
index af52f6c8..0d87f278 100644
--- a/include/openssl/rsa.h
+++ b/include/openssl/rsa.h
@@ -59,6 +59,7 @@
#include <openssl/base.h>
+#include <openssl/asn1.h>
#include <openssl/engine.h>
#include <openssl/ex_data.h>
#include <openssl/thread.h>
@@ -462,6 +463,15 @@ OPENSSL_EXPORT int RSA_blinding_on(RSA *rsa, BN_CTX *ctx);
OPENSSL_EXPORT RSA *RSA_generate_key(int bits, unsigned long e, void *callback,
void *cb_arg);
+typedef struct rsa_pss_params_st {
+ X509_ALGOR *hashAlgorithm;
+ X509_ALGOR *maskGenAlgorithm;
+ ASN1_INTEGER *saltLength;
+ ASN1_INTEGER *trailerField;
+} RSA_PSS_PARAMS;
+
+DECLARE_ASN1_FUNCTIONS(RSA_PSS_PARAMS)
+
struct rsa_meth_st {
struct openssl_method_common_st common;