Lines Matching refs:MUST_HAVE
61 MUST_HAVE((priv != NULL), ret, err); in dsa_import_priv_key()
62 MUST_HAVE((p != NULL) && (q != NULL) && (g != NULL) && (x != NULL), ret, err); in dsa_import_priv_key()
72 MUST_HAVE((cmp < 0), ret, err); in dsa_import_priv_key()
75 MUST_HAVE((cmp < 0), ret, err); in dsa_import_priv_key()
78 MUST_HAVE((cmp < 0), ret, err); in dsa_import_priv_key()
97 MUST_HAVE((pub != NULL), ret, err); in dsa_import_pub_key()
98 MUST_HAVE((p != NULL) && (q != NULL) && (g != NULL) && (y != NULL), ret, err); in dsa_import_pub_key()
108 MUST_HAVE((cmp < 0), ret, err); in dsa_import_pub_key()
111 MUST_HAVE((cmp < 0), ret, err); in dsa_import_pub_key()
114 MUST_HAVE((cmp < 0), ret, err); in dsa_import_pub_key()
137 MUST_HAVE((pub != NULL) && (priv != NULL), ret, err); in dsa_compute_pub_from_priv()
153 MUST_HAVE((cmp < 0), ret, err); in dsa_compute_pub_from_priv()
156 MUST_HAVE((cmp < 0), ret, err); in dsa_compute_pub_from_priv()
159 MUST_HAVE((cmp < 0), ret, err); in dsa_compute_pub_from_priv()
218 MUST_HAVE((priv != NULL) && (msg != NULL) && (sig != NULL), ret, err); in dsa_sign()
240 MUST_HAVE((hlen <= MAX_DIGEST_SIZE), ret, err); in dsa_sign()
243 MUST_HAVE((siglen == (2 * BYTECEIL(N))), ret, err); in dsa_sign()
370 MUST_HAVE((pub != NULL) && (msg != NULL) && (sig != NULL), ret, err); in dsa_verify()
388 MUST_HAVE((siglen == (2 * BYTECEIL(N))), ret, err); in dsa_verify()
396 MUST_HAVE((!iszero), ret, err); in dsa_verify()
398 MUST_HAVE((!iszero), ret, err); in dsa_verify()
401 MUST_HAVE((cmp < 0), ret, err); in dsa_verify()
403 MUST_HAVE((cmp < 0), ret, err); in dsa_verify()
407 MUST_HAVE((hlen <= MAX_DIGEST_SIZE), ret, err); in dsa_verify()