-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedhoc.cddl
More file actions
65 lines (51 loc) · 761 Bytes
/
Copy pathedhoc.cddl
File metadata and controls
65 lines (51 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
map = #5
id_conn = bstr / -24..23
id_cred = map / bstr / -24..23
suites = [ 2* int ] / int
ead = (
ead_label : int,
? ead_value : bstr,
)
EAD_1 = (1* ead)
EAD_2 = (1* ead)
EAD_3 = (1* ead)
EAD_4 = (1* ead)
message_1 = (
METHOD : int,
SUITES_I : suites,
G_X : bstr,
C_I : id_conn,
? EAD_1,
)
message_2 = (
G_Y_CIPHERTEXT_2 : bstr,
)
PLAINTEXT_2 = (
C_R: id_conn,
ID_CRED_R : id_cred,
Signature_or_MAC_2 : bstr,
? EAD_2,
)
message_3 = (
CIPHERTEXT_3 : bstr,
)
PLAINTEXT_3 = (
ID_CRED_I : id_cred,
Signature_or_MAC_3 : bstr,
? EAD_3,
)
message_4 = (
CIPHERTEXT_4 : bstr,
)
PLAINTEXT_4 = (
? EAD_4,
)
error = (
ERR_CODE : int,
ERR_INFO : any,
)
info = (
info_label : int,
context : bstr,
length : uint,
)