crypto/fipsmodule/service_indicator/service_indicator.c
static int is_md_fips_approved_for_verifying(int md_type) {
  switch (md_type) {
    case NID_sha1:
    case NID_sha224:
    case NID_sha256:
    case NID_sha384:
    case NID_sha512:
      return 1;
    default:
      return 0;
  }
}
// Returns 1 if the given message digest type is FIPS approved for verifying,
// and 0 otherwise. Only SHA1, SHA2-224, SHA2-256, SHA2-384, and SHA2-512
// are approved.
Returns 1 if the given message digest type is FIPS approved for verifying,
and 0 otherwise.
Returns 1 if the given message digest type is FIPS approved for verifying and 0 otherwise .
static int is_md_fips_approved_for_verifying(int md_type) {
  switch (md_type) {
    case NID_sha1:
    case NID_sha224:
    case NID_sha256:
    case NID_sha384:
    case NID_sha512:
      return 1;
    default:
      return 0;
  }
}
static int is_md_fips_approved_for_verifying ( int md_type ) { switch ( md_type ) { case NID_sha1 : case NID_sha224 : case NID_sha256 : case NID_sha384 : case NID_sha512 : return 1 ; default : return 0 ; } }
Returns 1 if the given message digest type is FIPS approved for verifying,
and 0 otherwise.
Returns 1 if the given message digest type is FIPS approved for verifying and 0 otherwise .