summaryrefslogtreecommitdiffstats
path: root/ncr-pk.h
diff options
context:
space:
mode:
Diffstat (limited to 'ncr-pk.h')
-rw-r--r--ncr-pk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ncr-pk.h b/ncr-pk.h
index 1180017..0bf2745 100644
--- a/ncr-pk.h
+++ b/ncr-pk.h
@@ -4,7 +4,7 @@
#include <tomcrypt.h>
struct ncr_pk_ctx {
- ncr_algorithm_t algorithm; /* algorithm */
+ const struct algo_properties_st *algorithm; /* algorithm */
ncr_algorithm_t sign_hash; /* for verification */
@@ -30,7 +30,7 @@ int ncr_pk_queue_init(void);
void ncr_pk_queue_deinit(void);
/* encryption/decryption */
-int ncr_pk_cipher_init(ncr_algorithm_t algo,
+int ncr_pk_cipher_init(const struct algo_properties_st *algo,
struct ncr_pk_ctx* ctx, struct ncr_key_params_st* params,
struct key_item_st *key);
void ncr_pk_cipher_deinit(struct ncr_pk_ctx* ctx);