Home
last modified time | relevance | path

Searched refs:ERR_LIB_PEM (Results 1 – 18 of 18) sorted by relevance

/freebsd/crypto/openssl/crypto/pem/
H A Dpem_err.c18 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BAD_BASE64_DECODE), "bad base64 decode"},
19 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BAD_DECRYPT), "bad decrypt"},
20 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BAD_END_LINE), "bad end line"},
21 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BAD_IV_CHARS), "bad iv chars"},
22 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BAD_MAGIC_NUMBER), "bad magic number"},
23 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BAD_PASSWORD_READ), "bad password read"},
24 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BAD_VERSION_NUMBER), "bad version number"},
25 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_BIO_WRITE_FAILURE), "bio write failure"},
26 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_CIPHER_IS_NULL), "cipher is null"},
27 {ERR_PACK(ERR_LIB_PEM, 0, PEM_R_ERROR_CONVERTING_PRIVATE_KEY),
[all …]
H A Dpvkfmt.c82 ERR_raise(ERR_LIB_PEM, ERR_R_INTERNAL_ERROR); in evp_pkey_new0_key()
117 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in evp_pkey_new0_key()
171 ERR_raise(ERR_LIB_PEM, PEM_R_EXPECTING_PRIVATE_KEY_BLOB); in ossl_do_blob_header()
179 ERR_raise(ERR_LIB_PEM, PEM_R_EXPECTING_PUBLIC_KEY_BLOB); in ossl_do_blob_header()
191 ERR_raise(ERR_LIB_PEM, PEM_R_BAD_VERSION_NUMBER); in ossl_do_blob_header()
204 ERR_raise(ERR_LIB_PEM, PEM_R_EXPECTING_PRIVATE_KEY_BLOB); in ossl_do_blob_header()
212 ERR_raise(ERR_LIB_PEM, PEM_R_EXPECTING_PUBLIC_KEY_BLOB); in ossl_do_blob_header()
218 ERR_raise(ERR_LIB_PEM, PEM_R_BAD_MAGIC_NUMBER); in ossl_do_blob_header()
227 ERR_raise(ERR_LIB_PEM, PEM_R_EXPECTING_DSS_KEY_BLOB); in ossl_do_blob_header()
235 ERR_raise(ERR_LIB_PEM, PEM_R_EXPECTING_RSA_KEY_BLOB); in ossl_do_blob_header()
[all …]
H A Dpem_lib.c62 ERR_raise(ERR_LIB_PEM, PEM_R_PROBLEMS_GETTING_PASSWORD); in PEM_def_callback()
116 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in PEM_ASN1_read()
302 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in PEM_ASN1_write()
335 ERR_raise(ERR_LIB_PEM, PEM_R_UNSUPPORTED_CIPHER); in PEM_ASN1_write_bio()
341 ERR_raise(ERR_LIB_PEM, ERR_R_ASN1_LIB); in PEM_ASN1_write_bio()
349 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in PEM_ASN1_write_bio()
362 ERR_raise(ERR_LIB_PEM, PEM_R_READ_KEY); in PEM_ASN1_write_bio()
428 ERR_raise(ERR_LIB_PEM, PEM_R_HEADER_TOO_LONG); in PEM_do_header()
440 ERR_raise(ERR_LIB_PEM, PEM_R_BAD_PASSWORD_READ); in PEM_do_header()
467 ERR_raise(ERR_LIB_PEM, PEM_R_BAD_DECRYPT); in PEM_do_header()
[all …]
H A Dpem_info.c36 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in STACK_OF()
70 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in STACK_OF()
165 ERR_raise(ERR_LIB_PEM, ERR_R_ASN1_LIB); in STACK_OF()
169 ERR_raise(ERR_LIB_PEM, ERR_R_ASN1_LIB); in STACK_OF()
243 ERR_raise(ERR_LIB_PEM, PEM_R_UNSUPPORTED_CIPHER); in PEM_X509_INFO_write_bio()
256 ERR_raise(ERR_LIB_PEM, PEM_R_CIPHER_IS_NULL); in PEM_X509_INFO_write_bio()
272 ERR_raise(ERR_LIB_PEM, PEM_R_UNSUPPORTED_CIPHER); in PEM_X509_INFO_write_bio()
H A Dpem_pkey.c85 ERR_raise(ERR_LIB_PEM, PEM_R_UNSUPPORTED_KEY_COMPONENTS); in pem_read_bio_key_decoder()
159 ERR_raise(ERR_LIB_PEM, PEM_R_BAD_PASSWORD_READ); in pem_read_bio_key_legacy()
207 ERR_raise(ERR_LIB_PEM, ERR_R_ASN1_LIB); in pem_read_bio_key_legacy()
285 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in PEM_read_PUBKEY_ex()
357 ERR_raise(ERR_LIB_PEM, PEM_R_UNSUPPORTED_PUBLIC_KEY_TYPE); in PEM_write_bio_PrivateKey_traditional()
415 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in PEM_read_PrivateKey_ex()
436 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in PEM_write_cb_ex_fnsig()
H A Dpem_pk8.c133 ERR_raise(ERR_LIB_PEM, PEM_R_ERROR_CONVERTING_PRIVATE_KEY); in do_pk8pkey()
140 ERR_raise(ERR_LIB_PEM, PEM_R_READ_KEY); in do_pk8pkey()
186 ERR_raise(ERR_LIB_PEM, PEM_R_BAD_PASSWORD_READ); in d2i_PKCS8PrivateKey_bio()
244 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in do_pk8pkey_fp()
259 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in d2i_PKCS8PrivateKey_fp()
H A Dpem_oth.c33 ERR_raise(ERR_LIB_PEM, ERR_R_ASN1_LIB); in PEM_ASN1_read_bio()
H A Dpem_all.c202 ERR_raise(ERR_LIB_PEM, ERR_R_ASN1_LIB); in IMPLEMENT_PEM_write()
215 ERR_raise(ERR_LIB_PEM, ERR_R_BUF_LIB); in PEM_read_DHparams()
H A Dpem_sign.c37 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in PEM_SignFinal()
/freebsd/crypto/openssl/providers/implementations/storemgmt/
H A Dfile_store_any2obj.c128 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in msblob2obj_decode()
150 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in msblob2obj_decode()
195 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in pvk2obj_decode()
217 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in pvk2obj_decode()
/freebsd/crypto/openssl/providers/implementations/encode_decode/
H A Ddecode_msblob2key.c112 ERR_raise(ERR_LIB_PEM, PEM_R_KEYBLOB_TOO_SHORT); in msblob2key_decode()
131 ERR_raise(ERR_LIB_PEM, PEM_R_HEADER_TOO_LONG); in msblob2key_decode()
136 ERR_raise(ERR_LIB_PEM, ERR_R_MALLOC_FAILURE); in msblob2key_decode()
141 ERR_raise(ERR_LIB_PEM, PEM_R_KEYBLOB_TOO_SHORT); in msblob2key_decode()
H A Ddecode_pvk2key.c129 if (lib == ERR_LIB_PEM in pvk2key_decode()
/freebsd/crypto/openssl/include/openssl/
H A Derr.h79 # define ERR_LIB_PEM 9 macro
155 # define PEMerr(f, r) ERR_raise_data(ERR_LIB_PEM, (r), NULL)
322 # define ERR_R_PEM_LIB (ERR_LIB_PEM/* 9 */ | ERR_RFLAG_COMMON)
H A Derr.h.in81 # define ERR_LIB_PEM 9 macro
157 # define PEMerr(f, r) ERR_raise_data(ERR_LIB_PEM, (r), NULL)
324 # define ERR_R_PEM_LIB (ERR_LIB_PEM/* 9 */ | ERR_RFLAG_COMMON)
/freebsd/crypto/openssl/crypto/err/
H A Derr.c47 {ERR_PACK(ERR_LIB_PEM, 0, 0), "PEM routines"},
/freebsd/crypto/openssl/ssl/
H A Dssl_rsa.c519 if (ERR_GET_LIB(err) == ERR_LIB_PEM in use_certificate_chain_file()
/freebsd/crypto/openssh/
H A Dsshkey.c3463 case ERR_LIB_PEM: in translate_libcrypto_error()
/freebsd/crypto/openssl/
H A DCHANGES.md13811 ERR_LIB_PEM (= ERR_R_PEM_LIB).