Home
last modified time | relevance | path

Searched refs:ERR_LIB_DH (Results 1 – 19 of 19) sorted by relevance

/freebsd/crypto/openssl/crypto/dh/
H A Ddh_err.c20 {ERR_PACK(ERR_LIB_DH, 0, DH_R_BAD_FFC_PARAMETERS), "bad ffc parameters"},
21 {ERR_PACK(ERR_LIB_DH, 0, DH_R_BAD_GENERATOR), "bad generator"},
22 {ERR_PACK(ERR_LIB_DH, 0, DH_R_BN_DECODE_ERROR), "bn decode error"},
23 {ERR_PACK(ERR_LIB_DH, 0, DH_R_BN_ERROR), "bn error"},
24 {ERR_PACK(ERR_LIB_DH, 0, DH_R_CHECK_INVALID_J_VALUE),
26 {ERR_PACK(ERR_LIB_DH, 0, DH_R_CHECK_INVALID_Q_VALUE),
28 {ERR_PACK(ERR_LIB_DH, 0, DH_R_CHECK_PUBKEY_INVALID),
30 {ERR_PACK(ERR_LIB_DH, 0, DH_R_CHECK_PUBKEY_TOO_LARGE),
32 {ERR_PACK(ERR_LIB_DH, 0, DH_R_CHECK_PUBKEY_TOO_SMALL),
34 {ERR_PACK(ERR_LIB_DH, 0, DH_R_CHECK_P_NOT_PRIME), "check p not prime"},
[all …]
H A Ddh_check.c36 ERR_raise(ERR_LIB_DH, DH_R_CHECK_P_NOT_PRIME); in DH_check_params_ex()
38 ERR_raise(ERR_LIB_DH, DH_R_NOT_SUITABLE_GENERATOR); in DH_check_params_ex()
40 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_SMALL); in DH_check_params_ex()
42 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_LARGE); in DH_check_params_ex()
119 ERR_raise(ERR_LIB_DH, DH_R_NOT_SUITABLE_GENERATOR); in DH_check_ex()
121 ERR_raise(ERR_LIB_DH, DH_R_CHECK_Q_NOT_PRIME); in DH_check_ex()
123 ERR_raise(ERR_LIB_DH, DH_R_CHECK_INVALID_Q_VALUE); in DH_check_ex()
125 ERR_raise(ERR_LIB_DH, DH_R_CHECK_INVALID_J_VALUE); in DH_check_ex()
127 ERR_raise(ERR_LIB_DH, DH_R_UNABLE_TO_CHECK_GENERATOR); in DH_check_ex()
129 ERR_raise(ERR_LIB_DH, DH_R_CHECK_P_NOT_PRIME); in DH_check_ex()
[all …]
H A Ddh_key.c48 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_LARGE); in ossl_dh_compute_key()
54 ERR_raise(ERR_LIB_DH, DH_R_Q_TOO_LARGE); in ossl_dh_compute_key()
59 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_SMALL); in ossl_dh_compute_key()
73 ERR_raise(ERR_LIB_DH, DH_R_NO_PRIVATE_VALUE); in ossl_dh_compute_key()
88 ERR_raise(ERR_LIB_DH, ERR_R_BN_LIB); in ossl_dh_compute_key()
97 ERR_raise(ERR_LIB_DH, DH_R_INVALID_SECRET); in ossl_dh_compute_key()
272 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_LARGE); in generate_key()
278 ERR_raise(ERR_LIB_DH, DH_R_Q_TOO_LARGE); in generate_key()
283 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_SMALL); in generate_key()
374 ERR_raise(ERR_LIB_DH, ERR_R_BN_LIB); in generate_key()
[all …]
H A Ddh_ameth.c77 ERR_raise(ERR_LIB_DH, DH_R_PARAMETER_ENCODING_ERROR); in dh_pub_decode()
86 ERR_raise(ERR_LIB_DH, DH_R_DECODE_ERROR); in dh_pub_decode()
91 ERR_raise(ERR_LIB_DH, DH_R_DECODE_ERROR); in dh_pub_decode()
97 ERR_raise(ERR_LIB_DH, DH_R_BN_DECODE_ERROR); in dh_pub_decode()
124 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in dh_pub_encode()
129 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in dh_pub_encode()
143 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in dh_pub_encode()
187 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in dh_priv_encode()
193 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in dh_priv_encode()
202 ERR_raise(ERR_LIB_DH, DH_R_BN_ERROR); in dh_priv_encode()
[all …]
H A Ddh_gen.c163 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_LARGE); in dh_builtin_genparams()
168 ERR_raise(ERR_LIB_DH, DH_R_MODULUS_TOO_SMALL); in dh_builtin_genparams()
188 ERR_raise(ERR_LIB_DH, DH_R_BAD_GENERATOR); in dh_builtin_genparams()
226 ERR_raise(ERR_LIB_DH, ERR_R_BN_LIB); in dh_builtin_genparams()
H A Ddh_lib.c79 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in dh_new_intern()
86 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in dh_new_intern()
97 ERR_raise(ERR_LIB_DH, ERR_R_ENGINE_LIB); in dh_new_intern()
106 ERR_raise(ERR_LIB_DH, ERR_R_ENGINE_LIB); in dh_new_intern()
122 ERR_raise(ERR_LIB_DH, ERR_R_INIT_FAIL); in dh_new_intern()
H A Ddh_pmeth.c59 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in pkey_dh_init()
247 ERR_raise(ERR_LIB_DH, DH_R_INVALID_PARAMETER_NAME); in pkey_dh_ctrl_str()
382 ERR_raise(ERR_LIB_DH, DH_R_NO_PARAMETERS_SET); in pkey_dh_keygen()
408 ERR_raise(ERR_LIB_DH, DH_R_KEYS_NOT_SET); in pkey_dh_derive()
414 ERR_raise(ERR_LIB_DH, DH_R_KEYS_NOT_SET); in pkey_dh_derive()
449 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in pkey_dh_derive()
H A Ddh_meth.c34 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in DH_meth_new()
60 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in DH_meth_dup()
74 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in DH_meth_set1_name()
H A Ddh_prn.c28 ERR_raise(ERR_LIB_DH, ERR_R_BUF_LIB); in DHparams_print_fp()
H A Ddh_backend.c229 ERR_raise(ERR_LIB_DH, DH_R_BN_ERROR); in ossl_dh_key_from_pkcs8()
242 ERR_raise(ERR_LIB_DH, EVP_R_DECODE_ERROR); in ossl_dh_key_from_pkcs8()
H A Ddh_group_params.c47 ERR_raise(ERR_LIB_DH, DH_R_INVALID_PARAMETER_NID); in ossl_dh_new_by_nid_ex()
/freebsd/crypto/openssl/include/openssl/
H A Derr.h75 # define ERR_LIB_DH 5 macro
139 # define DHerr(f, r) ERR_raise_data(ERR_LIB_DH, (r), NULL)
318 # define ERR_R_DH_LIB (ERR_LIB_DH/* 5 */ | ERR_RFLAG_COMMON)
H A Derr.h.in77 # define ERR_LIB_DH 5 macro
141 # define DHerr(f, r) ERR_raise_data(ERR_LIB_DH, (r), NULL)
320 # define ERR_R_DH_LIB (ERR_LIB_DH/* 5 */ | ERR_RFLAG_COMMON)
/freebsd/crypto/openssl/crypto/ffc/
H A Dffc_params_validate.c125 ERR_raise(ERR_LIB_DH, DH_R_NOT_SUITABLE_GENERATOR); in ossl_ffc_params_simple_validate()
H A Dffc_params_generate.c49 ERR_raise(ERR_LIB_DH, DH_R_BAD_FFC_PARAMETERS); in ffc_validate_LN()
77 ERR_raise(ERR_LIB_DH, DH_R_BAD_FFC_PARAMETERS); in ffc_validate_LN()
/freebsd/crypto/openssl/crypto/ec/
H A Dec_ameth.c616 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in ec_pkey_import_from()
H A Decx_meth.c395 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in ecx_generic_import_from()
/freebsd/crypto/openssl/crypto/err/
H A Derr.c43 {ERR_PACK(ERR_LIB_DH, 0, 0), "Diffie-Hellman routines"},
/freebsd/crypto/openssl/crypto/rsa/
H A Drsa_ameth.c839 ERR_raise(ERR_LIB_DH, ERR_R_MALLOC_FAILURE); in rsa_int_import_from()