summaryrefslogtreecommitdiffstats
path: root/ncr-int.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-25 03:35:07 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-25 03:36:27 +0200
commit6cf55ca05f1e6277dd6d4a5e90ad344988b77d0d (patch)
tree67a00ca982509c396de546216637cccaf3efa24b /ncr-int.h
parentd35dc8f2ba10288b5bb369278585cd12d68a3fb3 (diff)
downloadcryptodev-linux-6cf55ca05f1e6277dd6d4a5e90ad344988b77d0d.tar.gz
cryptodev-linux-6cf55ca05f1e6277dd6d4a5e90ad344988b77d0d.tar.xz
cryptodev-linux-6cf55ca05f1e6277dd6d4a5e90ad344988b77d0d.zip
Move session_item_st definition to ncr-sessions.c
It is not used anywhere else.
Diffstat (limited to 'ncr-int.h')
-rw-r--r--ncr-int.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/ncr-int.h b/ncr-int.h
index 0b28be5..a6b3739 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -56,32 +56,6 @@ struct algo_properties_st {
ncr_key_type_t key_type;
};
-struct session_item_st {
- const struct algo_properties_st *algorithm;
- ncr_crypto_op_t op;
-
- /* contexts for various options.
- * simpler to have them like that than
- * in a union.
- */
- struct cipher_data cipher;
- struct ncr_pk_ctx pk;
- struct hash_data hash;
-
- struct scatterlist *sg;
- struct page **pages;
- unsigned array_size;
- unsigned available_pages;
- struct mutex mem_mutex; /* down when the
- * values above are changed.
- */
-
- struct key_item_st* key;
-
- atomic_t refcnt;
- ncr_session_t desc;
-};
-
struct key_item_st {
/* This object is also not protected from concurrent access.
*/