Skip to content

Commit e29ea74

Browse files
committed
add test compile_error
1 parent 26469ea commit e29ea74

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kuznyechik/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,6 @@ type KeySize = U32;
5454
pub type Block = GenericArray<u8, U16>;
5555
/// 256-bit Kuznyechik key
5656
pub type Key = GenericArray<u8, U32>;
57+
58+
#[cfg(kuznyechik_force_soft)]
59+
compile_error!("kuznyechik_force_soft is enabled");

0 commit comments

Comments
 (0)