blob: bdece2e8e7391bcd96539a7dddbbecfb6f7b6228 (
plain)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
set print pretty off
set print repeats unlimited
set print elements unlimited
set breakpoint pending on
break crypto.cpp:273
commands
silent
printf "- hmac_sha256:\n"
printf " key_length: %d\n", key_length
printf " input_length: %d\n", input_length
if key_length > 0
printf " key: "
output/x *key@key_length
printf "\n"
else
printf " key: {}\n"
end
if input_length > 0
printf " input: "
output/x *input@input_length
printf "\n"
else
printf " input: {}\n"
end
cont
end
break crypto.cpp:280
commands
silent
printf " output: "
output/x *output@32
printf "\n"
cont
end
break crypto.cpp:307
commands
silent
set $hkdf_output = output
cont
end
break crypto.cpp:323
commands
silent
printf "- hkdf_sha256:\n"
printf " input_length: %d\n", input_length
printf " salt_length: %d\n", salt_length
printf " info_length: %d\n", info_length
printf " output_length: %d\n", output_length
if input_length > 0
printf " input: "
output/x *input@input_length
printf "\n"
else
printf " input: {}\n"
end
if salt_length > 0
printf " salt: "
output/x *salt@salt_length
printf "\n"
else
printf " salt: {}\n"
end
if info_length > 0
printf " info: "
output/x *info@info_length
printf "\n"
else
printf " info: {}\n"
end
printf " output: "
output/x *$hkdf_output@output_length
printf "\n"
cont
end
break crypto.cpp:156
commands
silent
printf "- curve25519:\n"
printf " public: "
output/x *their_key.public_key@32
printf "\n"
printf " private: "
output/x *our_key.private_key@32
printf "\n"
printf " output: "
output/x *output@32
printf "\n"
cont
end
break crypto.cpp:156
commands
silent
printf "- curve25519:\n"
printf " public: "
output/x *their_key.public_key@32
printf "\n"
printf " private: "
output/x *our_key.private_key@32
printf "\n"
printf " output: "
output/x *output@32
printf "\n"
cont
end
break crypto.cpp:147
commands
silent
printf "- curve25519:\n"
printf " public: "
output/x *CURVE25519_BASEPOINT@32
printf "\n"
printf " private: "
output/x *key_pair.private_key@32
printf "\n"
printf " output: "
output/x *key_pair.public_key@32
printf "\n"
cont
end
run
|