News for hackers. Stuff that matters.
Re:Don’t Rush Quantum-Proof Encryption, Warns NSA Research D... by debatem1 on Monday November 25, 2019 @12:08PM (#21630202)
Hmm? With CTR you usually just want to fill a long buffer with the appropriate counters and then shove it all through the accelerator. The resulting stream can then be used until exhausted by whatever higher level primitive you're working with. Obviously there's a trade-off in sizing the buffer correctly, but dozens of blocks would be more typical than one.
Re:Don’t Rush Quantum-Proof Encryption, Warns NSA Research D... by anon4242 on Monday November 25, 2019 @07:59PM (#21634715)
Yes, and that is what I said in my very first post in this thread. Still you need to handle the counters in SW, do the XORs in SW (unless you have some HW that does that for you as well) and then if you want CCM you need to solve CBCMAC (maybe you have CBC in HW but then there's the memory trade-off again). If you want GCM you need to do BigInt muls (Cortex-M MCUs do not support 128 bit muls). So either way you end up doing pretty substantial parts of it in SW which limits the usability.