diff options
author | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 05:20:11 +0200 |
---|---|---|
committer | Miloslav Trmač <mitr@redhat.com> | 2010-08-25 06:04:02 +0200 |
commit | 56895fcb6ada286ee95df0e49076f2785c45a0db (patch) | |
tree | eaf78f5b0c1310ddc053e7a47bb2a41001d5e44e /cryptodev_int.h | |
parent | db7c441175942d3b3c3e6321a9a16dc7e83b747c (diff) | |
download | cryptodev-linux-56895fcb6ada286ee95df0e49076f2785c45a0db.tar.gz cryptodev-linux-56895fcb6ada286ee95df0e49076f2785c45a0db.tar.xz cryptodev-linux-56895fcb6ada286ee95df0e49076f2785c45a0db.zip |
Implement cloning hash sessions
Diffstat (limited to 'cryptodev_int.h')
-rw-r--r-- | cryptodev_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptodev_int.h b/cryptodev_int.h index 573fcaa..4b140ba 100644 --- a/cryptodev_int.h +++ b/cryptodev_int.h @@ -78,5 +78,7 @@ ssize_t _cryptodev_hash_update( struct hash_data* hdata, const void* data, size_ int cryptodev_hash_reset( struct hash_data* hdata); void cryptodev_hash_deinit(struct hash_data* hdata); int cryptodev_hash_init(struct hash_data *hdata, const char *alg_name, const void *mackey, size_t mackeylen); +int cryptodev_hash_clone(struct hash_data *hdata, struct hash_data *old_data, + const void *mackey, size_t mackeylen); #endif /* CRYPTODEV_INT_H */ |