diff options
author | Jim Rees <rees@cvs.openbsd.org> | 2001-06-25 20:03:27 +0000 |
---|---|---|
committer | Jim Rees <rees@cvs.openbsd.org> | 2001-06-25 20:03:27 +0000 |
commit | 83de6993af1bb4493c0cc797fc9a69fb9e55a842 (patch) | |
tree | 44b58c623bc08bdc076f04d0cf5e1ea87b07aab5 | |
parent | a458999197307b1f8aef0fc77e3dc6bbf9ef91be (diff) |
add Cyberflex public key loading function
-rw-r--r-- | lib/libsectok/sectok.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libsectok/sectok.h b/lib/libsectok/sectok.h index 27ad10c0c53..542689730f9 100644 --- a/lib/libsectok/sectok.h +++ b/lib/libsectok/sectok.h @@ -1,4 +1,4 @@ -/* $Id: sectok.h,v 1.4 2001/06/25 19:59:38 rees Exp $ */ +/* $Id: sectok.h,v 1.5 2001/06/25 20:03:26 rees Exp $ */ /* copyright 1997, 2000 @@ -121,7 +121,10 @@ void sectok_fmt_fid(char *fname, int f0, int f1); int sectok_selectfile(int fd, int cla, unsigned char *fid, int verbose); /* Cyberflex */ -int cyberflex_load_rsa_priv(int fd, int cla, unsigned char *key_fid, int nkey_elems, int keylen, unsigned char *key_elems[]); +int cyberflex_load_rsa_pub(int fd, int cla, unsigned char *key_fid, + int key_len, unsigned char *key_data); +int cyberflex_load_rsa_priv(int fd, int cla, unsigned char *key_fid, + int nkey_elems, int keylen, unsigned char *key_elems[]); /* SCPERF - performance evaluation */ #ifdef SCPERF |