{"push_id":1068449664,"size":10,"distinct_size":0,"ref":"refs/heads/LIBGCRYPT-1-7-BRANCH","head":"eecc081f8ae02c43454abaee4a4f72efaee42745","before":"5e5d3b90e22a3caa6b48af3b5582d800a9fb73ad","commits":[{"sha":"7fbdb99b8c56360adfd1fb4e7f4c95e0f8aa34de","author":{"email":"34feb69f206f6fec69fb4bd79c126fcbde2c8e6a@fsij.org","name":"NIIBE Yutaka"},"message":"ecc: Fix initialization of EC context.\n\n* cipher/ecc.c (test_ecdh_only_keys, ecc_generate)\n(ecc_check_secret_key, ecc_encrypt_raw, ecc_decrypt_raw): Initialize\nby _gcry_mpi_ec_p_internal_new should carry FLAGS.\n\n--\nSigned-off-by: NIIBE Yutaka <gniibe@fsij.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/7fbdb99b8c56360adfd1fb4e7f4c95e0f8aa34de"},{"sha":"ee7e1a0e835f8ffcfbcba2a44abab8632db8fed5","author":{"email":"34feb69f206f6fec69fb4bd79c126fcbde2c8e6a@fsij.org","name":"NIIBE Yutaka"},"message":"ecc: Fix X25519 computation on Curve25519.\n\n* cipher/ecc.c (ecc_encrypt_raw): Tweak of bits when\nPUBKEY_FLAG_DJB_TWEAK is enabled.\n(ecc_decrypt_raw): Return 0 when PUBKEY_FLAG_DJB_TWEAK is enabled.\n* tests/t-cv25519.c (test_cv): Update by using gcry_pk_encrypt.\n\n--\n\nX25519 function is not a plain scalar multiplication, but does\ntwo things; the scalar bits are tweaked before applying scalar\nmultiplication and X0 function is applied to the result of\nscalar multiplication.\n\nIn libgcrypt, _gcry_mpi_ec_mul_point is a plain scalar multiplication\nand those two things are done in functions for ECDH with X25519.\n\nSigned-off-by: NIIBE Yutaka <gniibe@fsij.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/ee7e1a0e835f8ffcfbcba2a44abab8632db8fed5"},{"sha":"b6d2a25a275a35ec4dbd53ecaa9ea0ed7aa99c7b","author":{"email":"13bd1fc5137f503b0a8355ad400e7a87ebb45b25@gnupg.org","name":"Werner Koch"},"message":"cipher: Buffer data from gcry_cipher_authenticate in OCB mode.\n\n* cipher/cipher-internal.h (gcry_cipher_handle): Add fields\naad_leftover and aad_nleftover to u_mode.ocb.\n* cipher/cipher-ocb.c (_gcry_cipher_ocb_set_nonce): Clear\naad_nleftover.\n(_gcry_cipher_ocb_authenticate): Add buffering and facor some code out\nto ...\n(ocb_aad_finalize): new.\n(compute_tag_if_needed): Call new function.\n* tests/basic.c (check_ocb_cipher_splitaad): New.\n(check_ocb_cipher): Call new function.\n(main): Also call check_cipher_modes with --ciper-modes.\n--\n\nIt is more convenient to not require full blocks for\ngcry_cipher_authenticate.  Other modes than OCB do this as well.\n\nNote that the size of the context structure is not increased because\nother modes require more context data.\n\nSigned-off-by: Werner Koch <wk@gnupg.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/b6d2a25a275a35ec4dbd53ecaa9ea0ed7aa99c7b"},{"sha":"8472b71812e71c69d66e2fcc02a6e21b66755f8b","author":{"email":"34feb69f206f6fec69fb4bd79c126fcbde2c8e6a@fsij.org","name":"NIIBE Yutaka"},"message":"ecc: Fix corner cases for X25519.\n\n* cipher/ecc.c (ecc_encrypt_raw): For invalid input, returns\nGPG_ERR_INV_DATA instead of aborting with log_fatal.  For X25519,\nit's not an error, thus, let it return 0.\n(ecc_decrypt_raw): Use the flag PUBKEY_FLAG_DJB_TWEAK to distinguish\nX25519, not by the name of the curve.\n(ecc_decrypt_raw): For invalid input, returns GPG_ERR_INV_DATA instead\nof aborting with log_fatal.  For X25519, it's not an error by its\ndefinition, but we deliberately let it return the error to detect\nlooks-like-encrypted-message.\n* tests/t-cv25519.c: Add points to record the issue.\n\n--\n\nFor X25519 ECDH, this change introduces incompatibility to\ncrypto_scalarmult with the input which makes shared secret to be 0.\nFor crypto_scalarmult, the result is 0.  In libgcrypt, it's an error\nof GPG_ERR_INV_DATA (we consider the input is invalid).\n\nSigned-off-by: NIIBE Yutaka <gniibe@fsij.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/8472b71812e71c69d66e2fcc02a6e21b66755f8b"},{"sha":"88c6b98350193abbdcfb227754979b0c097ee09c","author":{"email":"13bd1fc5137f503b0a8355ad400e7a87ebb45b25@gnupg.org","name":"Werner Koch"},"message":"tests: Add a new test for S-expressions.\n\n* tests/t-sexp.c (compare_to_canon): New.\n(back_and_forth_one): Add another test.\n--\n\nSigned-off-by: Werner Koch <wk@gnupg.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/88c6b98350193abbdcfb227754979b0c097ee09c"},{"sha":"47c6a1f88eb763e9baa394e34d873b761abcebbe","author":{"email":"13bd1fc5137f503b0a8355ad400e7a87ebb45b25@gnupg.org","name":"Werner Koch"},"message":"cipher: Add constant for 8 bit CFB mode.\n\n* src/gcrypt.h.in (GCRY_CIPHER_MODE_CFB8): New.\n* tests/basic.c (check_cfb_cipher): Prepare for CFB-8 tests.\n--\n\nNote that there is no implementation for the 8 bit CFB mode yet.  We\nwill add that as a bug fix after the release of 1.7.0.\n\nSigned-off-by: Werner Koch <wk@gnupg.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/47c6a1f88eb763e9baa394e34d873b761abcebbe"},{"sha":"491586bc7f7b9edc6b78331a77e653543983c9e4","author":{"email":"4d1bd7a5ca1cd26bee0df05b6801a6ce9a22196e@g10code.com","name":"Justus Winter"},"message":"src: Improve S-expression parsing.\n\n* src/sexp.c (do_vsexp_sscan): Return an error if a closing\nparenthesis is encountered with no matching opening parenthesis.\n\nSigned-off-by: Justus Winter <justus@g10code.com>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/491586bc7f7b9edc6b78331a77e653543983c9e4"},{"sha":"1737c546dc7268fa9edcd4a23b7439c56d37ee4f","author":{"email":"13bd1fc5137f503b0a8355ad400e7a87ebb45b25@gnupg.org","name":"Werner Koch"},"message":"tests: Add test vectors for 256 GiB test of SHA3-256.\n\n* tests/hashtest.c: Add new test vectros.\n\nSigned-off-by: Werner Koch <wk@gnupg.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/1737c546dc7268fa9edcd4a23b7439c56d37ee4f"},{"sha":"795f9cb090c776658a0e3117996e3fb7e2ebd94a","author":{"email":"13bd1fc5137f503b0a8355ad400e7a87ebb45b25@gnupg.org","name":"Werner Koch"},"message":"Release 1.7.0\n\nSigned-off-by: Werner Koch <wk@gnupg.org>","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/795f9cb090c776658a0e3117996e3fb7e2ebd94a"},{"sha":"eecc081f8ae02c43454abaee4a4f72efaee42745","author":{"email":"13bd1fc5137f503b0a8355ad400e7a87ebb45b25@gnupg.org","name":"Werner Koch"},"message":"Post release updates.\n\n--","distinct":false,"url":"https://api.github.com/repos/gpg/libgcrypt/commits/eecc081f8ae02c43454abaee4a4f72efaee42745"}]}