PARA_ERROR(AFS_SHORT_READ, "short read from afs socket"), \
+#define CRYPT_COMMON_ERRORS \
+ PARA_ERROR(SSH_KEY_HEADER, "ssh key header not found"), \
+ PARA_ERROR(BASE64, "failed to base64-decode ssh public key"), \
+ PARA_ERROR(KEY_PERM, "unprotected private key"), \
+
+
#define CRYPT_ERRORS \
PARA_ERROR(PRIVATE_KEY, "can not read private key"), \
PARA_ERROR(PUBLIC_KEY, "can not read public key"), \
PARA_ERROR(ENCRYPT, "encrypt error"), \
PARA_ERROR(DECRYPT, "decrypt error"), \
PARA_ERROR(BLINDING, "failed to activate key blinding"), \
- PARA_ERROR(KEY_PERM, "unprotected private key"), \
+ PARA_ERROR(BIGNUM, "bignum error"), \
#define COMMAND_ERRORS \