From 6c5f56e206ff0bbf6ac8b51a6cf4730d278d7c8b Mon Sep 17 00:00:00 2001 From: Arthur Gautier Date: Wed, 13 Mar 2024 13:56:27 -0700 Subject: [PATCH] crypto-common: adds an `OutputSize` type alias (#1533) --- crypto-common/src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crypto-common/src/lib.rs b/crypto-common/src/lib.rs index 45ee05534..712fcf49b 100644 --- a/crypto-common/src/lib.rs +++ b/crypto-common/src/lib.rs @@ -39,7 +39,10 @@ pub type Block = Array::BlockSize>; pub type ParBlocks = Array, ::ParBlocksSize>; /// Output array of [`OutputSizeUser`] implementors. -pub type Output = Array::OutputSize>; +pub type Output = Array>; + +/// Alias for the output size of [`OutputSizeUser`] implementors. +pub type OutputSize = ::OutputSize; /// Key used by [`KeySizeUser`] implementors. pub type Key = Array::KeySize>;