Improving Ben's GCD impl and adding support for Apple's CommonCrypto to my own.