Lines Matching refs:len
57 map.id_cred_x_map_x5chain.id_cred_x_map_x5chain.len = id_len; in id_cred_x_encode()
65 map.id_cred_x_map_x5t.id_cred_x_map_x5t_hash.len = id_len; in id_cred_x_encode()
71 TRY_EXPECT(cbor_encode_id_cred_x_map(id_cred_x->ptr, id_cred_x->len, in id_cred_x_encode()
75 id_cred_x->len = (uint32_t)payload_len_out; in id_cred_x_encode()
87 TRY_EXPECT(cbor_decode_plaintext(ptxt->ptr, ptxt->len, &p, &decode_len), in plaintext_split()
94 TRY(_memcpy_s(c_r->ptr, c_r->len, in plaintext_split()
97 .plaintext_C_R_bstr.len)); in plaintext_split()
98 c_r->len = in plaintext_split()
99 (uint32_t)p.plaintext_C_R.plaintext_C_R_bstr.len; in plaintext_split()
118 .map_x5chain.map_x5chain.len, in plaintext_split()
130 .map_x5t_hash.len, in plaintext_split()
141 (uint32_t)p.plaintext_ID_CRED_x_bstr.len, in plaintext_split()
149 TRY(_memcpy_s(sign_or_mac->ptr, sign_or_mac->len, in plaintext_split()
151 (uint32_t)p.plaintext_SGN_or_MAC_x.len)); in plaintext_split()
152 sign_or_mac->len = (uint32_t)p.plaintext_SGN_or_MAC_x.len; in plaintext_split()
155 TRY(_memcpy_s(ad->ptr, ad->len, p.plaintext_AD_x.value, in plaintext_split()
156 (uint32_t)p.plaintext_AD_x.len)); in plaintext_split()
157 ad->len = (uint32_t)p.plaintext_AD_x.len; in plaintext_split()
159 if (ad->len) { in plaintext_split()
160 ad->len = 0; in plaintext_split()