repo.or.cz
/
tor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update geoip files to match ipfire location db, 2023/07/12.
[tor.git]
/
src
/
trunnel
/
pwbox.trunnel
blob
10db74b4e5a11dec3543c4dc63b4c0c35a655f78
1
2
const PWBOX0_CONST0 = 0x544f5242; // TORB
3
const PWBOX0_CONST1 = 0x4f583030; // OX00
4
5
struct pwbox_encoded {
6
u32 fixedbytes0 IN [PWBOX0_CONST0];
7
u32 fixedbytes1 IN [PWBOX0_CONST1];
8
u8 header_len;
9
u8 skey_header[header_len];
10
u8 iv[16];
11
u8 data[..-32];
12
u8 hmac[32];
13
};
14