Home
last modified time | relevance | path

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

/uoscore-uedhoc-3.4.0/src/edhoc/
Dplaintext_encode.c77 uint32_t l; in plaintext_encode() local
87 l = kid_len; in plaintext_encode()
90 l = id_cred_len; in plaintext_encode()
93 TRY(encode_byte_string(sgn_or_mac, sgn_or_mac_len, plaintext + l, in plaintext_encode()
96 TRY(_memcpy_s(plaintext + l + enc_sgn_or_mac_len, in plaintext_encode()
97 *plaintext_len - l - enc_sgn_or_mac_len, ad, ad_len)); in plaintext_encode()
99 *plaintext_len = l + enc_sgn_or_mac_len + ad_len; in plaintext_encode()
/uoscore-uedhoc-3.4.0/src/oscore/
Dcoap2oscore.c217 uint8_t l; in get_oscore_opt_val_len() local
218 l = (uint8_t)(piv->len + kid_context->len + kid->len); in get_oscore_opt_val_len()
219 if (l) { in get_oscore_opt_val_len()
221 l++; in get_oscore_opt_val_len()
225 l++; in get_oscore_opt_val_len()
227 return l; in get_oscore_opt_val_len()