Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

64-bit SPIs #8

Open
DemiMarie opened this issue Nov 23, 2022 · 1 comment
Open

64-bit SPIs #8

DemiMarie opened this issue Nov 23, 2022 · 1 comment

Comments

@DemiMarie
Copy link

64-bit SPIs would dramatically simplify implementations, at least inasmuch as they avoid needing premature key rotations.

@hlrichardson
Copy link
Collaborator

That is an interesting point, indeed there is a tradeoff to be made between increasing the header size (which impacts throughput) and rekeying overhead. When a unique SPI is used per connection, the 31-bit space can be exhausted in about a day at a connection rate of about 25K/second, which is entirely possible now and can only be expected to increase over time. On the other hand, periodic key rotation still needs to be supported in order to limit the amount of data encrypted by the same key, so it isn't clear that this would really help simplify implementations.

By the way, this might be a good topic to raise on the PSP discussion group, which has a larger audience than we do here:

https://groups.google.com/g/psp-discuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants