Lines Matching refs:errflags

30     int errflags = 0;  in DH_check_params_ex()  local
32 if (!DH_check_params(dh, &errflags)) in DH_check_params_ex()
35 if ((errflags & DH_CHECK_P_NOT_PRIME) != 0) in DH_check_params_ex()
37 if ((errflags & DH_NOT_SUITABLE_GENERATOR) != 0) in DH_check_params_ex()
39 if ((errflags & DH_MODULUS_TOO_SMALL) != 0) in DH_check_params_ex()
41 if ((errflags & DH_MODULUS_TOO_LARGE) != 0) in DH_check_params_ex()
44 return errflags == 0; in DH_check_params_ex()
113 int errflags = 0; in DH_check_ex() local
115 if (!DH_check(dh, &errflags)) in DH_check_ex()
118 if ((errflags & DH_NOT_SUITABLE_GENERATOR) != 0) in DH_check_ex()
120 if ((errflags & DH_CHECK_Q_NOT_PRIME) != 0) in DH_check_ex()
122 if ((errflags & DH_CHECK_INVALID_Q_VALUE) != 0) in DH_check_ex()
124 if ((errflags & DH_CHECK_INVALID_J_VALUE) != 0) in DH_check_ex()
126 if ((errflags & DH_UNABLE_TO_CHECK_GENERATOR) != 0) in DH_check_ex()
128 if ((errflags & DH_CHECK_P_NOT_PRIME) != 0) in DH_check_ex()
130 if ((errflags & DH_CHECK_P_NOT_SAFE_PRIME) != 0) in DH_check_ex()
132 if ((errflags & DH_MODULUS_TOO_SMALL) != 0) in DH_check_ex()
134 if ((errflags & DH_MODULUS_TOO_LARGE) != 0) in DH_check_ex()
137 return errflags == 0; in DH_check_ex()
232 int errflags = 0; in DH_check_pub_key_ex() local
234 if (!DH_check_pub_key(dh, pub_key, &errflags)) in DH_check_pub_key_ex()
237 if ((errflags & DH_CHECK_PUBKEY_TOO_SMALL) != 0) in DH_check_pub_key_ex()
239 if ((errflags & DH_CHECK_PUBKEY_TOO_LARGE) != 0) in DH_check_pub_key_ex()
241 if ((errflags & DH_CHECK_PUBKEY_INVALID) != 0) in DH_check_pub_key_ex()
244 return errflags == 0; in DH_check_pub_key_ex()