summaryrefslogtreecommitdiff
path: root/src/cipher.h
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@unixuser.org>2011-05-23 18:25:16 +0900
committerDaiki Ueno <ueno@unixuser.org>2011-05-25 11:54:36 +0900
commit44393d7959758e5298b0238dca26ff8f17635e6b (patch)
tree327897dbed2761944f870a39218808c424bb2b64 /src/cipher.h
parenteffa502bf5e30ddd9c9862a1b3e9398df61da846 (diff)
downloadlibgcrypt-44393d7959758e5298b0238dca26ff8f17635e6b.tar.gz
Support PSS.
Diffstat (limited to 'src/cipher.h')
-rw-r--r--src/cipher.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cipher.h b/src/cipher.h
index e3a4ce1a..0f923d79 100644
--- a/src/cipher.h
+++ b/src/cipher.h
@@ -41,6 +41,7 @@ enum pk_encoding
PUBKEY_ENC_RAW,
PUBKEY_ENC_PKCS1,
PUBKEY_ENC_OAEP,
+ PUBKEY_ENC_PSS,
PUBKEY_ENC_UNKNOWN
};
@@ -58,6 +59,9 @@ struct pk_encoding_ctx
unsigned char *label;
size_t labellen;
+ /* for PSS */
+ size_t saltlen;
+
int (* verify_cmp) (void *opaque, gcry_mpi_t tmp);
void *verify_arg;
};