| ... | ... | @@ -562,28 +562,6 @@ pub const Aegis128X2Mac = AegisMac(Aegis128X2_256); |
| 562 | 562 | /// - It has a large security margin against internal collisions. |
| 563 | 563 | pub const Aegis128LMac = AegisMac(Aegis128L_256); |
| 564 | 564 | |
| 565 | | /// The `Aegis256X4Mac` message authentication function has a 256-bit key size, |
| 566 | | /// and outputs 256 bit tags. Unless theoretical multi-target attacks are a |
| 567 | | /// concern, the AEGIS-128L variant should be preferred. |
| 568 | | /// AEGIS' large state, non-linearity and non-invertibility provides the |
| 569 | | /// following properties: |
| 570 | | /// - 256 bit security against forgery. |
| 571 | | /// - Recovering the secret key from the state would require ~2^256 attempts, |
| 572 | | /// which is infeasible for any practical adversary. |
| 573 | | /// - It has a large security margin against internal collisions. |
| 574 | | pub const Aegis256X4Mac = AegisMac(Aegis256X4_256); |
| 575 | | |
| 576 | | /// The `Aegis256X2Mac` message authentication function has a 256-bit key size, |
| 577 | | /// and outputs 256 bit tags. Unless theoretical multi-target attacks are a |
| 578 | | /// concern, the AEGIS-128L variant should be preferred. |
| 579 | | /// AEGIS' large state, non-linearity and non-invertibility provides the |
| 580 | | /// following properties: |
| 581 | | /// - 256 bit security against forgery. |
| 582 | | /// - Recovering the secret key from the state would require ~2^256 attempts, |
| 583 | | /// which is infeasible for any practical adversary. |
| 584 | | /// - It has a large security margin against internal collisions. |
| 585 | | pub const Aegis256X2Mac = AegisMac(Aegis256X2_256); |
| 586 | | |
| 587 | 565 | /// The `Aegis256Mac` message authentication function has a 256-bit key size, |
| 588 | 566 | /// and outputs 256 bit tags. Unless theoretical multi-target attacks are a |
| 589 | 567 | /// concern, the AEGIS-128L variant should be preferred. |
| ... | ... | @@ -595,21 +573,9 @@ pub const Aegis256X2Mac = AegisMac(Aegis256X2_256); |
| 595 | 573 | /// - It has a large security margin against internal collisions. |
| 596 | 574 | pub const Aegis256Mac = AegisMac(Aegis256_256); |
| 597 | 575 | |
| 598 | | /// AEGIS-128X4 MAC with 128-bit tags |
| 599 | | pub const Aegis128X4Mac_128 = AegisMac(Aegis128X4); |
| 600 | | |
| 601 | | /// AEGIS-128X2 MAC with 128-bit tags |
| 602 | | pub const Aegis128X2Mac_128 = AegisMac(Aegis128X2); |
| 603 | | |
| 604 | 576 | /// AEGIS-128L MAC with 128-bit tags |
| 605 | 577 | pub const Aegis128LMac_128 = AegisMac(Aegis128L); |
| 606 | 578 | |
| 607 | | /// AEGIS-256X4 MAC with 128-bit tags |
| 608 | | pub const Aegis256X4Mac_128 = AegisMac(Aegis256X4); |
| 609 | | |
| 610 | | /// AEGIS-256X2 MAC with 128-bit tags |
| 611 | | pub const Aegis256X2Mac_128 = AegisMac(Aegis256X2); |
| 612 | | |
| 613 | 579 | /// AEGIS-256 MAC with 128-bit tags |
| 614 | 580 | pub const Aegis256Mac_128 = AegisMac(Aegis256); |
| 615 | 581 | |