From 2cf680866586ff7b41eb219c4c1c9f149d8c5046 Mon Sep 17 00:00:00 2001 From: Kevin Lewi Date: Mon, 15 Jun 2020 16:40:46 -0700 Subject: [PATCH] Adding documentation to each component of CipherSuite --- src/ciphersuite.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ciphersuite.rs b/src/ciphersuite.rs index 2275819..04b65a5 100644 --- a/src/ciphersuite.rs +++ b/src/ciphersuite.rs @@ -15,6 +15,10 @@ use generic_array::typenum::{U32, U64}; use rand_core::{CryptoRng, RngCore}; /// Configures the underlying primitives used in OPAQUE +/// * Aead: an authenticated encryption scheme +/// * Group: a finite cyclic group along with a point representation +/// * KeyFormat: a keypair type composed of public and private components +/// * SlowHash: a slow hashing function, typically used for password hashing pub trait CipherSuite { type Aead: aead::NewAead + aead::Aead; type Group: Group;