Lines Matching refs:BigNumRef
16 use crate::bn::{BigNum, BigNumRef};
104 pub fn pub_key(&self) -> &BigNumRef {
108 BigNumRef::from_const_ptr(pub_key)
140 pub fn priv_key(&self) -> &BigNumRef {
144 BigNumRef::from_const_ptr(priv_key)
161 pub fn p(&self) -> &BigNumRef {
165 BigNumRef::from_const_ptr(p)
171 pub fn q(&self) -> &BigNumRef {
175 BigNumRef::from_const_ptr(q)
181 pub fn g(&self) -> &BigNumRef {
185 BigNumRef::from_const_ptr(g)
477 pub fn r(&self) -> &BigNumRef {
481 BigNumRef::from_const_ptr(r)
487 pub fn s(&self) -> &BigNumRef {
491 BigNumRef::from_const_ptr(s)
623 BigNumRef::to_owned(p).unwrap(),
624 BigNumRef::to_owned(q).unwrap(),
625 BigNumRef::to_owned(g).unwrap(),
626 BigNumRef::to_owned(priv_key).unwrap(),
627 BigNumRef::to_owned(pub_key).unwrap(),
633 BigNumRef::to_owned(p).unwrap(),
634 BigNumRef::to_owned(q).unwrap(),
635 BigNumRef::to_owned(g).unwrap(),
636 BigNumRef::to_owned(pub_key).unwrap(),