Searched refs:random_bytes (Results 1 – 1 of 1) sorted by relevance
119 let random_bytes: [u8; P192r1::PRIVATE_KEY_SIZE] = thread_rng().gen(); in generate_p192() localVariable120 let mut key = BigInt::from_signed_bytes_le(&random_bytes); in generate_p192()135 let random_bytes: [u8; P256r1::PRIVATE_KEY_SIZE] = thread_rng().gen(); in generate_p256() localVariable136 let mut key = BigInt::from_signed_bytes_le(&random_bytes); in generate_p256()