Skip to content

Commit

Permalink
clean up comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tcoratger committed Dec 15, 2024
1 parent 6613805 commit 89f8fa6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions polyval/src/backend/pmull.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ use universal_hash::{

use crate::{Block, Key, Tag};

/// Montgomery reduction polynomial `p(x)` defined as:
/// \[
/// p(x) = x^{127} + x^{126} + x^{121} + x^{63} + x^{62} + x^{57}
/// \]
/// Montgomery reduction polynomial
const POLY: u128 = (1 << 127) | (1 << 126) | (1 << 121) | (1 << 63) | (1 << 62) | (1 << 57);

/// **POLYVAL**: GHASH-like universal hash over GF(2^128).
Expand Down

0 comments on commit 89f8fa6

Please sign in to comment.