News for hackers. Stuff that matters.
Re:How to decrypt WhatsApp end-to-end media files by benmmurphy on Monday February 03, 2020 @06:20AM (#22223206)
For the whatsapp encryption scheme because the IV is fixed per a media key is there any reason not just to set it all to zeros or a fixed value instead of using the KDF to derive it.
Re:How to decrypt WhatsApp end-to-end media files by dfox on Monday February 03, 2020 @07:08AM (#22223464)
There is no technicqal reason for using unique IVs in this case. But it does not hurt and looks better in security audits.

Edit: there is also an line of reasoning that you should not needlessly expose cryptographic primitives to "non-random"/"structured" inputs as a defense in depth against attacks on such primitives. But when that matters it simply means that the primitive is broken and should not be used (or at least should not be used in that particular way, eg. TEA as hash function in original Xbox firmware).