Skip to content

Commit

Permalink
ed448: name ed448 signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ashWhiteHat committed Aug 4, 2023
1 parent 03b77aa commit f02a09b
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and can be easily used for bare-metal or lightweight WebAssembly programming.
|-------------|-----------|-----------|---------------|-------|
| [`dsa`] | [DSA](https://en.wikipedia.org/wiki/Digital_Signature_Algorithm) | [![crates.io](https://img.shields.io/crates/v/dsa.svg)](https://crates.io/crates/dsa) | [![Documentation](https://docs.rs/dsa/badge.svg)](https://docs.rs/dsa) | [![dsa build](https://github.com/RustCrypto/signatures/workflows/dsa/badge.svg?branch=master&event=push)](https://github.com/RustCrypto/signatures/actions?query=workflow%3Adsa)
| [`ecdsa`] | [ECDSA](https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm) | [![crates.io](https://img.shields.io/crates/v/ecdsa.svg)](https://crates.io/crates/ecdsa) | [![Documentation](https://docs.rs/ecdsa/badge.svg)](https://docs.rs/ecdsa) | [![ecdsa build](https://github.com/RustCrypto/signatures/workflows/ecdsa/badge.svg?branch=master&event=push)](https://github.com/RustCrypto/signatures/actions?query=workflow%3Aecdsa) |
| [`ed448`] | [Ed2448](https://en.wikipedia.org/wiki/EdDSA#Ed448) | [![crates.io]]() | [![Documentation]]() | [![ed25519 build]]() |
| [`ed448`] | [Ed448](https://en.wikipedia.org/wiki/EdDSA#Ed448) | [![crates.io](https://img.shields.io/crates/v/ed448-signature.svg)](https://crates.io/crates/ed448-signature) | [![Documentation](https://docs.rs/ed448-signature/badge.svg)](https://docs.rs/ed448-signature) | [![ed448 build](https://github.com/RustCrypto/signatures/workflows/ed448-signature/badge.svg?branch=master&event=push)](https://github.com/RustCrypto/signatures/actions?query=workflow%3Aed448-signature) |
| [`ed25519`] | [Ed25519](https://en.wikipedia.org/wiki/EdDSA#Ed25519) | [![crates.io](https://img.shields.io/crates/v/ed25519.svg)](https://crates.io/crates/ed25519) | [![Documentation](https://docs.rs/ed25519/badge.svg)](https://docs.rs/ed25519) | [![ed25519 build](https://github.com/RustCrypto/signatures/workflows/ed25519/badge.svg?branch=master&event=push)](https://github.com/RustCrypto/signatures/actions?query=workflow%3Aed25519)
| [`rfc6979`] | [RFC6979](https://datatracker.ietf.org/doc/html/rfc6979) | [![crates.io](https://img.shields.io/crates/v/rfc6979.svg)](https://crates.io/crates/rfc6979) | [![Documentation](https://docs.rs/rfc6979/badge.svg)](https://docs.rs/rfc6979) | [![rfc6979 build](https://github.com/RustCrypto/signatures/actions/workflows/rfc6979.yml/badge.svg)](https://github.com/RustCrypto/signatures/actions/workflows/rfc6979.yml)

Expand Down
6 changes: 3 additions & 3 deletions ed448/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "ed448"
name = "ed448-signature"
version = "0.1.0"
edition = "2021"
authors = ["RustCrypto Developers"]
Expand All @@ -9,8 +9,8 @@ Edwards Digital Signature Algorithm (EdDSA) over Curve448 (as specified in RFC 7
support library providing signature type definitions and PKCS#8 private key
decoding/encoding support
"""
documentation = "https://docs.rs/ed448"
repository = "https://github.com/RustCrypto/signatures/tree/master/ed448"
documentation = "https://docs.rs/ed448-signature"
repository = "https://github.com/RustCrypto/signatures/tree/master/ed448-signature"
readme = "README.md"
categories = ["cryptography", "no-std"]
keywords = ["crypto", "curve448", "ecc", "signature", "signing"]
Expand Down
2 changes: 1 addition & 1 deletion ed448/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl TryFrom<&[u8]> for Signature {

impl fmt::Debug for Signature {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
f.debug_struct("ed448::Signature")
f.debug_struct("ed448_signature::Signature")
.field("R", self.r_bytes())
.field("s", self.s_bytes())
.finish()
Expand Down
2 changes: 1 addition & 1 deletion ed448/tests/hex.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Hexadecimal display/serialization tests.

use ed448::Signature;
use ed448_signature::Signature;
use hex_literal::hex;
use std::str::FromStr;

Expand Down
4 changes: 2 additions & 2 deletions ed448/tests/pkcs8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

#![cfg(feature = "pkcs8")]

use ed448::pkcs8::{DecodePrivateKey, DecodePublicKey, KeypairBytes, PublicKeyBytes};
use ed448_signature::pkcs8::{DecodePrivateKey, DecodePublicKey, KeypairBytes, PublicKeyBytes};
use hex_literal::hex;

#[cfg(feature = "alloc")]
use ed448::pkcs8::{EncodePrivateKey, EncodePublicKey};
use ed448_signature::pkcs8::{EncodePrivateKey, EncodePublicKey};

/// Ed448 PKCS#8 v1 private key encoded as ASN.1 DER.
const PKCS8_V1_DER: &[u8] = include_bytes!("examples/pkcs8-v1.der");
Expand Down
2 changes: 1 addition & 1 deletion ed448/tests/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#![cfg(feature = "serde")]

use ed448::{Signature, SignatureBytes};
use ed448_signature::{Signature, SignatureBytes};
use hex_literal::hex;

const EXAMPLE_SIGNATURE: SignatureBytes = hex!(
Expand Down

0 comments on commit f02a09b

Please sign in to comment.