diff options
Diffstat (limited to 'userspace/ncrypto.h')
-rw-r--r-- | userspace/ncrypto.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/userspace/ncrypto.h b/userspace/ncrypto.h index 6f75de8..cc30f2f 100644 --- a/userspace/ncrypto.h +++ b/userspace/ncrypto.h @@ -46,7 +46,7 @@ int ncr_masterkey_set(void *key, size_t key_size); int ncr_key_params_init(ncr_key_params_t *key_params); void ncr_key_params_deinit(ncr_key_params_t key_params); int ncr_key_params_set_cipher_iv(ncr_key_params_t key_params, void* iv, unsigned int iv_size); -int ncr_key_params_set_dh_key(ncr_key_params_t key_params, ncr_key_t dh_priv); +int ncr_key_params_set_dh_pub(ncr_key_params_t params, void *pub, size_t pub_size); int ncr_session_once_key_data(ncr_key_t key, ncr_key_params_t params, ncr_crypto_op_t op, ncr_algorithm_t algorithm, ncr_key_t input, void *output, size_t output_size); int ncr_session_once_direct_data(ncr_key_t key, ncr_key_params_t params, ncr_crypto_op_t op, ncr_algorithm_t algorithm, void *input, size_t input_size, void *output, size_t output_size); |