Home
last modified time | relevance | path

Searched refs:data_length (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Dcmac_mode.c157 int tc_cmac_update(TCCmacState_t s, const uint8_t *data, size_t data_length) in tc_cmac_update() argument
165 if (data_length == 0) { in tc_cmac_update()
182 if (data_length < remaining_space) { in tc_cmac_update()
184 _copy(&s->leftover[s->leftover_offset], data_length, data, data_length); in tc_cmac_update()
185 s->leftover_offset += data_length; in tc_cmac_update()
193 data_length -= remaining_space; in tc_cmac_update()
204 while (data_length > TC_AES_BLOCK_SIZE) { in tc_cmac_update()
210 data_length -= TC_AES_BLOCK_SIZE; in tc_cmac_update()
213 if (data_length > 0) { in tc_cmac_update()
215 _copy(s->leftover, data_length, data, data_length); in tc_cmac_update()
[all …]
A Dhmac.c112 unsigned int data_length) in tc_hmac_update() argument
120 (void)tc_sha256_update(&ctx->hash_state, data, data_length); in tc_hmac_update()
/AliOS-Things-master/components/ble_host/bt_crypto/
A Dbt_crypto.c311 … int bt_crypto_cmac_update(struct bt_crypto_cmac_t *ctx, const uint8_t *data, uint16_t data_length) in bt_crypto_cmac_update() argument
320 if (data_length == 0) { in bt_crypto_cmac_update()
338 if (data_length < remaining_space) { in bt_crypto_cmac_update()
340 memcpy(&ctx->leftover[ctx->leftover_offset], data, data_length); in bt_crypto_cmac_update()
341 ctx->leftover_offset += data_length; in bt_crypto_cmac_update()
349 data_length -= remaining_space; in bt_crypto_cmac_update()
361 while (data_length > 16) { in bt_crypto_cmac_update()
368 data_length -= 16; in bt_crypto_cmac_update()
371 if (data_length > 0) { in bt_crypto_cmac_update()
373 memcpy(ctx->leftover, data, data_length); in bt_crypto_cmac_update()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Djpegdec.c43 size_t data_length; member
77 marker->data_length > kICCPSkipLength && in StoreICCP()
82 const size_t segment_size = marker->data_length - kICCPSkipLength; in StoreICCP()
101 if (segment->data_length != 0) { in StoreICCP()
107 segment->data_length = segment_size; in StoreICCP()
141 iccp_segments[i].data, iccp_segments[i].data_length); in StoreICCP()
142 offset += iccp_segments[i].data_length; in StoreICCP()
173 marker->data_length > kJPEGMetadataMap[i].signature_length && in ExtractMetadataFromJPEG()
184 marker->data_length - kJPEGMetadataMap[i].signature_length; in ExtractMetadataFromJPEG()
/AliOS-Things-master/components/SDL2/src/image/external/jpeg-9b/
A Djdmarker.c881 unsigned int bytes_read, data_length; in save_marker() local
906 cur_marker->data_length = limit; in save_marker()
912 data_length = limit; in save_marker()
915 bytes_read = data_length = 0; in save_marker()
921 data_length = cur_marker->data_length; in save_marker()
925 while (bytes_read < data_length) { in save_marker()
931 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
951 length = cur_marker->original_length - data_length; in save_marker()
959 examine_app0(cinfo, data, data_length, length); in save_marker()
962 examine_app14(cinfo, data, data_length, length); in save_marker()
[all …]
A Dtransupp.c1541 srcinfo->marker_list->data_length >= 6 && in jtransform_adjust_parameters()
1555 srcinfo->marker_list->data_length - 6, in jtransform_adjust_parameters()
1734 marker->data_length >= 5 && in jcopy_markers_execute()
1743 marker->data_length >= 5 && in jcopy_markers_execute()
1754 jpeg_write_m_header(dstinfo, marker->marker, marker->data_length); in jcopy_markers_execute()
1755 for (i = 0; i < marker->data_length; i++) in jcopy_markers_execute()
1760 marker->data, marker->data_length); in jcopy_markers_execute()
A Djpeglib.h213 unsigned int data_length; /* # bytes of data saved at data[] */ member
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/
A Dhmac.h115 unsigned int data_length);
/AliOS-Things-master/components/sensor/drv/
A Ddrv_tvoc_sensirion_sgp30.c103 int data_length = (g_sgp_type == TYPE_SGP30) ? in drv_sgp30_read_raw_data() local
112 ret = drv_sgp30_result_read(drv, data, data_length); in drv_sgp30_read_raw_data()
/AliOS-Things-master/components/ble_host/bt_crypto/include/
A Dbt_crypto.h34 int bt_crypto_cmac_update(struct bt_crypto_cmac_t *ctx, const uint8_t *data, uint16_t data_length);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap/
A Dgap_storage_le.h110 uint8_t data_length; member
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngtest.c348 pngtest_check_io_state(png_structp png_ptr, size_t data_length,
351 pngtest_check_io_state(png_structp png_ptr, size_t data_length, in pngtest_check_io_state() argument
367 if (data_length > 8) in pngtest_check_io_state()
371 if (data_length != 8) in pngtest_check_io_state()
377 if (data_length != 4) in pngtest_check_io_state()
A Dpngrutil.c1646 png_uint_32 data_length; in png_handle_sPLT() local
1728 data_length = length - (png_uint_32)(entry_start - buffer); in png_handle_sPLT()
1731 if ((data_length % (unsigned int)entry_size) != 0) in png_handle_sPLT()
1737 dl = (png_uint_32)(data_length / (unsigned int)entry_size); in png_handle_sPLT()
1746 new_palette.nentries = (png_int_32)(data_length / (unsigned int)entry_size); in png_handle_sPLT()
A DCHANGES759 Added data_length parameter to png_decompress_chunk() function
1161 Added a check for prefix_length > data_length in iCCP chunk handler.
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/
A Djpeglib.h213 unsigned int data_length; /* # bytes of data saved at data[] */ member
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/
A Dco_hci.h2236 uint8_t data_length; member
4132 uint8_t data_length; member
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/
A Dduktape.c94987 …re_compiler_ctx *re_ctx, duk_uint32_t offset, duk_uint32_t data_offset, duk_uint32_t data_length) { argument
94988 DUK_BW_INSERT_ENSURE_SLICE(re_ctx->thr, &re_ctx->bw, offset, data_offset, data_length);
94991 …uk__append_slice(duk_re_compiler_ctx *re_ctx, duk_uint32_t data_offset, duk_uint32_t data_length) { argument
94992 DUK_BW_WRITE_ENSURE_SLICE(re_ctx->thr, &re_ctx->bw, data_offset, data_length);
94995 …uk__remove_slice(duk_re_compiler_ctx *re_ctx, duk_uint32_t data_offset, duk_uint32_t data_length) { argument
94996 DUK_BW_REMOVE_ENSURE_SLICE(re_ctx->thr, &re_ctx->bw, data_offset, data_length);

Completed in 304 milliseconds