Searched refs:public_modulus_len (Results 1 – 2 of 2) sorted by relevance
105 let mut actual = vec![0u8; key_pair.public_modulus_len()]; in test_signature_rsa_pkcs1_sign()145 let mut actual = vec![0u8; key_pair.public_modulus_len()]; in test_signature_rsa_pss_sign()
379 pub fn public_modulus_len(&self) -> usize { in public_modulus_len() method627 let mut signature = vec![0; key_pair.public_modulus_len() - 1]; in test_signature_rsa_pkcs1_sign_output_buffer_len()