Home
last modified time | relevance | path

Searched refs:alen (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/
A Dccm_mode.c139 unsigned int alen, const uint8_t *payload, in tc_ccm_generation_encryption() argument
147 ((alen > 0) && (associated_data == (uint8_t *) 0)) || in tc_ccm_generation_encryption()
161 b[0] = ((alen > 0) ? 0x40:0) | (((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_generation_encryption()
170 if (alen > 0) { in tc_ccm_generation_encryption()
171 ccm_cbc_mac(tag, associated_data, alen, 1, c->sched); in tc_ccm_generation_encryption()
200 unsigned int alen, const uint8_t *payload, in tc_ccm_decryption_verification() argument
205 if ((plen <= alen) || in tc_ccm_decryption_verification()
209 ((alen > 0) && (associated_data == (uint8_t *) 0)) || in tc_ccm_decryption_verification()
243 b[0] = ((alen > 0) ? 0x40:0)|(((c->mlen - 2) / 2 << 3)) | (1); in tc_ccm_decryption_verification()
252 if (alen > 0) { in tc_ccm_decryption_verification()
[all …]
/AliOS-Things-master/components/linkkit/mqtt/impl/
A DMQTTPacket.c252 int alen = 0, blen = 0; in MQTTPacket_equals() local
257 alen = strlen(a->cstring); in MQTTPacket_equals()
260 alen = a->lenstring.len; in MQTTPacket_equals()
265 alen = a->lenstring.len; in MQTTPacket_equals()
266 blen = alen; in MQTTPacket_equals()
268 return (alen == blen) && (memcmp(aptr, bptr, alen) == 0); in MQTTPacket_equals()
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/
A Dccm_mode.h158 unsigned int alen, const uint8_t *payload,
204 unsigned int alen, const uint8_t *payload, unsigned int plen,
/AliOS-Things-master/components/mqtt/MQTTPacket/
A DMQTTPacket.c262 int alen = 0, in MQTTPacket_equals() local
269 alen = strlen(a->cstring); in MQTTPacket_equals()
274 alen = a->lenstring.len; in MQTTPacket_equals()
278 return (alen == blen) && (strncmp(aptr, bptr, alen) == 0); in MQTTPacket_equals()
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/
A Drpng-win.c172 int rc, alen, flen; in WinMain() local
393 alen = strlen(appname); in WinMain()
395 if (alen + flen + 3 > 1023) in WinMain()
396 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in WinMain()
A Drpng-x.c171 int rc, alen, flen; in main() local
346 alen = strlen(appname); in main()
348 if (alen + flen + 3 > 1023) in main()
349 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in main()
A Drpng2-win.c281 int rc, alen, flen; in WinMain() local
541 alen = strlen(appname); in WinMain()
543 if (alen + flen + 3 > 1023) in WinMain()
544 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in WinMain()
A Drpng2-x.c316 int rc, alen, flen; in main() local
565 alen = strlen(appname); in main()
567 if (alen + flen + 3 > 1023) in main()
568 sprintf(titlebar, "%s: ...%s", appname, filename+(alen+flen+6-1023)); in main()
/AliOS-Things-master/components/py_engine/engine/lib/littlefs/
A Dlfs1.h203 uint8_t alen; member
258 uint8_t alen; member
A Dlfs1.c405 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen; in lfs1_entry_size()
804 entry->d.alen = 0; in lfs1_dir_find()
878 entry->off + 4+entry->d.elen+entry->d.alen, in lfs1_dir_find()
942 entry.d.alen = 0; in lfs1_mkdir()
1053 entry.off + 4+entry.d.elen+entry.d.alen, in lfs1_dir_read()
1321 entry.d.alen = 0; in lfs1_file_opencfg()
1853 entry.off + 4+entry.d.elen+entry.d.alen, in lfs1_stat()
A Dlfs2.c4255 uint8_t alen; member
4288 uint8_t alen; member
4364 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen;
4705 entry1.off + 4+entry1.d.elen+entry1.d.alen,
/AliOS-Things-master/components/linkkit/external/nghttp2/
A Dnghttp2_frame.c844 static int bytes_compar(const uint8_t *a, size_t alen, const uint8_t *b, in bytes_compar() argument
849 if (alen == blen) { in bytes_compar()
850 return memcmp(a, b, alen); in bytes_compar()
853 if (alen < blen) { in bytes_compar()
854 rv = memcmp(a, b, alen); in bytes_compar()
/AliOS-Things-master/components/freetype/src/base/
A Dftstroke.c1482 FT_Fixed blen, sinA, sinB, alen; in FT_Stroker_ConicTo() local
1497 alen = FT_MulDiv( blen, sinA, sinB ); in FT_Stroker_ConicTo()
1499 FT_Vector_From_Polar( &delta, alen, beta ); in FT_Stroker_ConicTo()
1689 FT_Fixed blen, sinA, sinB, alen; in FT_Stroker_CubicTo() local
1704 alen = FT_MulDiv( blen, sinA, sinB ); in FT_Stroker_CubicTo()
1706 FT_Vector_From_Polar( &delta, alen, beta ); in FT_Stroker_CubicTo()
/AliOS-Things-master/components/mbedtls/library/
A Decp_curves.c586 const mbedtls_mpi_uint *a, size_t alen, in ecp_group_load() argument
594 ecp_mpi_load( &grp->A, a, alen ); in ecp_group_load()
/AliOS-Things-master/components/freetype/src/bdf/
A Dbdflib.c520 unsigned long *alen ) in _bdf_list_join() argument
526 *alen = 0; in _bdf_list_join()
546 *alen = j; in _bdf_list_join()
/AliOS-Things-master/components/littlefs/src/littlefs-v220/
A Dlfs.c4651 uint8_t alen; member
4684 uint8_t alen; member
4760 return 4 + entry->d.elen + entry->d.alen + entry->d.nlen; in lfs1_entry_size()
5119 entry1.off + 4+entry1.d.elen+entry1.d.alen, in lfs_migrate()

Completed in 54 milliseconds