diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-09 16:11:33 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-09 16:11:33 +0200 |
| commit | 248b0fe9e155e1a00a04cb7b1fc687601d401d7c (patch) | |
| tree | e9415d31f1da14a1f8453790ce4c130aca06ecfc /core/crypto | |
| parent | af189b45f37dcb01ba37230f6a04bcf5260b2a48 (diff) | |
More package lines
Diffstat (limited to 'core/crypto')
| -rw-r--r-- | core/crypto/aead/doc.odin | 6 | ||||
| -rw-r--r-- | core/crypto/aegis/aegis.odin | 5 | ||||
| -rw-r--r-- | core/crypto/chacha20poly1305/chacha20poly1305.odin | 6 | ||||
| -rw-r--r-- | core/crypto/crypto.odin | 5 | ||||
| -rw-r--r-- | core/crypto/deoxysii/deoxysii.odin | 3 |
5 files changed, 11 insertions, 14 deletions
diff --git a/core/crypto/aead/doc.odin b/core/crypto/aead/doc.odin index 93be674a0..687b4deae 100644 --- a/core/crypto/aead/doc.odin +++ b/core/crypto/aead/doc.odin @@ -1,6 +1,6 @@ + /* -package aead provides a generic interface to the supported Authenticated -Encryption with Associated Data algorithms. +package aead implements a generic interface to Authenticated Encryption with Associated Data algorithms. Both a one-shot and context based interface are provided, with similar usage. If multiple messages are to be sealed/opened via the same key, @@ -54,4 +54,4 @@ Example: assert(bytes.equal(opened_pt, plaintext)) } */ -package aead +package aead
\ No newline at end of file diff --git a/core/crypto/aegis/aegis.odin b/core/crypto/aegis/aegis.odin index adecce91f..c0d8bf4ee 100644 --- a/core/crypto/aegis/aegis.odin +++ b/core/crypto/aegis/aegis.odin @@ -1,6 +1,7 @@ /* -package aegis implements the AEGIS-128L and AEGIS-256 Authenticated -Encryption with Additional Data algorithms. +package aegis implements the AEGIS-128L and AEGIS-256 AEAD algorithms. + +Where AEAD stands for Authenticated Encryption with Additional Data. See: - [[ https://www.ietf.org/archive/id/draft-irtf-cfrg-aegis-aead-12.txt ]] diff --git a/core/crypto/chacha20poly1305/chacha20poly1305.odin b/core/crypto/chacha20poly1305/chacha20poly1305.odin index 6706b3820..f6f375a84 100644 --- a/core/crypto/chacha20poly1305/chacha20poly1305.odin +++ b/core/crypto/chacha20poly1305/chacha20poly1305.odin @@ -1,7 +1,7 @@ /* -package chacha20poly1305 implements the AEAD_CHACHA20_POLY1305 and -AEAD_XChaCha20_Poly1305 Authenticated Encryption with Additional Data -algorithms. +package chacha20poly1305 implements the CHACHA20_POLY1305 and XChaCha20_Poly1305 AEAD algorithms. + +Where AEAD stands for Authenticated Encryption with Additional Data. See: - [[ https://www.rfc-editor.org/rfc/rfc8439 ]] diff --git a/core/crypto/crypto.odin b/core/crypto/crypto.odin index 323cc45d6..52ccb00de 100644 --- a/core/crypto/crypto.odin +++ b/core/crypto/crypto.odin @@ -1,7 +1,4 @@ -/* -package crypto implements a selection of cryptography algorithms and useful -helper routines. -*/ +// package crypto implements a selection of cryptography algorithms and useful helper routines. package crypto import "base:runtime" diff --git a/core/crypto/deoxysii/deoxysii.odin b/core/crypto/deoxysii/deoxysii.odin index cead770e2..db72ff194 100644 --- a/core/crypto/deoxysii/deoxysii.odin +++ b/core/crypto/deoxysii/deoxysii.odin @@ -1,6 +1,5 @@ /* -package deoxysii implements the Deoxys-II-256 Authenticated Encryption -with Additional Data algorithm. +package deoxysii implements the Deoxys-II-256 Authenticated Encryption with Additional Data algorithm. - [[ https://sites.google.com/view/deoxyscipher ]] - [[ https://thomaspeyrin.github.io/web/assets/docs/papers/Jean-etal-JoC2021.pdf ]] |