File: crypto_hash_sha256.rs

package info (click to toggle)
rust-libsodium-sys 0.2.7-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 420 kB
  • sloc: makefile: 10; ansic: 1
file content (8 lines) | stat: -rw-r--r-- 183 bytes parent folder | download
1
2
3
4
5
6
7
8
// crypto_hash_sha256.h

use libsodium_sys::*;

#[test]
fn test_crypto_hash_sha256_bytes() {
    assert!(unsafe { crypto_hash_sha256_bytes() } == crypto_hash_sha256_BYTES as usize)
}