Home
last modified time | relevance | path

Searched refs:ERR_LIB_PKCS12 (Results 1 – 17 of 17) sorted by relevance

/freebsd/crypto/openssl/crypto/pkcs12/
H A Dpk12err.c18 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_CANT_PACK_STRUCTURE),
20 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_CONTENT_TYPE_NOT_DATA),
22 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_DECODE_ERROR), "decode error"},
23 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_ENCODE_ERROR), "encode error"},
24 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_ENCRYPT_ERROR), "encrypt error"},
25 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_ERROR_SETTING_ENCRYPTED_DATA_TYPE),
27 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_INVALID_NULL_ARGUMENT),
29 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_INVALID_NULL_PKCS12_POINTER),
31 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_INVALID_TYPE), "invalid type"},
32 {ERR_PACK(ERR_LIB_PKCS12, 0, PKCS12_R_IV_GEN_ERROR), "iv gen error"},
[all …]
H A Dp12_add.c27 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_item_pack_safebag()
32 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_item_pack_safebag()
36 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_item_pack_safebag()
54 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_pack_p7data()
59 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_pack_p7data()
64 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_CANT_PACK_STRUCTURE); in PKCS12_pack_p7data()
78 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_CONTENT_TYPE_NOT_DATA); in STACK_OF()
83 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_DECODE_ERROR); in STACK_OF()
103 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_pack_p7encdata_ex()
107 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_ERROR_SETTING_ENCRYPTED_DATA_TYPE); in PKCS12_pack_p7encdata_ex()
[all …]
H A Dp12_decr.c31 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_pbe_crypt_ex()
50 ERR_raise(ERR_LIB_PKCS12, ERR_R_INTERNAL_ERROR); in PKCS12_pbe_crypt_ex()
58 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_UNSUPPORTED_PKCS12_MODE); in PKCS12_pbe_crypt_ex()
64 ERR_raise(ERR_LIB_PKCS12, ERR_R_INTERNAL_ERROR); in PKCS12_pbe_crypt_ex()
71 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_pbe_crypt_ex()
78 ERR_raise(ERR_LIB_PKCS12, ERR_R_EVP_LIB); in PKCS12_pbe_crypt_ex()
86 ERR_raise_data(ERR_LIB_PKCS12, PKCS12_R_PKCS12_CIPHERFINAL_ERROR, in PKCS12_pbe_crypt_ex()
99 ERR_raise(ERR_LIB_PKCS12, ERR_R_INTERNAL_ERROR); in PKCS12_pbe_crypt_ex()
153 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_DECODE_ERROR); in PKCS12_item_decrypt_d2i_ex()
183 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_item_i2d_encrypt_ex()
[all …]
H A Dp12_mutl.c97 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_CONTENT_TYPE_NOT_DATA); in pkcs12_gen_mac()
102 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_DECODE_ERROR); in pkcs12_gen_mac()
125 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_UNKNOWN_DIGEST_ALGORITHM); in pkcs12_gen_mac()
141 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_KEY_GEN_ERROR); in pkcs12_gen_mac()
148 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_KEY_GEN_ERROR); in pkcs12_gen_mac()
157 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_KEY_GEN_ERROR); in pkcs12_gen_mac()
192 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_MAC_ABSENT); in PKCS12_verify_mac()
196 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_MAC_GENERATION_ERROR); in PKCS12_verify_mac()
223 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_MAC_SETUP_ERROR); in PKCS12_set_mac()
230 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_MAC_GENERATION_ERROR); in PKCS12_set_mac()
[all …]
H A Dp12_sbag.c122 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_SAFEBAG_create_secret()
133 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_SAFEBAG_create_secret()
139 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_ENCODE_ERROR); in PKCS12_SAFEBAG_create_secret()
145 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_SAFEBAG_create_secret()
153 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_INVALID_TYPE); in PKCS12_SAFEBAG_create_secret()
158 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_SAFEBAG_create_secret()
177 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_SAFEBAG_create0_p8inf()
193 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_SAFEBAG_create0_pkcs8()
H A Dp12_init.c23 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_init_ex()
32 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_init_ex()
39 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_init_ex()
44 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_UNSUPPORTED_PKCS12_MODE); in PKCS12_init_ex()
H A Dp12_p8e.c27 ERR_raise(ERR_LIB_PKCS12, ERR_R_PASSED_NULL_PARAMETER); in PKCS8_encrypt_ex()
37 ERR_raise(ERR_LIB_PKCS12, ERR_R_PASSED_NULL_PARAMETER); in PKCS8_encrypt_ex()
48 ERR_raise(ERR_LIB_PKCS12, ERR_R_ASN1_LIB); in PKCS8_encrypt_ex()
80 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_ENCRYPT_ERROR); in PKCS8_set0_pbe_ex()
87 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS8_set0_pbe_ex()
H A Dp12_kiss.c47 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_INVALID_NULL_PKCS12_POINTER); in PKCS12_parse()
67 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_MAC_VERIFY_FAILURE); in PKCS12_parse()
71 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_MAC_VERIFY_FAILURE); in PKCS12_parse()
78 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_parse()
87 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_PARSE_ERROR); in PKCS12_parse()
H A Dp12_crpt.c41 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_DECODE_ERROR); in PKCS12_PBE_keyivgen_ex()
55 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_KEY_GEN_ERROR); in PKCS12_PBE_keyivgen_ex()
64 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_IV_GEN_ERROR); in PKCS12_PBE_keyivgen_ex()
H A Dp12_utl.c28 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in OPENSSL_asc2uni()
61 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in OPENSSL_uni2asc()
123 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in OPENSSL_utf82uni()
208 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in OPENSSL_uni2utf8()
H A Dp12_npas.c37 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_INVALID_NULL_PKCS12_POINTER); in PKCS12_newpass()
44 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_MAC_VERIFY_FAILURE); in PKCS12_newpass()
49 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_PARSE_ERROR); in PKCS12_newpass()
H A Dp12_key.c32 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_key_gen_asc_ex()
62 ERR_raise(ERR_LIB_PKCS12, ERR_R_MALLOC_FAILURE); in PKCS12_key_gen_utf8_ex()
H A Dp12_crt.c64 ERR_raise(ERR_LIB_PKCS12, PKCS12_R_INVALID_NULL_ARGUMENT); in PKCS12_create_ex()
/freebsd/crypto/openssl/include/openssl/
H A Derr.h96 # define ERR_LIB_PKCS12 35 macro
156 # define PKCS12err(f, r) ERR_raise_data(ERR_LIB_PKCS12, (r), NULL)
333 # define ERR_R_PKCS12_LIB (ERR_LIB_PKCS12/* 35 */ | ERR_RFLAG_COMMON)
H A Derr.h.in98 # define ERR_LIB_PKCS12 35 macro
158 # define PKCS12err(f, r) ERR_raise_data(ERR_LIB_PKCS12, (r), NULL)
335 # define ERR_R_PKCS12_LIB (ERR_LIB_PKCS12/* 35 */ | ERR_RFLAG_COMMON)
/freebsd/crypto/openssl/crypto/err/
H A Derr.c60 {ERR_PACK(ERR_LIB_PKCS12, 0, 0), "PKCS12 routines"},
/freebsd/crypto/openssl/apps/
H A Dpkcs12.c790 if (ERR_GET_LIB(err) == ERR_LIB_PKCS12 in pkcs12_main()