summaryrefslogtreecommitdiffstats
path: root/ncr.h
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-08-27 08:31:36 +0200
committerMiloslav Trmač <mitr@redhat.com>2010-08-27 08:38:20 +0200
commit387d5847ee502cdb03bbf5771575438ddebf2624 (patch)
tree3d2b90305d35ece095d7c9567c0ea30c1e853fbc /ncr.h
parent5ec167e240a8002bba3cc37e22553c888c7d4133 (diff)
downloadkernel-crypto-387d5847ee502cdb03bbf5771575438ddebf2624.tar.gz
kernel-crypto-387d5847ee502cdb03bbf5771575438ddebf2624.tar.xz
kernel-crypto-387d5847ee502cdb03bbf5771575438ddebf2624.zip
Implement PK signatures with transparent hashes
Diffstat (limited to 'ncr.h')
-rw-r--r--ncr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ncr.h b/ncr.h
index 47981d1ffd6..e4863564694 100644
--- a/ncr.h
+++ b/ncr.h
@@ -68,6 +68,10 @@ enum {
#define NCR_CIPHER_MAX_BLOCK_LEN 32
#define NCR_HASH_MAX_OUTPUT_SIZE 64
+/* Better names wanted */
+#define NCR_ALG_DSA_TRANSPARENT_HASH "__dsa_transparent_hash"
+#define NCR_ALG_RSA_TRANSPARENT_HASH "__rsa_transparent_hash"
+
#define NCR_WALG_AES_RFC3394 "walg-aes-rfc3394" /* for secret keys only */
#define NCR_WALG_AES_RFC5649 "walg-aes-rfc5649" /* can wrap arbitrary key */