/freebsd/crypto/openssl/doc/man3/ |
H A D | OSSL_ENCODER_to_bio.pod | 15 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 D | OSSL_DECODER_from_bio.pod | 17 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.
|
/freebsd/crypto/openssl/crypto/encode_decode/ |
H A D | encoder_lib.c | 97 size_t *pdata_len) in OSSL_ENCODER_to_data() 103 if (pdata_len == NULL) { in OSSL_ENCODER_to_data() 116 if (*pdata_len < buf->length) in OSSL_ENCODER_to_data() 118 * It's tempting to do |*pdata_len = (size_t)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() 92 OSSL_ENCODER_to_data(OSSL_ENCODER_CTX * ctx,unsigned char ** pdata,size_t * pdata_len) OSSL_ENCODER_to_data() argument
|
H A D | decoder_lib.c | 145 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()
|
/freebsd/crypto/openssl/test/ |
H A D | evp_extra_test2.c | 436 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()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | iw_cm.h | 125 const void *pdata, u8 pdata_len);
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | encoder.h | 108 size_t *pdata_len);
|
H A D | decoder.h | 117 size_t *pdata_len);
|
/freebsd/sys/dev/qlnx/qlnxr/ |
H A D | qlnxr_verbs.h | 186 extern int qlnxr_iw_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len);
|
H A D | qlnxr_verbs.c | 6322 qlnxr_iw_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in qlnxr_iw_reject() argument 6332 params.private_data_len = pdata_len; in qlnxr_iw_reject()
|
/freebsd/sys/dev/irdma/ |
H A D | irdma_cm.h | 432 int irdma_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len);
|
H A D | irdma_cm.c | 3660 irdma_reject(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in irdma_reject() argument 3666 cm_node->pdata.size = pdata_len; in irdma_reject() 3674 if (pdata_len + sizeof(struct ietf_mpa_v2) > IRDMA_MAX_CM_BUF) in irdma_reject() 3677 return irdma_cm_reject(cm_node, pdata, pdata_len); in irdma_reject()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_openssl.c | 3519 size_t pdata_len = 0; in crypto_ec_key_get_subject_public_key() local 3546 if (!ctx || OSSL_ENCODER_to_data(ctx, &pdata, &pdata_len) != 1) { in crypto_ec_key_get_subject_public_key() 3554 buf = wpabuf_alloc_copy(pdata, pdata_len); in crypto_ec_key_get_subject_public_key() 3660 size_t pdata_len = 0; in crypto_ec_key_get_ecprivate_key() local 3682 if (!ctx || OSSL_ENCODER_to_data(ctx, &pdata, &pdata_len) != 1) { in crypto_ec_key_get_ecprivate_key() 3688 buf = wpabuf_alloc_copy(pdata, pdata_len); in crypto_ec_key_get_ecprivate_key()
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | iw_cxgbe.h | 932 int c4iw_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len);
|
H A D | cm.c | 2356 int c4iw_reject_cr(struct iw_cm_id *cm_id, const void *pdata, u8 pdata_len) in c4iw_reject_cr() argument 2385 abort = send_mpa_reject(ep, pdata, pdata_len); in c4iw_reject_cr()
|