/freebsd/crypto/openssl/crypto/bio/ |
H A D | ossl_core_bio.c | 24 static OSSL_CORE_BIO *core_bio_new(void) in core_bio_new() 26 OSSL_CORE_BIO *cb = OPENSSL_malloc(sizeof(*cb)); in core_bio_new() 36 int ossl_core_bio_up_ref(OSSL_CORE_BIO *cb) in ossl_core_bio_up_ref() 43 int ossl_core_bio_free(OSSL_CORE_BIO *cb) in ossl_core_bio_free() 58 OSSL_CORE_BIO *ossl_core_bio_new_from_bio(BIO *bio) in ossl_core_bio_new_from_bio() 60 OSSL_CORE_BIO *cb = core_bio_new(); in ossl_core_bio_new_from_bio() 70 static OSSL_CORE_BIO *core_bio_new_from_new_bio(BIO *bio) in core_bio_new_from_new_bio() 72 OSSL_CORE_BIO *cb = NULL; in core_bio_new_from_new_bio() 84 OSSL_CORE_BIO *ossl_core_bio_new_file(const char *filename, const char *mode) in ossl_core_bio_new_file() 89 OSSL_CORE_BIO *ossl_core_bio_new_mem_buf(const void *buf, int len) in ossl_core_bio_new_mem_buf() [all …]
|
H A D | bss_core.c | 133 BIO *BIO_new_from_core_bio(OSSL_LIB_CTX *libctx, OSSL_CORE_BIO *corebio) in BIO_new_from_core_bio()
|
/freebsd/crypto/openssl/providers/common/include/prov/ |
H A D | bio.h | 17 OSSL_CORE_BIO *ossl_prov_bio_new_file(const char *filename, const char *mode); 18 OSSL_CORE_BIO *ossl_prov_bio_new_membuf(const char *filename, int len); 19 int ossl_prov_bio_read_ex(OSSL_CORE_BIO *bio, void *data, size_t data_len, 21 int ossl_prov_bio_write_ex(OSSL_CORE_BIO *bio, const void *data, size_t data_len, 23 int ossl_prov_bio_gets(OSSL_CORE_BIO *bio, char *buf, int size); 24 int ossl_prov_bio_puts(OSSL_CORE_BIO *bio, const char *str); 25 int ossl_prov_bio_ctrl(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr); 26 int ossl_prov_bio_up_ref(OSSL_CORE_BIO *bio); 27 int ossl_prov_bio_free(OSSL_CORE_BIO *bio); 28 int ossl_prov_bio_vprintf(OSSL_CORE_BIO *bio, const char *format, va_list ap); [all …]
|
/freebsd/crypto/openssl/include/internal/ |
H A D | bio.h | 75 OSSL_CORE_BIO *ossl_core_bio_new_from_bio(BIO *bio); 76 OSSL_CORE_BIO *ossl_core_bio_new_file(const char *filename, const char *mode); 77 OSSL_CORE_BIO *ossl_core_bio_new_mem_buf(const void *buf, int len); 78 int ossl_core_bio_read_ex(OSSL_CORE_BIO *cb, void *data, size_t dlen, 80 int ossl_core_bio_write_ex(OSSL_CORE_BIO *cb, const void *data, size_t dlen, 82 int ossl_core_bio_gets(OSSL_CORE_BIO *cb, char *buf, int size); 83 int ossl_core_bio_puts(OSSL_CORE_BIO *cb, const char *buf); 84 long ossl_core_bio_ctrl(OSSL_CORE_BIO *cb, int cmd, long larg, void *parg); 85 int ossl_core_bio_up_ref(OSSL_CORE_BIO *cb); 86 int ossl_core_bio_free(OSSL_CORE_BIO *cb); [all …]
|
/freebsd/crypto/openssl/providers/common/ |
H A D | bio_prov.c | 76 OSSL_CORE_BIO *ossl_prov_bio_new_file(const char *filename, const char *mode) in ossl_prov_bio_new_file() 83 OSSL_CORE_BIO *ossl_prov_bio_new_membuf(const char *filename, int len) in ossl_prov_bio_new_membuf() 90 int ossl_prov_bio_read_ex(OSSL_CORE_BIO *bio, void *data, size_t data_len, in ossl_prov_bio_read_ex() 98 int ossl_prov_bio_write_ex(OSSL_CORE_BIO *bio, const void *data, size_t data_len, in ossl_prov_bio_write_ex() 106 int ossl_prov_bio_gets(OSSL_CORE_BIO *bio, char *buf, int size) in ossl_prov_bio_gets() 113 int ossl_prov_bio_puts(OSSL_CORE_BIO *bio, const char *str) in ossl_prov_bio_puts() 120 int ossl_prov_bio_ctrl(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr) in ossl_prov_bio_ctrl() 127 int ossl_prov_bio_up_ref(OSSL_CORE_BIO *bio) in ossl_prov_bio_up_ref() 134 int ossl_prov_bio_free(OSSL_CORE_BIO *bio) in ossl_prov_bio_free() 141 int ossl_prov_bio_vprintf(OSSL_CORE_BIO *bio, const char *format, va_list ap) in ossl_prov_bio_vprintf() [all …]
|
/freebsd/crypto/openssl/test/ |
H A D | bio_core_test.c | 19 static int tst_bio_core_read_ex(OSSL_CORE_BIO *bio, char *data, size_t data_len, in tst_bio_core_read_ex() 25 static int tst_bio_core_write_ex(OSSL_CORE_BIO *bio, const char *data, in tst_bio_core_write_ex() 31 static int tst_bio_core_gets(OSSL_CORE_BIO *bio, char *buf, int size) in tst_bio_core_gets() 36 static int tst_bio_core_puts(OSSL_CORE_BIO *bio, const char *str) in tst_bio_core_puts() 41 static long tst_bio_core_ctrl(OSSL_CORE_BIO *bio, int cmd, long num, void *ptr) in tst_bio_core_ctrl() 46 static int tst_bio_core_up_ref(OSSL_CORE_BIO *bio) in tst_bio_core_up_ref() 51 static int tst_bio_core_free(OSSL_CORE_BIO *bio) in tst_bio_core_free() 72 OSSL_CORE_BIO corebio; in test_bio_core()
|
H A D | provfetchtest.c | 19 static int dummy_decoder_decode(void *ctx, OSSL_CORE_BIO *cin, int selection, in dummy_decoder_decode() 36 static int dummy_encoder_encode(void *ctx, OSSL_CORE_BIO *out, in dummy_encoder_encode()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | BIO_s_core.pod | 5 BIO_s_core, BIO_new_from_core_bio - OSSL_CORE_BIO functions 13 BIO *BIO_new_from_core_bio(OSSL_LIB_CTX *libctx, OSSL_CORE_BIO *corebio); 21 libcrypto into a provider supply an OSSL_CORE_BIO parameter. This represents 25 Once a BIO is constructed based on BIO_s_core(), the associated OSSL_CORE_BIO 33 then also sets the OSSL_CORE_BIO object on the BIO using BIO_set_data(3). 51 int some_function(OSSL_LIB_CTX *libctx, OSSL_CORE_BIO *corebio) {
|
/freebsd/crypto/openssl/providers/implementations/encode_decode/ |
H A D | encode_key2ms.c | 38 static int write_msblob(struct key2ms_ctx_st *ctx, OSSL_CORE_BIO *cout, in write_msblob() 52 static int write_pvk(struct key2ms_ctx_st *ctx, OSSL_CORE_BIO *cout, in write_pvk() 129 OSSL_CORE_BIO *cout, evp_pkey_set1_fn *set1_key, in key2msblob_encode() 151 OSSL_CORE_BIO *cout, evp_pkey_set1_fn *set1_key, in key2pvk_encode() 196 static int impl##2##output##_encode(void *vctx, OSSL_CORE_BIO *cout, \
|
H A D | encode_key2blob.c | 29 static int write_blob(void *provctx, OSSL_CORE_BIO *cout, in write_blob() 89 OSSL_CORE_BIO *cout) in key2blob_encode() 144 static int impl##2blob_encode(void *vctx, OSSL_CORE_BIO *cout, \
|
H A D | decode_pem2der.c | 31 static int read_pem(PROV_CTX *provctx, OSSL_CORE_BIO *cin, in read_pem() 95 static int pem2der_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in pem2der_decode()
|
H A D | endecoder_local.h | 27 int ossl_read_der(PROV_CTX *provctx, OSSL_CORE_BIO *cin, unsigned char **data,
|
H A D | endecoder_common.c | 87 int ossl_read_der(PROV_CTX *provctx, OSSL_CORE_BIO *cin, unsigned char **data, in ossl_read_der()
|
H A D | decode_spki2typespki.c | 51 static int spki2typespki_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in spki2typespki_decode()
|
H A D | decode_epki2pki.c | 58 static int epki2pki_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in epki2pki_decode()
|
H A D | decode_pvk2key.c | 93 static int pvk2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in pvk2key_decode()
|
H A D | decode_msblob2key.c | 94 static int msblob2key_decode(void *vctx, OSSL_CORE_BIO *cin, int selection, in msblob2key_decode()
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | core_dispatch.h | 161 OSSL_CORE_MAKE_FUNC(OSSL_CORE_BIO *, BIO_new_file, (const char *filename, 163 OSSL_CORE_MAKE_FUNC(OSSL_CORE_BIO *, BIO_new_membuf, (const void *buf, int len)) 164 OSSL_CORE_MAKE_FUNC(int, BIO_read_ex, (OSSL_CORE_BIO *bio, void *data, 166 OSSL_CORE_MAKE_FUNC(int, BIO_write_ex, (OSSL_CORE_BIO *bio, const void *data, 168 OSSL_CORE_MAKE_FUNC(int, BIO_gets, (OSSL_CORE_BIO *bio, char *buf, int size)) 169 OSSL_CORE_MAKE_FUNC(int, BIO_puts, (OSSL_CORE_BIO *bio, const char *str)) 170 OSSL_CORE_MAKE_FUNC(int, BIO_up_ref, (OSSL_CORE_BIO *bio)) 171 OSSL_CORE_MAKE_FUNC(int, BIO_free, (OSSL_CORE_BIO *bio)) 172 OSSL_CORE_MAKE_FUNC(int, BIO_vprintf, (OSSL_CORE_BIO *bio, const char *format, 176 OSSL_CORE_MAKE_FUNC(int, BIO_ctrl, (OSSL_CORE_BIO *bio, [all …]
|
H A D | core.h | 32 typedef struct ossl_core_bio_st OSSL_CORE_BIO; typedef
|
/freebsd/crypto/openssl/providers/implementations/storemgmt/ |
H A D | file_store_any2obj.c | 83 static int der2obj_decode(void *provctx, OSSL_CORE_BIO *cin, int selection, in der2obj_decode() 109 static int msblob2obj_decode(void *provctx, OSSL_CORE_BIO *cin, int selection, in msblob2obj_decode() 178 static int pvk2obj_decode(void *provctx, OSSL_CORE_BIO *cin, int selection, in pvk2obj_decode()
|
/freebsd/crypto/openssl/doc/man7/ |
H A D | provider-decoder.pod | 31 int OSSL_FUNC_decoder_decode(void *ctx, OSSL_CORE_BIO *in, 50 read from the given B<OSSL_CORE_BIO>. If the caller wants to decode 55 The decoder doesn't need to know more about the B<OSSL_CORE_BIO> 82 (OSSL_FUNC_decoder_decode_fn)(void *ctx, OSSL_CORE_BIO *in, 226 the B<OSSL_CORE_BIO> I<in> to produce decoded data or an object to be
|
H A D | provider-encoder.pod | 31 int OSSL_FUNC_encoder_encode(void *ctx, OSSL_CORE_BIO *out, 52 the given OSSL_CORE_BIO. If the caller wants to get the encoded 55 The encoder doesn't need to know more about the B<OSSL_CORE_BIO> 98 (OSSL_FUNC_encoder_encode_fn)(void *ctx, OSSL_CORE_BIO *out, 243 the object in encoded form to the B<OSSL_CORE_BIO>. The I<selection> bits,
|
H A D | provider-base.pod | 62 OSSL_CORE_BIO *BIO_new_file(const char *filename, const char *mode); 63 OSSL_CORE_BIO *BIO_new_membuf(const void *buf, int len); 64 int BIO_read_ex(OSSL_CORE_BIO *bio, void *data, size_t data_len, 66 int BIO_write_ex(OSSL_CORE_BIO *bio, const void *data, size_t data_len, 68 int BIO_up_ref(OSSL_CORE_BIO *bio); 69 int BIO_free(OSSL_CORE_BIO *bio); 70 int BIO_vprintf(OSSL_CORE_BIO *bio, const char *format, va_list args); 295 functions take an B<OSSL_CORE_BIO> type rather than the standard B<BIO>
|
H A D | provider-storemgmt.pod | 18 void *OSSL_FUNC_store_attach(void *provctx, OSSL_CORE_BIO *bio); 58 OSSL_CORE_BIO * bio);
|
/freebsd/crypto/openssl/providers/fips/ |
H A D | self_test.c | 178 static int verify_integrity(OSSL_CORE_BIO *bio, OSSL_FUNC_BIO_read_ex_fn read_ex_cb, in verify_integrity() 239 OSSL_CORE_BIO *bio_module = NULL, *bio_indicator = NULL; in SELF_TEST_post()
|