diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-03-06 19:55:25 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-03-06 19:55:25 +0000 |
commit | ff04bbe363ae8e98ab78c9d1c3735e9ac220c4b9 (patch) | |
tree | 9f009f545cd45da861fafb18e0b34622b39fa463 /crypto/rsa/rsa.h | |
parent | 148924c1f4947bdea46c52cc1f7c5f3fadc5ebca (diff) | |
download | openssl-ff04bbe363ae8e98ab78c9d1c3735e9ac220c4b9.tar.gz |
Add PSS algorithm printing. This is an initial step towards full PSS support.
Uses ASN1 module in Martin Kaiser's PSS patch.
Diffstat (limited to 'crypto/rsa/rsa.h')
-rw-r--r-- | crypto/rsa/rsa.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index cf74343657..e3565155ed 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -300,6 +300,16 @@ const RSA_METHOD *RSA_null_method(void); DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPublicKey) DECLARE_ASN1_ENCODE_FUNCTIONS_const(RSA, RSAPrivateKey) +typedef struct rsassaPssParams_st + { + X509_ALGOR *hashAlgorithm; + X509_ALGOR *maskGenAlgorithm; + ASN1_INTEGER *saltLength; + ASN1_INTEGER *trailerField; + } RSASSA_PSS_PARAMS; + +DECLARE_ASN1_FUNCTIONS(RSASSA_PSS_PARAMS) + #ifndef OPENSSL_NO_FP_API int RSA_print_fp(FILE *fp, const RSA *r,int offset); #endif |