/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | cmac_mode.c | 157 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 D | hmac.c | 112 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 D | bt_crypto.c | 311 … 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 D | jpegdec.c | 43 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 D | jdmarker.c | 881 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 D | transupp.c | 1541 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 D | jpeglib.h | 213 unsigned int data_length; /* # bytes of data saved at data[] */ member
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/ |
A D | hmac.h | 115 unsigned int data_length);
|
/AliOS-Things-master/components/sensor/drv/ |
A D | drv_tvoc_sensirion_sgp30.c | 103 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 D | bt_crypto.h | 34 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 D | gap_storage_le.h | 110 uint8_t data_length; member
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/ |
A D | pngtest.c | 348 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 D | pngrutil.c | 1646 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 D | CHANGES | 759 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 D | jpeglib.h | 213 unsigned int data_length; /* # bytes of data saved at data[] */ member
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/ble_stack/common/api/ |
A D | co_hci.h | 2236 uint8_t data_length; member 4132 uint8_t data_length; member
|
/AliOS-Things-master/components/amp/engine/duktape_engine/duktape/ |
A D | duktape.c | 94987 …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);
|