refactor: Remove unneded prints and change gfmul

This commit is contained in:
Alivecow 2024-11-29 19:02:37 +01:00
parent c24d47e4b6
commit bf4c3ee4ca
5 changed files with 9 additions and 72 deletions

View file

@ -55,15 +55,12 @@ impl FieldElement {
let mut result: FieldElement = FieldElement::one();
if exponent == 1 {
eprintln!("special case 1: {:02X?}", self.clone());
return self;
}
if exponent == 0 {
let result = FieldElement::one();
eprintln!("Returned value is: {:02X?}", result);
return result;
}