libsodium_sys/src/crypto_verify_32.rs
1// crypto_verify_32.h
2
3pub const crypto_verify_32_BYTES: usize = 32;
4
5extern {
6 pub fn crypto_verify_32_bytes() -> size_t;
7 pub fn crypto_verify_32(
8 x: *const [u8; crypto_verify_32_BYTES],
9 y: *const [u8; crypto_verify_32_BYTES]) -> c_int;
10}
11
12
13#[test]
14fn test_crypto_verify_32_bytes() {
15 assert_eq!(unsafe { crypto_verify_32_bytes() as usize },
16 crypto_verify_32_BYTES);
17}