ascon: 2021 edition (#40)

Since #39 bumped MSRV to 1.59, we can go ahead and do a 2021 edition
upgrade, including README.md in the toplevel rustdoc.
This commit is contained in:
Tony Arcieri 2023-02-25 17:36:18 -07:00 committed by GitHub
parent 8eb14719c0
commit 2a71bae6b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 23 deletions

View File

@ -12,7 +12,8 @@ repository = "https://github.com/RustCrypto/sponges/tree/master/ascon"
keywords = ["crypto", "sponge"]
categories = ["cryptography", "no-std"]
readme = "README.md"
edition = "2018"
edition = "2021"
rust-version = "1.59"
[features]
default = ["alloc"]

View File

@ -1,26 +1,5 @@
//! Pure Rust implementation of [Ascon], a family of authenticated encryption and
//! hashing algorithms designed to be lightweight and easy to implement.
//!
//! ## About
//!
//! Ascon is a family of lightweight algorithms built on a core permutation
//! algorithm. These algorithms include:
//!
//! - Authenticated Encryption with Associated Data (AEAD)
//! - Hash functions (HASH) and extendible-output functions (XOF)
//! - Pseudo-random functions (PRF) and message authentication codes (MAC)
//!
//! Ascon has been selected as [new standard for lightweight cryptography] in the
//! [NIST Lightweight Cryptography] competition, and has also been selected as the
//! primary choice for lightweight authenticated encryption in the final
//! portfolio of the [CAESAR competition].
//!
//! [Ascon]: https://ascon.iaik.tugraz.at/
//! [New standard for lightweight cryptography]: https://www.nist.gov/news-events/news/2023/02/nist-selects-lightweight-cryptography-algorithms-protect-small-devices
//! [NIST Lightweight Cryptography]: https://csrc.nist.gov/projects/lightweight-cryptography/finalists
//! [CAESAR competition]: https://competitions.cr.yp.to/caesar-submissions.html
#![no_std]
#![doc = include_str!("../README.md")]
#![doc(
html_logo_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg",
html_favicon_url = "https://raw.githubusercontent.com/RustCrypto/meta/master/logo.svg"