/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() argument 41 BIO *out = ossl_bio_new_from_core_bio(ctx->provctx, cout); in write_msblob() 52 static int write_pvk(struct key2ms_ctx_st *ctx, OSSL_CORE_BIO *cout, in write_pvk() argument 59 out = ossl_bio_new_from_core_bio(ctx->provctx, cout); in write_pvk() 129 OSSL_CORE_BIO *cout, evp_pkey_set1_fn *set1_key, in key2msblob_encode() argument 145 ok = write_msblob(ctx, cout, pkey, ispub); in key2msblob_encode() 151 OSSL_CORE_BIO *cout, evp_pkey_set1_fn *set1_key, in key2pvk_encode() argument 164 ok = write_pvk(ctx, cout, pkey); in key2pvk_encode() 196 static int impl##2##output##_encode(void *vctx, OSSL_CORE_BIO *cout, \ 208 return key2##output##_encode(vctx, key, selection, cout, type##_set1, \
|
H A D | encode_key2blob.c | 29 static int write_blob(void *provctx, OSSL_CORE_BIO *cout, in write_blob() argument 32 BIO *out = ossl_bio_new_from_core_bio(provctx, cout); in write_blob() 89 OSSL_CORE_BIO *cout) in key2blob_encode() argument 96 ok = write_blob(vctx, cout, pubkey, pubkey_len); in key2blob_encode() 144 static int impl##2blob_encode(void *vctx, OSSL_CORE_BIO *cout, \ 156 return key2blob_encode(vctx, key, selection, cout); \
|
H A D | encode_key2text.c | 798 OSSL_CORE_BIO *cout, in key2text_encode() argument 803 BIO *out = ossl_bio_new_from_core_bio(vctx, cout); in key2text_encode() 832 static int impl##2text_encode(void *vctx, OSSL_CORE_BIO *cout, \ 844 return key2text_encode(vctx, key, selection, cout, \
|
H A D | encode_key2any.c | 1044 static int key2any_encode(struct key2any_ctx_st *ctx, OSSL_CORE_BIO *cout, in key2any_encode() argument 1058 BIO *out = ossl_bio_new_from_core_bio(ctx->provctx, cout); in key2any_encode() 1076 return key2any_encode(ctx, cout, key, impl##_evp_type, \ 1086 return key2any_encode(ctx, cout, key, impl##_evp_type, \ 1096 return key2any_encode(ctx, cout, key, impl##_evp_type, \ 1272 impl##_to_##kind##_##output##_encode(void *ctx, OSSL_CORE_BIO *cout, \
|
/openssl/crypto/asn1/ |
H A D | tasn_enc.c | 29 static int asn1_ex_i2c(const ASN1_VALUE **pval, unsigned char *cout, int *putype, 522 static int asn1_ex_i2c(const ASN1_VALUE **pval, unsigned char *cout, int *putype, in asn1_ex_i2c() argument 535 return pf->prim_i2c(pval, cout, putype, it); in asn1_ex_i2c() 593 cout ? &cout : NULL); in asn1_ex_i2c() 600 return ossl_i2c_ASN1_INTEGER((ASN1_INTEGER *)*pval, cout ? &cout : NULL); in asn1_ex_i2c() 624 if (cout) { in asn1_ex_i2c() 625 strtmp->data = cout; in asn1_ex_i2c() 637 if (cout && len) in asn1_ex_i2c() 638 memcpy(cout, cont, len); in asn1_ex_i2c()
|
/openssl/test/recipes/ |
H A D | 82-test_tfo_cli.t | 61 my $cpid = open2(my $cout, my $cin, $shlib_wrap, $apps_openssl, @c_cmd); 70 while (<$cout>) {
|
/openssl/test/ |
H A D | dhtest.c | 54 int i, alen, blen, clen, aout, bout, cout; in dh_test() local 221 || !TEST_true((cout = DH_compute_key(cbuf, apub_key, c)) != -1)) in dh_test() 226 || !TEST_mem_eq(abuf, aout, cbuf, cout)) in dh_test()
|
H A D | tls-provider.c | 1832 static int key2any_encode(struct key2any_ctx_st *ctx, OSSL_CORE_BIO *cout, in key2any_encode() argument 1845 BIO *out = BIO_new_from_core_bio(ctx->provctx->libctx, cout); in key2any_encode() 1864 return key2any_encode(ctx, cout, key, impl##_pem_type, \ 1873 return key2any_encode(ctx, cout, key, impl##_pem_type, \ 1882 return key2any_encode(ctx, cout, key, impl##_pem_type, \ 1979 impl##_to_##kind##_##output##_encode(void *ctx, OSSL_CORE_BIO *cout, \
|