File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111pub use digest:: { self , Digest } ;
1212
13- #[ cfg( feature = "oid" ) ]
14- mod oids;
1513mod variants;
16-
1714pub use variants:: * ;
1815
1916use bash_f:: { STATE_WORDS , bash_f} ;
Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,3 +35,32 @@ impl CollisionResistance for BashPrgHash2561 {
3535impl CollisionResistance for BashPrgHash2562 {
3636 type CollisionResistance = U32 ;
3737}
38+
39+ #[ cfg( feature = "oid" ) ]
40+ mod oids {
41+ use digest:: const_oid:: { AssociatedOid , ObjectIdentifier } ;
42+
43+ impl AssociatedOid for super :: BashPrgHash1281 {
44+ const OID : ObjectIdentifier = ObjectIdentifier :: new_unwrap ( "1.2.112.0.2.0.34.101.77.21" ) ;
45+ }
46+
47+ impl AssociatedOid for super :: BashPrgHash1282 {
48+ const OID : ObjectIdentifier = ObjectIdentifier :: new_unwrap ( "1.2.112.0.2.0.34.101.77.22" ) ;
49+ }
50+
51+ impl AssociatedOid for super :: BashPrgHash1921 {
52+ const OID : ObjectIdentifier = ObjectIdentifier :: new_unwrap ( "1.2.112.0.2.0.34.101.77.23" ) ;
53+ }
54+
55+ impl AssociatedOid for super :: BashPrgHash1922 {
56+ const OID : ObjectIdentifier = ObjectIdentifier :: new_unwrap ( "1.2.112.0.2.0.34.101.77.24" ) ;
57+ }
58+
59+ impl AssociatedOid for super :: BashPrgHash2561 {
60+ const OID : ObjectIdentifier = ObjectIdentifier :: new_unwrap ( "1.2.112.0.2.0.34.101.77.25" ) ;
61+ }
62+
63+ impl AssociatedOid for super :: BashPrgHash2562 {
64+ const OID : ObjectIdentifier = ObjectIdentifier :: new_unwrap ( "1.2.112.0.2.0.34.101.77.26" ) ;
65+ }
66+ }
You can’t perform that action at this time.
0 commit comments