crypto: try uppercase/lowercase ciphers/digests

Some ciphers and digests have both uppercase and lowercase aliases while
others don't.  For example, "SHA", "sha" and "DSA" are all accepted but
"dsa" is not.  To make things a little easier for the user, we try the
original cipher/digest name first, then the uppercase and lowercase
versions.