We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d749e27 commit dd53eb6Copy full SHA for dd53eb6
blake/src/lib.rs
@@ -65,7 +65,7 @@ macro_rules! define_compressor {
65
&v[..8].copy_from_slice(&self.state.h);
66
&v[8..].copy_from_slice(&U[..8]);
67
for (vx, sx) in v[8..11].iter_mut().zip(&self.state.s) {
68
- *vx ^= sx;
+ *vx ^= *sx;
69
}
70
71
// don't xor t when the block is only padding
@@ -90,7 +90,7 @@ macro_rules! define_compressor {
90
91
92
for (i, vx) in v.iter().enumerate() {
93
- self.state.h[i % 8] ^= vx;
+ self.state.h[i % 8] ^= *vx;
94
95
96
for (i, hx) in self.state.h.iter_mut().enumerate() {
0 commit comments