Lines Matching defs:ret
74 int DH_check(const DH *dh, int *ret)
81 *ret = 0;
95 *ret |= DH_NOT_SUITABLE_GENERATOR;
97 *ret |= DH_NOT_SUITABLE_GENERATOR;
103 *ret |= DH_NOT_SUITABLE_GENERATOR;
106 *ret |= DH_CHECK_P_NOT_SAFE_PRIME;
111 *ret |= DH_CHECK_P_NOT_SAFE_PRIME;
113 *ret |= DH_CHECK_P_NOT_SAFE_PRIME;
118 *ret |= DH_NOT_SUITABLE_GENERATOR;
124 *ret |= DH_NOT_SUITABLE_GENERATOR;
130 *ret |= DH_NOT_SUITABLE_GENERATOR;
132 *ret |= DH_UNABLE_TO_CHECK_GENERATOR;
135 *ret |= DH_CHECK_P_NOT_PRIME;
140 *ret |= DH_CHECK_P_NOT_SAFE_PRIME;
151 int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key, int *ret)
157 *ret = 0;
166 *ret |= DH_CHECK_PUBKEY_TOO_SMALL;
170 *ret |= DH_CHECK_PUBKEY_TOO_LARGE;
177 *ret |= DH_CHECK_PUBKEY_TOO_LARGE;