diff options
| author | Chris Cole <[email protected]> | 2014-12-10 22:08:32 -0500 |
|---|---|---|
| committer | Chris Cole <[email protected]> | 2014-12-10 22:08:32 -0500 |
| commit | 33f3c966ac0448a6f906f23d7cf51969c088bfa1 (patch) | |
| tree | 64e5feadaaa1805ce9a9459ad0cc7aac7a297b29 /openssl-sys/src | |
| parent | Merge remote-tracking branch 'upstream/master' (diff) | |
| download | rust-openssl-33f3c966ac0448a6f906f23d7cf51969c088bfa1.tar.xz rust-openssl-33f3c966ac0448a6f906f23d7cf51969c088bfa1.zip | |
Added mod_word.
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 2b0c9292..931920a9 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -255,6 +255,7 @@ extern "C" { pub fn BN_mod_sub(r: *mut BIGNUM, a: *mut BIGNUM, b: *mut BIGNUM, m: *mut BIGNUM, ctx: *mut BN_CTX) -> c_int; pub fn BN_mul(r: *mut BIGNUM, a: *mut BIGNUM, b: *mut BIGNUM, ctx: *mut BN_CTX) -> c_int; pub fn BN_nnmod(rem: *mut BIGNUM, a: *mut BIGNUM, m: *mut BIGNUM, ctx: *mut BN_CTX) -> c_int; + pub fn BN_mod_word(r: *mut BIGNUM, w: c_ulong) -> c_ulong; pub fn BN_sqr(r: *mut BIGNUM, a: *mut BIGNUM, ctx: *mut BN_CTX) -> c_int; pub fn BN_sub(r: *mut BIGNUM, a: *mut BIGNUM, b: *mut BIGNUM) -> c_int; |