From 83de6993af1bb4493c0cc797fc9a69fb9e55a842 Mon Sep 17 00:00:00 2001 From: Jim Rees Date: Mon, 25 Jun 2001 20:03:27 +0000 Subject: add Cyberflex public key loading function --- lib/libsectok/sectok.h | 7 +++++-- 1 file 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 -- cgit v1.2.3