Home
last modified time | relevance | path

Searched refs:partial_iv_len (Results 1 – 2 of 2) sorted by relevance

/third_party/libcoap/src/oscore/
Doscore.c249 uint8_t partial_iv_len = (opt_value[0] & 0x07); in oscore_decode_option_value() local
258 if (option_len > 255 || partial_iv_len == 6 || partial_iv_len == 7 || in oscore_decode_option_value()
267 if (partial_iv_len != 0) { in oscore_decode_option_value()
269 if (offset + partial_iv_len > option_len) { in oscore_decode_option_value()
273 partial_iv.length = partial_iv_len; in oscore_decode_option_value()
275 offset += partial_iv_len; in oscore_decode_option_value()
/third_party/libcoap/src/
Dcoap_oscore.c356 size_t partial_iv_len; in coap_oscore_new_pdu_encrypted() local
358 partial_iv_len = coap_encode_var_safe8(partial_iv_buffer, in coap_oscore_new_pdu_encrypted()
364 partial_iv_len = 1; in coap_oscore_new_pdu_encrypted()
367 partial_iv.length = partial_iv_len; in coap_oscore_new_pdu_encrypted()