-
Notifications
You must be signed in to change notification settings - Fork 20
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
Additional parameters to use in DEM? #43
Comments
No, I don't think it's necessary, particularly the salt parameter is not useful for us (we never start with low-entropy input). rust-umbral/umbral-pre/src/dem.rs Line 33 in 128eb0c
I think that's fine. BTW, a side note:
I think we can/should remove this from Umbral anyway (@tuxxy wdyt?) |
Ok, so no HKDF info for
It is currently removed (it was in at some point, but I did remove it after our discussion) |
|
Great, I guess I can close it then. TODOs to be removed along with other RFCs in #41 |
Our implementation of DEM takes additional parameters in several places:
kdf()
) takessalt
andinfo
DEM
) takesaad
(additional authenticated data)We use DEM in two places:
SecretKey
during serialization. We setinfo
there to a predefined tag.encrypt()
(being added in Interfacing with Python #41). We use the serializedCapsule
asaad
.Do we need to use other parameters too in these cases? @cygnusv , @tuxxy
The text was updated successfully, but these errors were encountered: