#gf #galois

dbl

Double operation in Galois Field GF(2^128) as used by e.g. CMAC/PMAC

13 releases

Uses new Rust 2024

0.4.0-rc.2 Feb 23, 2025
0.4.0-rc.1 Oct 21, 2024
0.4.0-rc.0 Jul 26, 2024
0.4.0-pre.4 Jan 10, 2024
0.1.0 Nov 20, 2017

#2892 in Cryptography

Download history 35073/week @ 2024-12-14 11023/week @ 2024-12-21 15808/week @ 2024-12-28 41950/week @ 2025-01-04 41783/week @ 2025-01-11 33532/week @ 2025-01-18 37064/week @ 2025-01-25 36818/week @ 2025-02-01 43890/week @ 2025-02-08 38388/week @ 2025-02-15 50170/week @ 2025-02-22 43318/week @ 2025-03-01 49673/week @ 2025-03-08 44015/week @ 2025-03-15 44302/week @ 2025-03-22 35588/week @ 2025-03-29

178,931 downloads per month
Used in 152 crates (4 directly)

MIT/Apache

9KB
129 lines

RustCrypto: GF(2^128) "dbl" operation

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Double operation in Galois Field GF(2^128) as used by e.g. CMAC/PMAC.

Also known as "multiply-by-x", the operation is performed in the finite field represented using the primitive polynomial x^128 + x^7 + x^2 + x + 1.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~485KB
~14K SLoC