Searched refs:map (Results 1 – 6 of 6) sorted by relevance
/uoscore-uedhoc-3.7.0/src/edhoc/ |
D | retrieve_cred.c | 152 struct id_cred_x_map map = { 0 }; in retrieve_cred() local 154 TRY_EXPECT(cbor_decode_id_cred_x_map(id_cred->ptr, id_cred->len, &map, in retrieve_cred() 159 if (map.id_cred_x_map_kid_present || map.id_cred_x_map_x5u_present || in retrieve_cred() 160 map.id_cred_x_map_x5t_present || map.id_cred_x_map_c5u_present || in retrieve_cred() 161 map.id_cred_x_map_c5t_present) { in retrieve_cred() 167 else if (map.id_cred_x_map_x5chain_present) { in retrieve_cred() 169 map.id_cred_x_map_x5chain.id_cred_x_map_x5chain.value, in retrieve_cred() 170 (uint32_t)map.id_cred_x_map_x5chain in retrieve_cred() 178 else if (map.id_cred_x_map_x5bag_present) { in retrieve_cred() 180 map.id_cred_x_map_x5bag.id_cred_x_map_x5bag.value, in retrieve_cred() [all …]
|
D | plaintext_decode.c | 42 struct id_cred_x_map map = { 0 }; in id_cred_x_encode() local 48 map.id_cred_x_map_kid_present = true; in id_cred_x_encode() 49 map.id_cred_x_map_kid.id_cred_x_map_kid_choice = in id_cred_x_encode() 51 map.id_cred_x_map_kid.id_cred_x_map_kid_int = in id_cred_x_encode() 55 map.id_cred_x_map_x5chain_present = true; in id_cred_x_encode() 56 map.id_cred_x_map_x5chain.id_cred_x_map_x5chain.value = id; in id_cred_x_encode() 57 map.id_cred_x_map_x5chain.id_cred_x_map_x5chain.len = id_len; in id_cred_x_encode() 60 map.id_cred_x_map_x5t_present = true; in id_cred_x_encode() 61 map.id_cred_x_map_x5t.id_cred_x_map_x5t_alg_choice = in id_cred_x_encode() 63 map.id_cred_x_map_x5t.id_cred_x_map_x5t_alg_int = algo; in id_cred_x_encode() [all …]
|
D | plaintext_encode.c | 28 struct id_cred_x_map map = { 0 }; in id_cred2kid() local 31 TRY_EXPECT(cbor_decode_id_cred_x_map(id_cred->ptr, id_cred->len, &map, in id_cred2kid() 35 if (map.id_cred_x_map_kid_present) { in id_cred2kid() 39 &map.id_cred_x_map_kid.id_cred_x_map_kid_int, in id_cred2kid()
|
/uoscore-uedhoc-3.7.0/inc/cbor/ |
D | edhoc_decode_plaintext_types.h | 98 struct map { struct 123 struct map plaintext_ID_CRED_x_map_m;
|
/uoscore-uedhoc-3.7.0/cddl_models/ |
D | edhoc_plaintext.cddl | 12 plaintext = ( ? C_R: int / bstr, ID_CRED_x: map / bstr / int, SGN_or_MAC_x: bstr, ? AD_x: bstr) 15 map = { 29 ;map and id_cred_x_map are identical.
|
/uoscore-uedhoc-3.7.0/src/cbor/ |
D | edhoc_decode_plaintext.c | 29 static bool decode_map(zcbor_state_t *state, struct map *result); 223 zcbor_state_t *state, struct map *result) in decode_map()
|