Lines Matching refs:verify
42 static int ffc_validate_LN(size_t L, size_t N, int type, int verify) in ffc_validate_LN() argument
54 if (verify && L == 1024 && N == 160) in ffc_validate_LN()
67 static int ffc_validate_LN(size_t L, size_t N, int type, int verify) in ffc_validate_LN() argument
533 int verify = (mode == FFC_PARAM_MODE_VERIFY); in ossl_ffc_params_FIPS186_4_gen_verify() local
534 unsigned int flags = verify ? params->flags : 0; in ossl_ffc_params_FIPS186_4_gen_verify()
566 if (L <= N || !ffc_validate_LN(L, N, type, verify)) { in ossl_ffc_params_FIPS186_4_gen_verify()
594 if (!verify) { in ossl_ffc_params_FIPS186_4_gen_verify()
652 if (verify) { in ossl_ffc_params_FIPS186_4_gen_verify()
665 if (verify) { in ossl_ffc_params_FIPS186_4_gen_verify()
690 if (verify && (BN_cmp(q, params->q) != 0)) { in ossl_ffc_params_FIPS186_4_gen_verify()
722 if (verify && (pcounter != counter || (BN_cmp(p, params->p) != 0))) in ossl_ffc_params_FIPS186_4_gen_verify()
757 if (verify && BN_cmp(g, params->g) != 0) { in ossl_ffc_params_FIPS186_4_gen_verify()
761 } else if (!verify) { in ossl_ffc_params_FIPS186_4_gen_verify()
769 if (!verify) { in ossl_ffc_params_FIPS186_4_gen_verify()
829 int verify = (mode == FFC_PARAM_MODE_VERIFY); in ossl_ffc_params_FIPS186_2_gen_verify() local
830 unsigned int flags = verify ? params->flags : 0; in ossl_ffc_params_FIPS186_2_gen_verify()
904 if (!verify) { in ossl_ffc_params_FIPS186_2_gen_verify()
950 if (verify) { in ossl_ffc_params_FIPS186_2_gen_verify()
971 if (verify) { in ossl_ffc_params_FIPS186_2_gen_verify()
990 if (!verify) { in ossl_ffc_params_FIPS186_2_gen_verify()
1010 if (!verify) { in ossl_ffc_params_FIPS186_2_gen_verify()