key generation in ipt manager
The IPT manager generates the key material for introduction points. Specifically:
-
K_hs_ipt_sid
, which isIpt.k_sid
inipt_mgr.rs
(l.204 approx) -
K_hss_ntor
, which isIpt.k_hss_ntor
.
These are generated in ipt_mgr.rs
in make_new_ipt
, near l.370.
Currently:
-
k_sid
istor_hscrypto::pk::HsIntroPtSessionIdKeypair
which I think is the right type. -
k_hss_ntor
is a dummystruct NtorKeyPair
which exists inipt_mgr.rs
and is covered in TODO HSS.
@nickm, I'd appreciate it if you'd:
- Confirm that
k_sid
is the right type - Tell me what you think ought to be done about
k_hss_ntor
(in particular, what type ought to be used instead).
If you felt like it, you'd be very welcome to fix things by (1) if applicable changing the type of k_sid
(2) deleting ipt_mgr::NtorKeyPair
and replacing it with whatever it ought to be. I don't think that's likely to conflict with other stuff I'm doing in this file.