pub fn assert_module_approves(r: &Resolved) -> Result<(), CryptoError>Expand description
Refuses with CryptoError::NotFips unless the module is in FIPS mode, with
CryptoError::PolicyEmpty naming the first family r leaves empty, and otherwise unless every
algorithm r names, each protocol version included, is Approved for the running module.
Fails on the first cell that is not Approved; AlgorithmTested is not. On the 4.x module it
fails today: a cell is Approved only where a published security policy lists it.