Skip to content

Commit

Permalink
add test compile_error
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jan 18, 2022
1 parent 26469ea commit e29ea74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kuznyechik/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,6 @@ type KeySize = U32;
pub type Block = GenericArray<u8, U16>;
/// 256-bit Kuznyechik key
pub type Key = GenericArray<u8, U32>;

#[cfg(kuznyechik_force_soft)]
compile_error!("kuznyechik_force_soft is enabled");

0 comments on commit e29ea74

Please sign in to comment.