summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-05-11 08:57:33 (GMT)
committerWerner Koch <wk@gnupg.org>2011-05-11 08:57:33 (GMT)
commit16c460cb9309b4151928ee8b510e3d19a8f2bf80 (patch)
treea5cbdef034aee4db9f8d49781b9710150e0a8ecb
parent51311ecf5d7e372b36d1bebd0e3ee7f999d3d608 (diff)
downloadlibgcrypt-16c460cb9309b4151928ee8b510e3d19a8f2bf80.tar.gz
libgcrypt-16c460cb9309b4151928ee8b510e3d19a8f2bf80.tar.xz
Add missing ChangeLogs
-rw-r--r--NEWS4
-rw-r--r--cipher/ChangeLog14
-rw-r--r--src/ChangeLog6
-rw-r--r--tests/ChangeLog7
4 files changed, 31 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index b8d50e5..6657d76 100644
--- a/NEWS
+++ b/NEWS
@@ -8,6 +8,8 @@ Noteworthy changes in version 1.5.x (unreleased)
* Support ECDH.
+ * Support OAEP.
+
* gcry_sexp_build does now support opaque MPIs with "%m".
* New functions gcry_pk_get_curve and gcry_pk_get_param to map ECC
@@ -52,6 +54,8 @@ Noteworthy changes in version 1.5.x (unreleased)
gcry_pk_get_param NEW.
GCRYCTL_DISABLE_HWF NEW.
gcry_kdf_derive NEW.
+ gcry_pk_encrypt EXTENDED: Support OAEP
+ gcry_pk_decrypt EXTENDED: Support OAEP
* Interface changes relative to the 1.4.2 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff --git a/cipher/ChangeLog b/cipher/ChangeLog
index fb05141..2ddd968 100644
--- a/cipher/ChangeLog
+++ b/cipher/ChangeLog
@@ -1,3 +1,17 @@
+2011-05-11 Daiki Ueno <ueno@unixuser.org>
+
+ * pubkey.c (sexp_data_to_mpi): Factor some code out to ...
+ (get_hash_algo): .. new.
+ (mgf1, oaep_encode, oaep_decode): New.
+ (sexp_to_enc): Add arg CTX. Remove arg RET_WANT_PKCS1. Support
+ OAEP.
+ (sexp_data_to_mpi): Add arg CTX. Support OAEP.
+ (gcry_pk_encrypt): Pass a CTX to sexp_data_to_mpi.
+ (gcry_pk_decrypt): Pass a CTX tp sexp_to_enc and replace
+ WANT_PKCS1. Implement unpadding for OAEP.
+ (gcry_pk_sign): Pass NULL for CTX arg of sexp_data_to_mpi.
+ (gcry_pk_verify): Ditto.
+
2011-04-19 Werner Koch <wk@g10code.com>
* cipher.c (gcry_cipher_open): Replace gpg_err_code_from_errno by
diff --git a/src/ChangeLog b/src/ChangeLog
index 2907e85..c95877f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-11 Daiki Ueno <ueno@unixuser.org>
+
+ * cipher.h (PUBKEY_FLAG_UNPAD): New.
+ (enum pk_encoding): New.
+ (struct pk_encoding_ctx): New.
+
2011-04-19 Werner Koch <wk@g10code.com>
* stdmem.c (_gcry_private_malloc_secure, _gcry_private_malloc):
diff --git a/tests/ChangeLog b/tests/ChangeLog
index ccaf3bd..4687577 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,3 +1,10 @@
+2011-05-11 Daiki Ueno <ueno@unixuser.org>
+
+ * basic.c (check_pubkey_sign): Add an OAEP flag parsing test case.
+ (check_pubkey_crypt): New.
+ (do_check_one_pubkey): Call it.
+ (check_one_pubkey): Free SKEY and PKEY.
+
2011-04-11 Werner Koch <wk@g10code.com>
* basic.c (mismatch): New.