Cryptographic Libraries
developer.apple.com
developer.apple.com
Apple's crypto people definitely know that assembly is key in performance and side-channel resistance of cryptographic implementations. They use it constantly. I guess at some point they will just ask 3rd party devs to call corecrypto methods if they want to use encryption in Bitcode apps.
But this means that you'll have to wait for Apple to implement whatever primitive you need for your app. Good enough in most cases but encryption apps with special needs will find this annoying.
Don't write crypto for watches, is what I think.
I don't really understand the point of not just publishing it under a regular open source license, since it's hardly some big competitive advantage for Apple when there are plenty of other libraries to do the same thing.
Still, nice to be able to audit it.
That's why people use the GPL.
I wouldn't hand over disk encryption keys to Apple no matter how much I trusted them, purely because they're in a form where Apple could access them without my intervention, and they could conceivably be legally forced to hand over those keys by some government entity in the future.
Apple's argument against decrypting iOS devices hinges on the fact that they don't retain those keys, and therefore can't decrypt them for the government.
FileVault 2 recovery key escrow is also completely optional-- you don't have to send a key to Apple at all.
> Apple grants you, for a period of ninety days from the date you downloaded the Apple Software, a limited, non-exclusive, non-licensable license under Apple's copyrights in the Apple Software to make a reasonable number of copies of, compile and run the Apple Software internally within your organization only on devices and computers you own or control for the sole purpose of verifying the security characteristics and correct functioning of the Apple Software;...
In that case you shouldn't have said they did in the title.
We changed the title from "Apple open-sources cryptography library (limited, see license)". If there's an issue with the license, by all means point this out, but please use a comment in the thread to do so. Using the story title to point out what you think is the most important bit breaks the HN rule against editorializing.