diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-12 18:44:36 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-24 22:56:23 +0200 |
commit | b327f41fefe390d6db4832fe44f3cf37d86514c0 (patch) | |
tree | 1067f76eaea1d2e903ef84ecfd5ccb5caf626e8d /ncr-pk.h | |
parent | 2c51dc1a549816a34cb78230bf656537ecd21961 (diff) | |
download | kernel-crypto-b327f41fefe390d6db4832fe44f3cf37d86514c0.tar.gz kernel-crypto-b327f41fefe390d6db4832fe44f3cf37d86514c0.tar.xz kernel-crypto-b327f41fefe390d6db4832fe44f3cf37d86514c0.zip |
Convert *_KEY_GENERATE_PAIR
Diffstat (limited to 'ncr-pk.h')
-rw-r--r-- | ncr-pk.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -3,6 +3,8 @@ #include <tomcrypt.h> +struct nlattr; + struct ncr_pk_ctx { const struct algo_properties_st *algorithm; /* algorithm */ @@ -19,8 +21,7 @@ struct ncr_pk_ctx { /* PK */ void ncr_pk_clear(struct key_item_st* key); -int ncr_pk_generate(const struct algo_properties_st *algo, - struct ncr_key_generate_params_st * params, +int ncr_pk_generate(const struct algo_properties_st *algo, struct nlattr *tb[], struct key_item_st* private, struct key_item_st* public); int ncr_pk_pack( const struct key_item_st * key, uint8_t * packed, uint32_t * packed_size); int ncr_pk_unpack( struct key_item_st * key, const void * packed, size_t packed_size); |