Home
last modified time | relevance | path

Searched refs:dlen (Results 1 – 13 of 13) sorted by relevance

/hal_espressif-3.6.0/components/openssl/library/
Dssl_bio.c27 b->dlen = len; in BIO_new_mem_buf()
144 int BIO_write(BIO *b, const void * data, int dlen) in BIO_write() argument
152 int len_to_write = dlen > remaining?remaining:dlen; in BIO_write()
155 b->dlen = b->offset; in BIO_write()
156 if (len_to_write == dlen) { in BIO_write()
170 int remaining = peer->dlen - peer->roffset; in BIO_read()
186 peer->dlen = peer->offset; in BIO_read()
193 return bio->dlen - bio->roffset; in BIO_wpending()
198 return bio->peer->dlen - bio->peer->roffset; in BIO_ctrl_pending()
203 return (long)b->size - b->dlen; in BIO_ctrl_get_write_guarantee()
Dssl_pkey.c130 return d2i_PrivateKey(0, a, (const unsigned char **)&bp->data, bp->dlen); in d2i_PrivateKey_bio()
151 if (bp->data == NULL || bp->dlen == 0) { in PEM_read_bio_PrivateKey()
165 ret = EVP_PKEY_METHOD_CALL(load, x, bp->data, bp->dlen); in PEM_read_bio_PrivateKey()
173 bp->dlen = 0; in PEM_read_bio_PrivateKey()
Dssl_x509.c358 if (bp->data == NULL || bp->dlen == 0) { in PEM_read_bio_X509()
372 ret = X509_METHOD_CALL(load, x, bp->data, bp->dlen); in PEM_read_bio_X509()
380 bp->dlen = 0; in PEM_read_bio_X509()
/hal_espressif-3.6.0/components/esp-tls/esp-tls-crypto/
Desp_tls_crypto.c35 static int esp_crypto_bas64_encode_mbedtls( unsigned char *dst, size_t dlen, in esp_crypto_bas64_encode_mbedtls() argument
39 return mbedtls_base64_encode(dst, dlen, olen, src, slen); in esp_crypto_bas64_encode_mbedtls()
55 static int esp_crypto_base64_encode_woflSSL(unsigned char *dst, size_t dlen, size_t *olen, in esp_crypto_base64_encode_woflSSL() argument
58 *olen = dlen; in esp_crypto_base64_encode_woflSSL()
73 int esp_crypto_base64_encode(unsigned char *dst, size_t dlen, size_t *olen, in esp_crypto_base64_encode() argument
76 return _esp_crypto_base64_encode(dst, dlen, olen, src, slen); in esp_crypto_base64_encode()
Desp_tls_crypto.h53 int esp_crypto_base64_encode(unsigned char *dst, size_t dlen,
/hal_espressif-3.6.0/components/mdns/host_test/components/esp_system_protocols_linux/
Dstrlcat.c48 size_t dlen; local
53 dlen = d - dst;
54 n = siz - dlen;
57 return(dlen + strlen(s));
67 return(dlen + (s - src)); /* count does not include NUL */
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/src/
Dccm_mode.c64 static void ccm_cbc_mac(uint8_t *T, const uint8_t *data, unsigned int dlen, in ccm_cbc_mac() argument
71 T[0] ^= (uint8_t)(dlen >> 8); in ccm_cbc_mac()
72 T[1] ^= (uint8_t)(dlen); in ccm_cbc_mac()
73 dlen += 2; i = 2; in ccm_cbc_mac()
78 while (i < dlen) { in ccm_cbc_mac()
80 if (((i % (Nb * Nk)) == 0) || dlen == i) { in ccm_cbc_mac()
/hal_espressif-3.6.0/components/wpa_supplicant/src/eap_peer/
Deap_ttls.c813 static int eap_ttls_parse_attr_eap(const u8 *dpos, size_t dlen, in eap_ttls_parse_attr_eap() argument
818 parse->eapdata = os_malloc(dlen); in eap_ttls_parse_attr_eap()
824 os_memcpy(parse->eapdata, dpos, dlen); in eap_ttls_parse_attr_eap()
825 parse->eap_len = dlen; in eap_ttls_parse_attr_eap()
827 u8 *neweap = (u8 *)os_realloc(parse->eapdata, parse->eap_len + dlen); in eap_ttls_parse_attr_eap()
833 os_memcpy(neweap + parse->eap_len, dpos, dlen); in eap_ttls_parse_attr_eap()
835 parse->eap_len += dlen; in eap_ttls_parse_attr_eap()
848 size_t dlen; in eap_ttls_parse_avp() local
873 dlen = avp_length - sizeof(*avp); in eap_ttls_parse_avp()
875 if (dlen < 4) { in eap_ttls_parse_avp()
[all …]
/hal_espressif-3.6.0/components/esp_rom/include/esp32s3/rom/usb/
Dusb_device.h364 int usb_transfer(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags,
382 int usb_transfer_sync(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags);
/hal_espressif-3.6.0/components/esp_rom/include/esp32s2/rom/usb/
Dusb_device.h364 int usb_transfer(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags,
382 int usb_transfer_sync(uint8_t ep, uint8_t *data, size_t dlen, unsigned int flags);
/hal_espressif-3.6.0/components/bt/esp_ble_mesh/mesh_common/tinycrypt/include/tinycrypt/
Dcmac_mode.h176 int tc_cmac_update(TCCmacState_t s, const uint8_t *data, size_t dlen);
/hal_espressif-3.6.0/components/openssl/include/openssl/
Dbio.h111 int BIO_write(BIO *b, const void *data, int dlen);
/hal_espressif-3.6.0/components/openssl/include/internal/
Dssl_types.h163 int dlen; member