Available on crate feature
self_tests only.Expand description
This module defines self-tests. Running tests in this module (i.e., calling self_tests())
at runtime can help with FIPS 140-3 compliance.
Functionsยง
- ffdhe_
crypto_ algo_ self_ test - Known answer Cryptographic Algorithm Self Test (CAST) for FFDHE. This is required by FIPS 140-3 IG D.F:
- self_
tests - Run all the self_tests. If any test fails, this function will panic.
- tls12_
sha256_ prf_ test_ 1 tls12 - TLS 1.2 SHA256 PRF test
- tls12_
sha256_ prf_ test_ 2 tls12 - TLS 1.2 SHA256 PRF test with
"extended master secret" - tls12_
sha384_ prf_ test_ 1 tls12 - TLS 1.2 SHA384 PRF test
- tls12_
sha384_ prf_ test_ 2 tls12 - TLS 1.2 SHA384 PRF test with
"extended master secret" - tls13_
kdf_ test_ case_ 1 - TLS 1.3 KDF test case 1.
- tls13_
kdf_ test_ case_ 2 - TLS 1.3 KDF test case 2.
- tls13_
kdf_ test_ case_ 3 - TLS 1.3 KDF test case 3.