crypto/fipsmodule/service_indicator/service_indicator.c
static int is_ec_fips_approved(int curve_nid) {
  switch (curve_nid) {
    case NID_secp224r1:
    case NID_X9_62_prime256v1:
    case NID_secp384r1:
    case NID_secp521r1:
      return 1;
    default:
      return 0;
  }
}
// Returns 1 if the curve corresponding to the given NID is FIPS approved, and
// 0 otherwise. Only P-224, P-256, P-384, and P-521 curves are FIPS approved.
Returns 1 if the curve corresponding to the given NID is FIPS approved, and
0 otherwise.
Returns 1 if the curve corresponding to the given NID is FIPS approved and 0 otherwise .
static int is_ec_fips_approved(int curve_nid) {
  switch (curve_nid) {
    case NID_secp224r1:
    case NID_X9_62_prime256v1:
    case NID_secp384r1:
    case NID_secp521r1:
      return 1;
    default:
      return 0;
  }
}
static int is_ec_fips_approved ( int curve_nid ) { switch ( curve_nid ) { case NID_secp224r1 : case NID_X9_62_prime256v1 : case NID_secp384r1 : case NID_secp521r1 : return 1 ; default : return 0 ; } }
Returns 1 if the curve corresponding to the given NID is FIPS approved, and
0 otherwise.
Returns 1 if the curve corresponding to the given NID is FIPS approved and 0 otherwise .