I'm about to need to refer to it from a source file that won't necessarily always be linked against sshpubk.c, so it needs to live somewhere less specialist. Now it sits alongside base64_encode_atom (already in misc.c for another reason), which is neater anyway.