mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-04 20:24:10 +00:00
Merge remote-tracking branch 'rozbb/master' into develop
This commit is contained in:
commit
23e61b7063
1 changed files with 1 additions and 0 deletions
|
|
@ -25,6 +25,7 @@ use rand_core::CryptoRng;
|
|||
|
||||
/// A `PublicKey` is the corresponding public key converted from
|
||||
/// an `EphemeralSecret` or a `StaticSecret` key.
|
||||
#[derive(Copy, Clone, Debug)]
|
||||
pub struct PublicKey(pub (crate) MontgomeryPoint);
|
||||
|
||||
impl From<[u8; 32]> for PublicKey {
|
||||
|
|
|
|||
Loading…
Reference in a new issue