4 ms·
A rather minor point but: >[The diversity of cryptographic primitives] contributes to code-size, which is a worry again in the mobile age In the "mobi
by simias 9y ago
A rather minor point but:
>[The diversity of cryptographic primitives] contributes to code-size, which is a worry again in the mobile age
In the "mobile age" we use embedded processors with gigabytes worth of RAM and several times the amount of NAND storage, I don't really think a SHA-3 implementation is going to tip the boat over.
The author's other points seem very fair though.
- agl 9y agoI can confirm that the code size of BoringSSL is something that we worry about for mobile apps. A 50KB increase (which wouldn't be much for an optimised SHA-3) would raise questions. I admit that when I see the 100MB+ size of apps that I have to download, I do wonder why. But I assume that it would be even worse were people not worrying about this stuff.
- Dylan16807 9y ago> A 50KB increase (which wouldn't be much for an optimised SHA-3) would raise questions. Can you elaborate on that? That's orders of magnitude bigger than a naive implementation, and wouldn't fit in L1 cache either.
- mikeash 9y agoThat massive storage is often still using a heavily constrained data connection. Apple, for example, won't let you download an app over 100MB over cellular data. You want to really try to keep your app under that limit, otherwise a lot of potential users will abandon the app if they discover it while they're not on WiFi.
- hdhzy 9y agoI wonder why is that, I had a shared plan (3 numbers) that gave about 99 GB each month and Apple wouldn't let me download a 100 MB game through LTE?
- oconnor663 9y agoPart of the rule might be an incentive for developers to keep size under control.
- smarx007 9y agoI think it's more relevant for the IoT devices, which run or ARM M0/M4 (see http://csrc.nist.gov/groups/ST/lwc-workshop2015/presentations/session7-vincent.pdf http://csrc.nist.gov/groups/ST/lwc-workshop2015/presentation... and https://realtimelogic.com/products/sharkssl/Cortex-M0/ https://realtimelogic.com/products/sharkssl/Cortex-M0/).