diff --git a/src/vdaf/xof.rs b/src/vdaf/xof.rs index b38d17646..85006a063 100644 --- a/src/vdaf/xof.rs +++ b/src/vdaf/xof.rs @@ -145,7 +145,9 @@ pub struct SeedStreamAes128(Ctr64BE); #[cfg(feature = "crypto-dependencies")] impl SeedStreamAes128 { - pub(crate) fn new(key: &[u8], iv: &[u8]) -> Self { + /// Construct an instance of the seed stream with the given AES key `key` and initialization + /// vector `iv`. + pub fn new(key: &[u8], iv: &[u8]) -> Self { SeedStreamAes128( as KeyIvInit>::new(key.into(), iv.into())) }