Skip to content

Commit bfcb790

Browse files
author
Jakob Gerstmayer
committed
Reverted wrong code comment
1 parent b2cb79b commit bfcb790

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/src/aes.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ impl Aes {
826826
w.errie().disabled();
827827
w.dmainen().disabled();
828828
w.dmaouten().disabled();
829-
w.gcmph().bits(0); // do not care for ECB
829+
w.gcmph().bits(0); // do not care for CBC
830830
w.keysize().variant(keysize);
831831
w.npblb().bits(0) // no padding
832832
});
@@ -973,7 +973,7 @@ impl Aes {
973973
w.errie().disabled();
974974
w.dmainen().disabled();
975975
w.dmaouten().disabled();
976-
w.gcmph().bits(0); // do not care for CBC
976+
w.gcmph().bits(0); // do not care for ECB
977977
w.keysize().variant(keysize);
978978
w.npblb().bits(0) // no padding
979979
});

0 commit comments

Comments
 (0)