Merge pull request #940 from CmdrMoozy/rsa_padding
Add an openssl-sys binding for RSA_padding_check_PKCS1_type_2.
This commit is contained in:
commit
24f4bdb533
|
|
@ -2365,6 +2365,14 @@ extern "C" {
|
|||
k: *mut RSA,
|
||||
) -> c_int;
|
||||
|
||||
pub fn RSA_padding_check_PKCS1_type_2(
|
||||
to: *mut c_uchar,
|
||||
tlen: c_int,
|
||||
f: *const c_uchar,
|
||||
fl: c_int,
|
||||
rsa_len: c_int,
|
||||
) -> c_int;
|
||||
|
||||
pub fn DSA_new() -> *mut DSA;
|
||||
pub fn DSA_free(dsa: *mut DSA);
|
||||
pub fn DSA_size(dsa: *const DSA) -> c_int;
|
||||
|
|
|
|||
Loading…
Reference in New Issue