Skip to content

Commit 32c7d0d

Browse files
authored
Rename ascon-aead to ascon-aead128 (#677)
1 parent 42552e3 commit 32c7d0d

File tree

12 files changed

+19
-28
lines changed

12 files changed

+19
-28
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
name: ascon-aead
1+
name: ascon-aead128
22

33
on:
44
pull_request:
55
paths:
6-
- ".github/workflows/ascon-aead.yml"
7-
- "ascon-aead/**"
6+
- ".github/workflows/ascon-aead128.yml"
7+
- "ascon-aead128/**"
88
- "Cargo.*"
99
push:
1010
branches: master
1111

1212
defaults:
1313
run:
14-
working-directory: ascon-aead
14+
working-directory: ascon-aead128
1515

1616
env:
1717
CARGO_INCREMENTAL: 0

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ members = [
44
"aes-gcm",
55
"aes-gcm-siv",
66
"aes-siv",
7-
"ascon-aead",
7+
"ascon-aead128",
88
"belt-dwp",
99
"ccm",
1010
"chacha20poly1305",
File renamed without changes.
Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
[package]
2-
name = "ascon-aead"
3-
version = "0.4.2"
4-
description = "Implementation of the authenticated encryption schemes Ascon-128, Ascon-128a, and Ascon-80pq"
5-
authors = [
6-
"Sebastian Ramacher <[email protected]>",
7-
"RustCrypto Developers",
8-
]
2+
name = "ascon-aead128"
3+
version = "0.1.0"
4+
description = "Implementation of the Ascon-AEAD128 authenticated encryption scheme"
5+
authors = ["RustCrypto Developers"]
96
edition = "2024"
107
license = "Apache-2.0 OR MIT"
118
readme = "README.md"
File renamed without changes.
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright 2021-2023 Sebastian Ramacher
2-
// SPDX-License-Identifier: Apache-2.0 OR MIT
3-
41
use aead::{
52
Error,
63
array::{Array, ArraySize},
Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// Copyright 2021-2023 Sebastian Ramacher
2-
// SPDX-License-Identifier: Apache-2.0 OR MIT
3-
41
#![no_std]
52
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
63
#![doc = include_str!("../README.md")]
@@ -16,8 +13,8 @@
1613
//!
1714
//! ```
1815
//! # #[cfg(feature = "alloc")] {
19-
//! use ascon_aead::{AsconAead128, Key, Nonce};
20-
//! use ascon_aead::aead::{Aead, KeyInit};
16+
//! use ascon_aead128::{AsconAead128, Key, Nonce};
17+
//! use ascon_aead128::aead::{Aead, KeyInit};
2118
//!
2219
//! let key = Key::<AsconAead128>::from_slice(b"very secret key.");
2320
//! let cipher = AsconAead128::new(key);
@@ -38,8 +35,8 @@
3835
//!
3936
//! ```
4037
//! # #[cfg(feature = "getrandom")] {
41-
//! use ascon_aead::AsconAead128;
42-
//! use ascon_aead::aead::{Aead, AeadCore, KeyInit, OsRng};
38+
//! use ascon_aead128::AsconAead128;
39+
//! use ascon_aead128::aead::{Aead, AeadCore, KeyInit, OsRng};
4340
//!
4441
//! let key = AsconAead128::generate_key().expect("generate key");
4542
//! let cipher = AsconAead128::new(&key);
@@ -73,9 +70,9 @@
7370
//!
7471
//! ```
7572
//! # #[cfg(feature = "heapless")] {
76-
//! use ascon_aead::{AsconAead128, Key, Nonce};
77-
//! use ascon_aead::aead::{AeadInPlace, KeyInit};
78-
//! use ascon_aead::aead::heapless::Vec;
73+
//! use ascon_aead128::{AsconAead128, Key, Nonce};
74+
//! use ascon_aead128::aead::{AeadInPlace, KeyInit};
75+
//! use ascon_aead128::aead::heapless::Vec;
7976
//!
8077
//! let key = Key::<AsconAead128>::from_slice(b"very secret key.");
8178
//! let cipher = AsconAead128::new(key);

0 commit comments

Comments
 (0)