You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crypto_kdf_derive_from_key takes const unsigned char key[crypto_kdf_KEYBYTES] as a last argument, where crypto_kdf_KEYBYTES = 32. So this call only uses first 32 bytes from secret (which is 96 or 128 bytes long, when called from - [IRTripleDHService sharedKeyFromReceiverIdentityKey:receiverSignedPreKey:receiverEphemeralKey:]), turning this code into a single DH implementation
The text was updated successfully, but these errors were encountered:
nuntius/nuntius/IREncryptionService.m
Line 183 in 6184ab8
crypto_kdf_derive_from_key
takesconst unsigned char key[crypto_kdf_KEYBYTES]
as a last argument, wherecrypto_kdf_KEYBYTES
= 32. So this call only uses first 32 bytes fromsecret
(which is 96 or 128 bytes long, when called from- [IRTripleDHService
sharedKeyFromReceiverIdentityKey:receiverSignedPreKey:receiverEphemeralKey:]), turning this code into a single DH implementationThe text was updated successfully, but these errors were encountered: