summaryrefslogtreecommitdiffstats
path: root/ncr-int.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-27 09:02:55 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-27 09:02:55 +0200
commitdd5317620d70e6b438e40370163257e47ca385a3 (patch)
treef195a8cb4aa2ff6fbb5a51e0e6c13df1968401b6 /ncr-int.h
parentc9c3bf34c8f7c12c0d961bf7c0beb13ad5b24950 (diff)
parentbf6a75c801ece98f608df29df3846033d22f28d7 (diff)
downloadcryptodev-linux-dd5317620d70e6b438e40370163257e47ca385a3.tar.gz
cryptodev-linux-dd5317620d70e6b438e40370163257e47ca385a3.tar.xz
cryptodev-linux-dd5317620d70e6b438e40370163257e47ca385a3.zip
Merge branch 'pk-transparent-hash'
Conflicts: ncr-int.h
Diffstat (limited to 'ncr-int.h')
-rw-r--r--ncr-int.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ncr-int.h b/ncr-int.h
index a6b3739..87964b0 100644
--- a/ncr-int.h
+++ b/ncr-int.h
@@ -18,7 +18,8 @@
struct nlattr;
struct ncr_out;
-// Not all known algorithms - only for quick internal identification
+// Not all known algorithms - only for quick internal identification. Note
+// that more than one struct algo_properties_st may share the same enum value!
enum ncr_algorithm {
NCR_ALG_NONE__,
NCR_ALG_NULL,
@@ -49,6 +50,7 @@ struct algo_properties_st {
unsigned can_kx:1; /* key exchange */
unsigned is_symmetric:1;
unsigned is_pk:1;
+ unsigned has_transparent_hash:1;
int digest_size;
/* NCR_KEY_TYPE_SECRET if for a secret key algorithm or MAC,
* NCR_KEY_TYPE_PUBLIC for a public key algorithm.