diff options
| author | Bastian Köcher <[email protected]> | 2018-03-07 20:43:12 +0100 |
|---|---|---|
| committer | Bastian Köcher <[email protected]> | 2018-03-07 20:43:12 +0100 |
| commit | 84a5ce76079ab210272be3da49c93ebd5ab75524 (patch) | |
| tree | edc0235f31c009cbe2dd7a3e4b253e71e12d8cb5 /openssl | |
| parent | Adds `PKeyRef::get_id` to get the OID of a key (diff) | |
| download | rust-openssl-84a5ce76079ab210272be3da49c93ebd5ab75524.tar.xz rust-openssl-84a5ce76079ab210272be3da49c93ebd5ab75524.zip | |
Adds RSA PKCS1 PSS padding
Diffstat (limited to 'openssl')
| -rw-r--r-- | openssl/src/rsa.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl/src/rsa.rs b/openssl/src/rsa.rs index 02240948..6a591b69 100644 --- a/openssl/src/rsa.rs +++ b/openssl/src/rsa.rs @@ -63,6 +63,7 @@ impl Padding { pub const NONE: Padding = Padding(ffi::RSA_NO_PADDING); pub const PKCS1: Padding = Padding(ffi::RSA_PKCS1_PADDING); pub const PKCS1_OAEP: Padding = Padding(ffi::RSA_PKCS1_OAEP_PADDING); + pub const PKCS1_PSS: Padding = Padding(ffi::RSA_PKCS1_PSS_PADDING); } generic_foreign_type_and_impl_send_sync! { |