Home
last modified time | relevance | path

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

/third_party/openssl/doc/man3/
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
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.
/third_party/openssl/crypto/encode_decode/
Dencoder_lib.c92 size_t *pdata_len) in OSSL_ENCODER_to_data() argument
98 if (pdata_len == NULL) { in OSSL_ENCODER_to_data()
111 if (*pdata_len < buf->length) in OSSL_ENCODER_to_data()
119 *pdata_len -= buf->length; in OSSL_ENCODER_to_data()
122 *pdata_len = (size_t)buf->length; in OSSL_ENCODER_to_data()
Ddecoder_lib.c145 size_t *pdata_len) in OSSL_DECODER_from_data() argument
150 if (pdata == NULL || *pdata == NULL || pdata_len == NULL) { in OSSL_DECODER_from_data()
155 membio = BIO_new_mem_buf(*pdata, (int)*pdata_len); in OSSL_DECODER_from_data()
157 *pdata_len = (size_t)BIO_get_mem_data(membio, pdata); in OSSL_DECODER_from_data()
/third_party/node/deps/openssl/openssl/crypto/encode_decode/
Dencoder_lib.c92 size_t *pdata_len) in OSSL_ENCODER_to_data() argument
98 if (pdata_len == NULL) { in OSSL_ENCODER_to_data()
111 if (*pdata_len < buf->length) in OSSL_ENCODER_to_data()
119 *pdata_len -= buf->length; in OSSL_ENCODER_to_data()
122 *pdata_len = (size_t)buf->length; in OSSL_ENCODER_to_data()
Ddecoder_lib.c145 size_t *pdata_len) in OSSL_DECODER_from_data() argument
150 if (pdata == NULL || *pdata == NULL || pdata_len == NULL) { in OSSL_DECODER_from_data()
155 membio = BIO_new_mem_buf(*pdata, (int)*pdata_len); in OSSL_DECODER_from_data()
157 *pdata_len = (size_t)BIO_get_mem_data(membio, pdata); in OSSL_DECODER_from_data()
/third_party/openssl/test/
Devp_extra_test2.c436 int pdata_len = sizeof(kExampleRSAKeyDER); in test_rsa_tofrom_data_select() local
438 ret = TEST_ptr(key = d2i_AutoPrivateKey_ex(NULL, &pdata, pdata_len, in test_rsa_tofrom_data_select()
1115 int pdata_len = keydata[0].size; in test_pkey_export() local
1117 if (!TEST_ptr(pkey = d2i_AutoPrivateKey_ex(NULL, &pdata, pdata_len, in test_pkey_export()
1129 pdata_len = keydata[0].size; in test_pkey_export()
1130 if (!TEST_ptr(rsa = d2i_RSAPrivateKey(NULL, &pdata, pdata_len)) in test_pkey_export()
/third_party/openssl/include/openssl/
Dencoder.h108 size_t *pdata_len);
Ddecoder.h117 size_t *pdata_len);
/third_party/node/deps/openssl/openssl/include/openssl/
Dencoder.h108 size_t *pdata_len);
Ddecoder.h117 size_t *pdata_len);