mirror of
https://github.com/saymrwulf/risc0-curve25519-dalek-source.git
synced 2026-09-06 20:20:39 +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
|
/// A `PublicKey` is the corresponding public key converted from
|
||||||
/// an `EphemeralSecret` or a `StaticSecret` key.
|
/// an `EphemeralSecret` or a `StaticSecret` key.
|
||||||
|
#[derive(Copy, Clone, Debug)]
|
||||||
pub struct PublicKey(pub (crate) MontgomeryPoint);
|
pub struct PublicKey(pub (crate) MontgomeryPoint);
|
||||||
|
|
||||||
impl From<[u8; 32]> for PublicKey {
|
impl From<[u8; 32]> for PublicKey {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue