arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
fix: typos
Bobbin Threadbare bobbinth@protonmail.com
Thu, 21 Dec 2023 00:17:41 -0800
commit

59d93cb8baef7338b1c797cead557d1af8b7bc0c

parent

9baddfd138db8236a20b9e4d1265b6bfcc467663

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/hash/rescue/rpo/mod.rs → src/hash/rescue/rpo/mod.rs

@@ -117,7 +117,7 @@ });

// if we absorbed some elements but didn't apply a permutation to them (would happen when // the number of elements is not a multiple of RATE_WIDTH), apply the RPO permutation. we - // don't need to apply any extra padding because the first capacity element containts a + // don't need to apply any extra padding because the first capacity element contains a // flag indicating whether the input is evenly divisible by the rate. if i != 0 { state[RATE_RANGE.start + i..RATE_RANGE.end].fill(ZERO);
M src/hash/rescue/rpx/mod.rs → src/hash/rescue/rpx/mod.rs

@@ -132,7 +132,7 @@ });

// if we absorbed some elements but didn't apply a permutation to them (would happen when // the number of elements is not a multiple of RATE_WIDTH), apply the RPX permutation. we - // don't need to apply any extra padding because the first capacity element containts a + // don't need to apply any extra padding because the first capacity element contains a // flag indicating whether the input is evenly divisible by the rate. if i != 0 { state[RATE_RANGE.start + i..RATE_RANGE.end].fill(ZERO);