Home
last modified time | relevance | path

Searched refs:pdata_len (Results 1 – 8 of 8) sorted by relevance

/openssl/doc/man3/
H A DOSSL_ENCODER_to_bio.pod15 size_t *pdata_len);
31 with the output going to the I<*pdata> and I<*pdata_len>.
34 the start of that buffer, and I<*pdata_len> will be assigned its length when
36 If I<*pdata> is non-NULL when OSSL_ENCODER_to_data() is called, I<*pdata_len>
38 after the encoded bytes, and I<*pdata_len> will be assigned the number of
H A DOSSL_DECODER_from_bio.pod17 size_t *pdata_len);
31 with input coming from I<*pdata>, I<*pdata_len> bytes long. Both I<*pdata>
32 and I<*pdata_len> must be non-NULL. When OSSL_DECODER_from_data() returns,
34 and I<*pdata_len> to have the number of remaining bytes.
/openssl/crypto/encode_decode/
H A Dencoder_lib.c97 size_t *pdata_len) in OSSL_ENCODER_to_data() argument
103 if (pdata_len == NULL) { in OSSL_ENCODER_to_data()
116 if (*pdata_len < buf->length) in OSSL_ENCODER_to_data()
124 *pdata_len -= buf->length; in OSSL_ENCODER_to_data()
127 *pdata_len = (size_t)buf->length; in OSSL_ENCODER_to_data()
H A Ddecoder_lib.c146 size_t *pdata_len) in OSSL_DECODER_from_data() argument
151 if (pdata == NULL || *pdata == NULL || pdata_len == NULL) { in OSSL_DECODER_from_data()
156 membio = BIO_new_mem_buf(*pdata, (int)*pdata_len); in OSSL_DECODER_from_data()
158 *pdata_len = (size_t)BIO_get_mem_data(membio, pdata); in OSSL_DECODER_from_data()
/openssl/test/
H A Devp_extra_test2.c580 int pdata_len = sizeof(kExampleRSAKeyDER); in test_rsa_tofrom_data_select() local
582 ret = TEST_ptr(key = d2i_AutoPrivateKey_ex(NULL, &pdata, pdata_len, in test_rsa_tofrom_data_select()
1259 int pdata_len = keydata[0].size; in test_pkey_export() local
1261 if (!TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &pdata, pdata_len, in test_pkey_export()
1273 pdata_len = keydata[0].size; in test_pkey_export()
1274 if (!TEST_ptr(rsa = d2i_RSAPrivateKey(NULL, &pdata, pdata_len)) in test_pkey_export()
/openssl/include/openssl/
H A Dencoder.h108 size_t *pdata_len);
H A Ddecoder.h117 size_t *pdata_len);
/openssl/ssl/statem/
H A Dstatem_lib.c1308 int pdata_len = 0; in tls_output_rpk() local
1322 pdata_len = i2d_X509_PUBKEY(xpk, &pdata); in tls_output_rpk()
1325 pdata_len = i2d_PUBKEY(cpk->privatekey, &pdata); in tls_output_rpk()
1333 if (!WPACKET_sub_memcpy_u24(pkt, pdata, pdata_len)) { in tls_output_rpk()
1340 if (pdata_len <= 0) { in tls_output_rpk()
1356 if (!WPACKET_sub_memcpy_u24(pkt, pdata, pdata_len)) { in tls_output_rpk()

Completed in 21 milliseconds