Home
last modified time | relevance | path

Searched defs:datalen (Results 1 – 25 of 54) sorted by relevance

123

/device/soc/hisilicon/ws63v100/sdk/open_source/GmSSL3.0/src/
Dtls_trace.c352 int tls_extension_print(FILE *fp, int type, const uint8_t *data, size_t datalen, int format, int in… in tls_extension_print()
520 int tls_hello_request_print(FILE *fp, const uint8_t *data, size_t datalen, int format, int indent) in tls_hello_request_print()
531 int tls_client_hello_print(FILE *fp, const uint8_t *data, size_t datalen, int format, int indent) in tls_client_hello_print()
583 int tls_server_hello_print(FILE *fp, const uint8_t *data, size_t datalen, int format, int indent) in tls_server_hello_print()
621 int tls_certificate_print(FILE *fp, const uint8_t *data, size_t datalen, int format, int indent) in tls_certificate_print()
649 int tls_server_key_exchange_ecdhe_print(FILE *fp, const uint8_t *data, size_t datalen, in tls_server_key_exchange_ecdhe_print()
699 int tls_server_key_exchange_print(FILE *fp, const uint8_t *data, size_t datalen, int format, int in… in tls_server_key_exchange_print()
751 int tls_certificate_request_print(FILE *fp, const uint8_t *data, size_t datalen, int format, int in… in tls_certificate_request_print()
773 int tls_server_hello_done_print(FILE *fp, const uint8_t *data, size_t datalen, int format, int inde… in tls_server_hello_done_print()
782 int tls_client_key_exchange_pke_print(FILE *fp, const uint8_t *data, size_t datalen, int format, in… in tls_client_key_exchange_pke_print()
[all …]
Dsha256.c114 void sha256_update(SHA256_CTX *ctx, const unsigned char *data, size_t datalen) in sha256_update()
171 void sha256_digest(const unsigned char *data, size_t datalen, in sha256_digest()
194 void sha224_update(SHA224_CTX *ctx, const unsigned char *data, size_t datalen) in sha224_update()
207 void sha224_digest(const unsigned char *data, size_t datalen, in sha224_digest()
Dsha512.c34 void sha512_update(SHA512_CTX *ctx, const unsigned char *data, size_t datalen) in sha512_update()
182 void sha512_digest(const unsigned char *data, size_t datalen, in sha512_digest()
205 void sha384_update(SHA384_CTX *ctx, const unsigned char *data, size_t datalen) in sha384_update()
223 void sha384_digest(const unsigned char *data, size_t datalen, in sha384_digest()
Dpem.c18 int pem_write(FILE *fp, const char *name, const uint8_t *data, size_t datalen) in pem_write()
36 int pem_read(FILE *fp, const char *name, uint8_t *data, size_t *datalen, size_t maxlen) in pem_read()
Dtls.c72 void tls_array_to_bytes(const uint8_t *data, size_t datalen, uint8_t **out, size_t *outlen) in tls_array_to_bytes()
90 void tls_uint8array_to_bytes(const uint8_t *data, size_t datalen, uint8_t **out, size_t *outlen) in tls_uint8array_to_bytes()
96 void tls_uint16array_to_bytes(const uint8_t *data, size_t datalen, uint8_t **out, size_t *outlen) in tls_uint16array_to_bytes()
102 void tls_uint24array_to_bytes(const uint8_t *data, size_t datalen, uint8_t **out, size_t *outlen) in tls_uint24array_to_bytes()
164 int tls_array_from_bytes(const uint8_t **data, size_t datalen, const uint8_t **in, size_t *inlen) in tls_array_from_bytes()
176 int tls_uint8array_from_bytes(const uint8_t **data, size_t *datalen, const uint8_t **in, size_t *in… in tls_uint8array_from_bytes()
191 int tls_uint16array_from_bytes(const uint8_t **data, size_t *datalen, const uint8_t **in, size_t *i… in tls_uint16array_from_bytes()
206 int tls_uint24array_from_bytes(const uint8_t **data, size_t *datalen, const uint8_t **in, size_t *i… in tls_uint24array_from_bytes()
263 int tls_record_set_data(uint8_t *record, const uint8_t *data, size_t datalen) in tls_record_set_data()
600 int type, const uint8_t *data, size_t datalen) in tls_record_set_handshake()
[all …]
Dhmac.c60 int hmac_update(HMAC_CTX *ctx, const uint8_t *data, size_t datalen) in hmac_update()
113 const uint8_t *data, size_t datalen, in hmac()
Ddebug.c25 void print_bytes(const uint8_t *data, size_t datalen) in print_bytes()
60 …ormat_bytes(FILE *fp, int format, int indent, const char *str, const uint8_t *data, size_t datalen) in format_bytes()
Dmd5.c119 void md5_update(MD5_CTX *ctx, const unsigned char *data, size_t datalen) in md5_update()
174 void md5_digest(const unsigned char *data, size_t datalen, in md5_digest()
Dsha1.c106 void sha1_update(SHA1_CTX *ctx, const unsigned char *data, size_t datalen) in sha1_update()
162 void sha1_digest(const unsigned char *data, size_t datalen, in sha1_digest()
Dtls_ext.c388 int handshake_type, const uint8_t *data, size_t datalen) in tls13_supported_versions_ext_print()
570 …hare_ext_print(FILE *fp, int fmt, int ind, int handshake_type, const uint8_t *data, size_t datalen) in tls13_key_share_ext_print()
797 int tls_ext_from_bytes(int *type, const uint8_t **data, size_t *datalen, const uint8_t **in, size_t… in tls_ext_from_bytes()
817 size_t datalen; in tls_process_client_hello_exts() local
857 size_t datalen; in tls_process_server_hello_exts() local
Dsm3_kdf.c24 void sm3_kdf_update(SM3_KDF_CTX *ctx, const uint8_t *data, size_t datalen) in sm3_kdf_update()
Ddigest.c58 int digest_update(DIGEST_CTX *ctx, const uint8_t *data, size_t datalen) in digest_update()
78 int digest(const DIGEST *digest, const uint8_t *data, size_t datalen, in digest()
Dtls13.c210 int tls13_send(TLS_CONNECT *conn, const uint8_t *data, size_t datalen, size_t *sentlen) in tls13_send()
762 …t tls13_encrypted_extensions_print(FILE *fp, int fmt, int ind, const uint8_t *data, size_t datalen) in tls13_encrypted_extensions_print()
917 size_t datalen = 0; in tls13_record_set_handshake_certificate_request() local
1191 size_t datalen; in tls13_record_set_handshake_certificate() local
1435 size_t datalen; in tls13_do_connect() local
Dsm9_lib.c80 int sm9_sign_update(SM9_SIGN_CTX *ctx, const uint8_t *data, size_t datalen) in sm9_sign_update()
162 int sm9_verify_update(SM9_SIGN_CTX *ctx, const uint8_t *data, size_t datalen) in sm9_verify_update()
/device/soc/hisilicon/ws63v100/sdk/open_source/mqtt/paho.mqtt.c/src/
DMQTTPacketOut.c142 void* MQTTPacket_connack(int MQTTVersion, unsigned char aHeader, char* data, size_t datalen) in MQTTPacket_connack()
233 int datalen, i = 0; in MQTTPacket_send_subscribe() local
290 void* MQTTPacket_suback(int MQTTVersion, unsigned char aHeader, char* data, size_t datalen) in MQTTPacket_suback()
406 int datalen; in MQTTPacket_send_unsubscribe() local
449 void* MQTTPacket_unsuback(int MQTTVersion, unsigned char aHeader, char* data, size_t datalen) in MQTTPacket_unsuback()
DMQTTPacket.c482 void writeData(char** pptr, const void* data, int datalen) in writeData()
498 void* MQTTPacket_header_only(int MQTTVersion, unsigned char aHeader, char* data, size_t datalen) in MQTTPacket_header_only()
556 void* MQTTPacket_publish(int MQTTVersion, unsigned char aHeader, char* data, size_t datalen) in MQTTPacket_publish()
798 void* MQTTPacket_ack(int MQTTVersion, unsigned char aHeader, char* data, size_t datalen) in MQTTPacket_ack()
DSocketBuffer.h42 datalen; /**< current length of data in buf */ member
/device/soc/hisilicon/ws63v100/sdk/middleware/services/wifi_service/wpa/wapi/
Dwai_rxtx.c62 const unsigned char *src_mac, const unsigned char *buf, unsigned int datalen) in wai_check_valid_frame()
125 int wai_tx_packet(struct wpa_supplicant *wpa, const unsigned char *framebuf, unsigned int datalen) in wai_tx_packet()
144 const unsigned char *buf, size_t datalen) in wai_rx_packet()
Dwai_crypto_mbedtls.c32 int wai_hmac_sha256(const unsigned char *data, unsigned int datalen, in wai_hmac_sha256()
68 int wai_kd_hmac_sha256(const unsigned char *data, unsigned int datalen, in wai_kd_hmac_sha256()
/device/soc/hisilicon/ws63v100/sdk/open_source/libcoap/libcoap/src/
Dcoap_netif.c124 size_t datalen) { in coap_netif_dgrm_write()
213 coap_netif_strm_read(coap_session_t *session, uint8_t *data, size_t datalen) { in coap_netif_strm_read()
235 size_t datalen) { in coap_netif_strm_write()
Dcoap_ws.c205 coap_ws_write(coap_session_t *session, const uint8_t *data, size_t datalen) { in coap_ws_write()
580 coap_ws_read(coap_session_t *session, uint8_t *data, size_t datalen) { in coap_ws_read()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
DSocketBuffer.h48 datalen; /**< current length of data in buf */ member
/device/soc/hisilicon/ws63v100/sdk/middleware/utils/dfx/log/include/
Dlog_oam_pcm.h64 uint32_t datalen : 16; member
/device/soc/hisilicon/ws63v100/sdk/open_source/lwip/lwip_v2.1.3/src/core/ipv6/
Dicmp6.c556 u16_t datalen = LWIP_MIN(p->tot_len, LWIP_ICMP6_DATASIZE); in icmp6_send_response_with_addrs_and_netif() local
/device/soc/hisilicon/ws63v100/sdk/open_source/mbedtls/mbedtls_v3.1.0/library/
Dpkcs5.c111 const unsigned char *data, size_t datalen, in mbedtls_pkcs5_pbes2()

123