summaryrefslogtreecommitdiff
path: root/crypto/openssh/authfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/authfile.h')
-rw-r--r--crypto/openssh/authfile.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/crypto/openssh/authfile.h b/crypto/openssh/authfile.h
deleted file mode 100644
index afec27d5433e2..0000000000000
--- a/crypto/openssh/authfile.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#ifndef AUTHFILE_H
-#define AUTHFILE_H
-
-/*
- * Saves the authentication (private) key in a file, encrypting it with
- * passphrase.
- * For RSA keys: The identification of the file (lowest 64 bits of n)
- * will precede the key to provide identification of the key without
- * needing a passphrase.
- */
-int
-save_private_key(const char *filename, const char *passphrase,
- Key * private_key, const char *comment);
-
-/*
- * Loads the public part of the key file (public key and comment). Returns 0
- * if an error occurred; zero if the public key was successfully read. The
- * comment of the key is returned in comment_return if it is non-NULL; the
- * caller must free the value with xfree.
- */
-int
-load_public_key(const char *filename, Key * pub,
- char **comment_return);
-
-/*
- * Loads the private key from the file. Returns 0 if an error is encountered
- * (file does not exist or is not readable, or passphrase is bad). This
- * initializes the private key. The comment of the key is returned in
- * comment_return if it is non-NULL; the caller must free the value with
- * xfree.
- */
-int
-load_private_key(const char *filename, const char *passphrase,
- Key * private_key, char **comment_return);
-
-#endif