risc0-curve25519-dalek-source/src
Tony Arcieri 52da7353b8
Rename Keypair => SigningKey; PublicKey => VerifyingKey (#242)
* Rename `signing` and `verifying` modules

Renames the following modules:

- `keypair` => `signing`
- `public` => `verifying`

Renaming these in an individual commit preserves the commit history.

This is in anticipation of renaming the following per #225:

- `Keypair` => `SigningKey`
- `PublicKey` => `VerifyingKey`

* Rename `Keypair` => `SigningKey`; `PublicKey` => `VerifyingKey`

As proposed in #225, renames key types after their roles:

- `SigningKey` produces signatures
- `VerifyingKey` verifies signatures

The `SecretKey` type is changed to a type alias for `[u8; 32]`, which
matches the RFC8032 definition:

https://www.rfc-editor.org/rfc/rfc8032#section-5.1.5

> The private key is 32 octets (256 bits, corresponding to b) of
> cryptographically secure random data.
2022-12-18 01:24:58 -05:00
..
batch.rs Rename Keypair => SigningKey; PublicKey => VerifyingKey (#242) 2022-12-18 01:24:58 -05:00
constants.rs Edition fixups: remove extern crate, add idioms lint (#231) 2022-12-08 02:39:48 -05:00
errors.rs Edition fixups: remove extern crate, add idioms lint (#231) 2022-12-08 02:39:48 -05:00
lib.rs Rename Keypair => SigningKey; PublicKey => VerifyingKey (#242) 2022-12-18 01:24:58 -05:00
signature.rs PKCS#8 support (#224) 2022-12-13 18:19:31 -05:00
signing.rs Rename Keypair => SigningKey; PublicKey => VerifyingKey (#242) 2022-12-18 01:24:58 -05:00
verifying.rs Rename Keypair => SigningKey; PublicKey => VerifyingKey (#242) 2022-12-18 01:24:58 -05:00