Closed alistair23 closed 11 months ago
This is super cool! It'll take some time to review, so please ping me on slack or similar if I fall behind!
Haven't had time to look at this again. Just letting you know I haven't forgotten! I'm hoping to get to it this week maybe.
Rebased
Ping!
Ping
Ping!
Ping!
Closing as this appears unmaintained
This PR focuses on initial support for the AC-RoT.
In terms of responding to requests the AC-RoT is pretty much identical to the PA-RoT responding to requests. To allow us to reuse the code this PR splits out the
process_request()
function into a trait and then has a genericRoT
struct that is used by both AC-RoT and PA-RoT. As Rust doesn't have inheritance this ends up being the simplest way that I could think of to handle this.This way in the future the AC-RoT and PA-RoT can have specific functions added (for example
send_request()
) and also add new traits to extend shared functionality.