/third_party/rust/crates/rust-openssl/openssl/src/ |
D | bn.rs | 154 pub struct BigNumRef; 157 impl BigNumRef { impl 215 pub fn rand_range(&self, rnd: &mut BigNumRef) -> Result<(), ErrorStack> { in rand_range() 222 pub fn pseudo_rand_range(&self, rnd: &mut BigNumRef) -> Result<(), ErrorStack> { in pseudo_rand_range() 262 pub fn lshift1(&mut self, a: &BigNumRef) -> Result<(), ErrorStack> { in lshift1() 268 pub fn rshift1(&mut self, a: &BigNumRef) -> Result<(), ErrorStack> { in rshift1() 276 pub fn checked_add(&mut self, a: &BigNumRef, b: &BigNumRef) -> Result<(), ErrorStack> { in checked_add() argument 284 pub fn checked_sub(&mut self, a: &BigNumRef, b: &BigNumRef) -> Result<(), ErrorStack> { in checked_sub() argument 291 pub fn lshift(&mut self, a: &BigNumRef, n: i32) -> Result<(), ErrorStack> { in lshift() argument 298 pub fn rshift(&mut self, a: &BigNumRef, n: i32) -> Result<(), ErrorStack> { in rshift() argument [all …]
|
D | dsa.rs | 15 use crate::bn::{BigNum, BigNumRef}; 103 pub fn pub_key(&self) -> &BigNumRef { in pub_key() argument 107 BigNumRef::from_const_ptr(pub_key) in pub_key() 132 pub fn priv_key(&self) -> &BigNumRef { in priv_key() argument 136 BigNumRef::from_const_ptr(priv_key) in priv_key() 153 pub fn p(&self) -> &BigNumRef { in p() argument 157 BigNumRef::from_const_ptr(p) in p() 163 pub fn q(&self) -> &BigNumRef { in q() argument 167 BigNumRef::from_const_ptr(q) in q() 173 pub fn g(&self) -> &BigNumRef { in g() argument [all …]
|
D | ec.rs | 23 use crate::bn::{BigNum, BigNumContextRef, BigNumRef}; 166 p: &mut BigNumRef, in components_gfp() argument 167 a: &mut BigNumRef, in components_gfp() argument 168 b: &mut BigNumRef, in components_gfp() argument 193 p: &mut BigNumRef, in components_gf2m() argument 194 a: &mut BigNumRef, in components_gf2m() argument 195 b: &mut BigNumRef, in components_gf2m() argument 214 cofactor: &mut BigNumRef, in cofactor() argument 272 order: &mut BigNumRef, in order() argument 347 m: &BigNumRef, in mul() argument [all …]
|
D | rsa.rs | 33 use crate::bn::{BigNum, BigNumRef}; 177 pub fn d(&self) -> &BigNumRef { in d() argument 181 BigNumRef::from_const_ptr(d) in d() 187 pub fn p(&self) -> Option<&BigNumRef> { in p() argument 191 BigNumRef::from_const_ptr_opt(p) in p() 197 pub fn q(&self) -> Option<&BigNumRef> { in q() argument 201 BigNumRef::from_const_ptr_opt(q) in q() 207 pub fn dmp1(&self) -> Option<&BigNumRef> { in dmp1() argument 211 BigNumRef::from_const_ptr_opt(dp) in dmp1() 217 pub fn dmq1(&self) -> Option<&BigNumRef> { in dmq1() argument [all …]
|
D | dh.rs | 8 use crate::bn::{BigNum, BigNumRef}; 163 pub fn prime_p(&self) -> &BigNumRef { in prime_p() argument 167 BigNumRef::from_ptr(p as *mut _) in prime_p() 173 pub fn prime_q(&self) -> Option<&BigNumRef> { in prime_q() argument 180 Some(BigNumRef::from_ptr(q as *mut _)) in prime_q() 187 pub fn generator(&self) -> &BigNumRef { in generator() argument 191 BigNumRef::from_ptr(g as *mut _) in generator() 202 pub fn public_key(&self) -> &BigNumRef { in public_key() argument 206 BigNumRef::from_ptr(pub_key as *mut _) in public_key() 217 pub fn compute_key(&self, public_key: &BigNumRef) -> Result<Vec<u8>, ErrorStack> { in compute_key() [all …]
|
D | ecdsa.rs | 9 use crate::bn::{BigNum, BigNumRef}; 93 pub fn r(&self) -> &BigNumRef { in r() argument 97 BigNumRef::from_const_ptr(r) in r() 103 pub fn s(&self) -> &BigNumRef { in s() argument 107 BigNumRef::from_const_ptr(s) in s()
|
D | asn1.rs | 39 use crate::bn::{BigNum, BigNumRef}; 509 pub fn from_bn(bn: &BigNumRef) -> Result<Self, ErrorStack> { in from_bn()
|
/third_party/rust/crates/rust-openssl/openssl/ |
D | CHANGELOG.md | 66 * Added `BigNumRef::copy_from_slice`. 142 * Added `BigNumRef::to_vec_padded`. 144 …:new_secure`, `BigNumReef::set_const_time`, `BigNumref::is_const_time`, and `BigNumRef::is_secure`.
|