Lines Matching refs:BigNumRef
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
177 BigNumRef::from_const_ptr(g) in g()
445 pub fn r(&self) -> &BigNumRef { in r() argument
449 BigNumRef::from_const_ptr(r) in r()
455 pub fn s(&self) -> &BigNumRef { in s() argument
459 BigNumRef::from_const_ptr(s) in s()
573 BigNumRef::to_owned(p).unwrap(), in test_signature()
574 BigNumRef::to_owned(q).unwrap(), in test_signature()
575 BigNumRef::to_owned(g).unwrap(), in test_signature()
576 BigNumRef::to_owned(priv_key).unwrap(), in test_signature()
577 BigNumRef::to_owned(pub_key).unwrap(), in test_signature()
583 BigNumRef::to_owned(p).unwrap(), in test_signature()
584 BigNumRef::to_owned(q).unwrap(), in test_signature()
585 BigNumRef::to_owned(g).unwrap(), in test_signature()
586 BigNumRef::to_owned(pub_key).unwrap(), in test_signature()