Fixed a bug in ES512 when one of the BNs resulted in 65 rather than 66 bytes. Also changed algorithm names to lower-case as it matters for AES/CBC.