wolf_crypto/hash/
md4.rs

1use wolf_crypto_sys::{
2    Md4 as wc_Md4,
3    wc_Md4Update, wc_Md4Final,
4    wc_InitMd4
5};
6
7make_api! {
8    sec_warning: "MD4 has been considered **fully compromised** since 1995, with original \
9                  weaknesses published in 1991, as of 2007 an attack can generate collisions in \
10                  less than two MD4 hash operations.",
11    name: Md4,
12    wc: wc_Md4,
13    bs: 16,
14    init: = void wc_InitMd4,
15    update: = void wc_Md4Update,
16    finalize: = void wc_Md4Final,
17    needs-reset: true
18}