-
Notifications
You must be signed in to change notification settings - Fork 191
Closed
Labels
enhancementImprovement over something already in the projectImprovement over something already in the project
Description
A quick peak at the ascon implementation suggests that the cipher is unsafe to use across go routines:
Line 178 in 278354d
| a.s[0] = ((kS * 8) << 56) | ((bcs * 8) << 48) | (permA << 40) | (pB << 32) | a.key[0] |
I believe the general intent is for a cipher.AEAD to be safely reusable across go routines to avoid the setup cost.
Either way, it would be good to at least document.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementImprovement over something already in the projectImprovement over something already in the project