Searched refs:mlen (Results 1 – 8 of 8) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/source/ |
A D | ccm_mode.c | 40 unsigned int nlen, unsigned int mlen) in tc_ccm_config() argument 50 } else if ((mlen < 4) || (mlen > 16) || (mlen & 1)) { in tc_ccm_config() 54 c->mlen = mlen; in tc_ccm_config() 191 for (i = 0; i < c->mlen; ++i) { in tc_ccm_generation_encryption() 230 ccm_ctr_mode(out, plen - c->mlen, payload, plen - c->mlen, b, c->sched); in tc_ccm_decryption_verification() 236 for (i = 0; i < c->mlen; ++i) { in tc_ccm_decryption_verification() 237 tag[i] = *(payload + plen - c->mlen + i) ^ b[i]; in tc_ccm_decryption_verification() 247 b[14] = (uint8_t)((plen - c->mlen) >> 8); in tc_ccm_decryption_verification() 248 b[15] = (uint8_t)(plen - c->mlen); in tc_ccm_decryption_verification() 260 if (_compare(b, tag, c->mlen) == 0) { in tc_ccm_decryption_verification() [all …]
|
/AliOS-Things-master/components/linkkit/infra/ |
A D | infra_json_parser.c | 379 unsigned int mlen = 0; in _LITE_json_keys_of() local 407 mlen = strlen(prefix) + klen + 1; in _LITE_json_keys_of() 423 mlen = strlen(prefix) + klen + 2; in _LITE_json_keys_of() 492 unsigned int mlen = 0; in _LITE_json_keys_of_ext() local 526 mlen = strlen(prefix) + klen + 1; in _LITE_json_keys_of_ext() 543 mlen = strlen(prefix) + klen + 2; in _LITE_json_keys_of_ext() 546 LITE_format_nstring(mlen, "%s%.*s.", magic, in _LITE_json_keys_of_ext() 560 mlen = strlen(prefix) + klen + 1; in _LITE_json_keys_of_ext() 563 LITE_format_nstring(mlen, "%s%.*s", magic, in _LITE_json_keys_of_ext() 598 mlen = strlen("%s[%d]") + strlen(prefix) + arridxlen; in _LITE_json_keys_of_ext() [all …]
|
/AliOS-Things-master/components/ble_host/bt_crypto/tinycrypt/include/tinycrypt/ |
A D | ccm_mode.h | 94 unsigned int mlen; /* mac length in bytes (parameter t in SP-800 38C) */ member 112 unsigned int nlen, unsigned int mlen);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/netif/ppp/ |
A D | upap.c | 604 int mlen, ulen, wlen; in upap_printpkt() local 654 mlen = p[0]; in upap_printpkt() 655 if (len < mlen + 1) in upap_printpkt() 658 p += mlen + 1; in upap_printpkt() 659 len -= mlen + 1; in upap_printpkt() 661 ppp_print_string(msg, mlen, printer, arg); in upap_printpkt()
|
A D | chap-new.c | 284 int response_len, ok, mlen; local 346 mlen = strlen(message); 347 len = CHAP_HDRLEN + mlen; 363 if (mlen > 0) 364 memcpy(outp + CHAP_HDRLEN, message, mlen);
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/ |
A D | rtl8721d_boot.h | 74 const unsigned char *m, unsigned long long mlen,
|
/AliOS-Things-master/components/linkkit/wifi_provision/dev_bind/ |
A D | awss_notify.c | 104 int len = 0, mlen = 0; in awss_notify_response() local 115 elem = json_get_value_by_name(payload, len, AWSS_JSON_ID, &mlen, 0); in awss_notify_response() 125 elem = json_get_value_by_name(payload, len, AWSS_JSON_CODE, &mlen, 0); in awss_notify_response()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/ |
A D | tif_ojpeg.c | 2085 uint16 mlen; in OJPEGReadBlock() local 2089 mlen=len; in OJPEGReadBlock() 2099 n=mlen; in OJPEGReadBlock() 2105 mlen-=n; in OJPEGReadBlock() 2107 } while(mlen>0); in OJPEGReadBlock()
|
Completed in 14 milliseconds