12011-12-01 Werner Koch <wk@g10code.com> 2 3 NB: ChangeLog files are no longer manually maintained. Starting 4 on December 1st, 2011 we put change information only in the GIT 5 commit log, and generate a top-level ChangeLog file from logs at 6 "make dist". See doc/HACKING for details. 7 82011-07-04 Werner Koch <wk@g10code.com> 9 10 * longlong.h (add_ssaaaa) [__arm__]: Do no use asm if thumb code 11 generation is enabled. This is bug#1202. Reported for gpg 1.4. 12 132011-03-28 Werner Koch <wk@g10code.com> 14 15 * mpi-pow.c (gcry_mpi_powm): Remove unused var RSEC. 16 172011-02-01 Werner Koch <wk@g10code.com> 18 19 * mpi-cmp.c (gcry_mpi_cmp): Allow comparing of opaque MPIs. 20 212010-04-12 Brad Hards <bradh@frogmouth.net> (wk) 22 23 Spelling fixes. 24 252010-02-22 Aurelien Jarno <aurel32@debian.org> (wk) 26 27 * longlong.h (umul_ppmm) <mips> [__GNUC__ >= 4.4]: Patch according 28 to recommended gcc 4.4 changes. 29 302009-12-09 Werner Koch <wk@g10code.com> 31 32 * config.links: Remove asm modules for all sparc64. This is 33 debian#560028. 34 352009-05-26 Werner Koch <wk@g10code.com> 36 37 * mpicoder.c (mpi_read_from_buffer): Allow zero-sized MPIs (i.e a 38 zero). 39 402009-02-16 Werner Koch <wk@g10code.com> 41 42 * mpiutil.c: Remove memory.h. 43 442008-12-05 Werner Koch <wk@g10code.com> 45 46 * mpicoder.c (mpi_read_from_buffer): Do not bail out if the mpi is 47 larger than the buffer (potential problem). Do not print error 48 messages. 49 (mpi_fromstr): Return an error instead of hitting an assert. 50 (gcry_mpi_scan) <PGP>: Fix potential double free problem. 51 (gcry_mpi_scan) <HEX>: Fix potential memory leak. 52 (do_get_buffer): Return NULL on memory allocation failure. 53 (gcry_mpi_print): Check result of do_get_buffer. 54 (gcry_mpi_aprint): Return error on a memory allocation failure. 55 56 * mpicoder.c: Re-indent. 57 582008-12-03 Werner Koch <wk@g10code.com> 59 60 * mpi-pow.c (gcry_mpi_powm): Fix last change. Asserts are really 61 useful! 62 632008-12-02 Werner Koch <wk@g10code.com> 64 65 * mpi-pow.c (gcry_mpi_powm): Re-indent. 66 (gcry_mpi_powm): Simplified allocation of the result to fix a 67 double free bug. This is bug#977. Reported by Haakon Ringberg. 68 692008-08-20 Werner Koch <wk@g10code.com> 70 71 * mpi-bit.c (gcry_mpi_lshift): Actually implement. 72 732008-08-19 Werner Koch <wk@g10code.com> 74 75 * mpi-bit.c (gcry_mpi_lshift): New. 76 772007-10-31 Werner Koch <wk@g10code.com> 78 79 * mpi-mod.c (gcry_mpi_mod): Remove 80 * mpi-inv.c (_gcry_mpi_invm): Remove _ prefix. 81 * mpiutil.c (_gcry_mpi_swap): Remove. 82 (_gcry_mpi_new): Remove. 83 (_gcry_mpi_snew): Remove. 84 (gcry_mpi_invm): Remove. 85 (gcry_mpi_copy): Remove and rename _version to this. 86 (gcry_mpi_set, gcry_mpi_set_ui): Merge with _ version. 87 * mpi-inv.c (gcry_mpi_invm): Remove _ prefix and return 1. 88 * mpi-mul.c (gcry_mpi_mul_2exp): Remove and rename _ version to this. 89 902007-10-29 Werner Koch <wk@g10code.com> 91 92 * config.links: No Candadian Cross here, thus use $host instead of 93 $target. 94 952007-10-26 Werner Koch <wk@g10code.com> 96 97 * config.links (mpi_optional_modules): Special rules for Apple 98 Darwin on ia32 from Gregor Riepl. 99 1002007-05-09 Marcus Brinkmann <marcus@g10code.de> 101 102 * config.links: Rename assembler file links by suffixing "-asm". 103 * Makefile.am (CCASCOMPILE, LTCCASCOMPILE, CLEANFILES, 104 libmpi_la_LIBADD, libmpi_la_DEPENDENCIES, SUFFIXES, .S.o, .S.obj, 105 .S.lo): Removed variables and targets. 106 (mpih_add1, mpih_sub1, mpih_mul1, mpih_mul2, mpih_mul3, 107 mpih_lshift, mpih_rshift, mpih_udiv, mpih_udiv_qrnnd, 108 nodist_libmpi_la_SOURCES): New variables. 109 (DISTCLEANFILES): Rename assembler file links by suffixing "-asm". 110 Add variants for C file links. 111 1122007-05-04 Werner Koch <wk@g10code.com> 113 114 * config.links (path): Allowthe sue of colons as delimiters. 115 1162007-05-03 Werner Koch <wk@g10code.com> 117 118 * pentium4/distfiles: Fixed. 119 1202007-04-30 Werner Koch <wk@g10code.com> 121 122 * config.links: Create a file mod-source-info.h. 123 * Makefile.am (DISTCLEANFILES): Add that file. 124 * mpiutil.c (_gcry_mpi_get_hw_config): New. 125 1262007-04-28 Marcus Brinkmann <marcus@g10code.de> 127 128 * config.links: Add additional assembler search directories. 129 1302007-03-28 Werner Koch <wk@g10code.com> 131 132 * ec.c: New. 133 1342007-03-23 Werner Koch <wk@g10code.com> 135 136 * mpi-bit.c (_gcry_mpi_lshift_limbs): Assign AP after the resize. 137 138 * mpi-div.c (gcry_mpi_mod, _gcry_mpi_mod): Moved to .. 139 * mpi-mod.c: .. new file. 140 (_gcry_mpi_barrett_init, _gcry_mpi_barrett_free): New. 141 (_gcry_mpi_mod_barrett): New. 142 (_gcry_mpi_mul_barrett): New. 143 1442007-03-22 Werner Koch <wk@g10code.com> 145 146 * mpi-div.c (_gcry_mpi_mod): New. 147 * mpiutil.c (_gcry_mpi_new, _gcry_mpi_snew): New. 148 1492007-03-13 Werner Dittmann <Werner.Dittmann@t-online.de> (wk) 150 151 * amd64/mpih-add1.S, amd64/mpih-add1.S, amd64/mpih-lshift.S 152 * amd64/mpih-mul1.S, amd64/mpih-mul2.S, amd64/mpih-mul3.S 153 * amd64/mpih-rshift.S, amd64/mpih-sub1.S: New. 154 * config.links: Add case for x86_64. 155 1562007-02-23 Werner Koch <wk@g10code.com> 157 158 * mpi-pow.c (gcry_mpi_powm): Remove unused var ESIGN. 159 160 * mpiutil.c (gcry_mpi_get_flag): Let it return a value to silent 161 MIPSpro cc warning. 162 1632007-02-21 Werner Koch <wk@g10code.com> 164 165 * mpicoder.c (_gcry_mpi_set_buffer): Made BUFFER a void*. 166 1672006-11-15 Werner Koch <wk@g10code.com> 168 169 * Makefile.am (.S.o): Check for srcdir also in in CPP pass. 170 (INCLUDES): Removed. 171 (AM_CPPFLAGS, AM_CFLAGS): New, modified. Merged with Moritz' 172 changes. 173 1742006-11-05 Moritz Schulte <moritz@g10code.com> 175 176 * Makefile.am (AM_CFLAGS): Added -I$(top_builddir)/src so that the 177 new gcrypt.h is used, not the one installed in the system. 178 1792006-10-23 Werner Koch <wk@g10code.com> 180 181 * config.links (mpi_optional_modules): Make sure that powerpc64 is 182 matched before a generic powerpc. Reported by Andreas Metzler. 183 Should fix Debian bug 284609. 184 1852006-08-25 Werner Koch <wk@g10code.com> 186 187 * mpi-bit.c (gcry_mpi_rshift): Don't shift if N == 0 but do a 188 plain copy. 189 1902006-08-04 Werner Koch <wk@g10code.com> 191 192 * mpi-bit.c (gcry_mpi_rshift): Rewritten to remove the limitation 193 on N (which used to be less than BITS_PER_MPI_LIMB). 194 1952006-08-03 Werner Koch <wk@g10code.com> 196 197 * mpi-bit.c (gcry_mpi_set_bit, gcry_mpi_set_highbit): Fixed 198 allocation. Reported by bpgcrypt at itaparica.org. 199 * mpiutil.c (_gcry_mpi_resize): Clear the new part of the resized 200 limb space. 201 2022006-07-26 Werner Koch <wk@g10code.com> 203 204 * mpiutil.c (gcry_mpi_randomize): Changed P to unsigned char*. 205 206 * mpicoder.c (gcry_mpi_scan): Changed arg BUFFER to void*. 207 (mpi_read_from_buffer): Made BUFFER arg const. 208 (gcry_mpi_scan): Removed now needless cast. Add cast for arg to 209 mpi_fromstr. 210 (gcry_mpi_print): Made TMP unsigned. 211 212 * Makefile.am (AM_CCASFLAGS): New. 213 2142005-10-09 Moritz Schulte <moritz@g10code.com> 215 216 * mpi-cmp.c (gcry_mpi_cmp_ui): Rewritten; correctly handle case of 217 zero limbs in U. 218 2192005-04-27 Moritz Schulte <moritz@g10code.com> 220 221 * mpiutil.c (gcry_mpi_randomize): Store random data in secure 222 memory if the given MPI is secure - not the other way around (argl). 223 2242005-04-23 Moritz Schulte <moritz@g10code.com> 225 226 * Makefile.am: Don't assume the compiler will pre-process the .S 227 files. Some compilers, like those from HP and IBM, don't do 228 this. So, we use the same solution gnupg-1.4.0 does. Preprocess 229 first and then compile. 230 231 * hppa1.1/mpih-mul3.S: Add "level 1.1" directive to disable 232 warning about using PA-RISC1.1 opcodes. 233 * hppa1.1/mpih-mul2.S: Likewise. 234 * hppa1.1/mpih-mul1.S: Likewise. 235 * hppa1.1/udiv-qrnnd.S: Likewise. 236 2372005-02-16 Moritz Schulte <moritz@g10code.com> 238 239 * mpiutil.c (_gcry_mpi_alloc_limb_space): Rewritten, fixed memory 240 corruption. 241 2422005-02-06 Moritz Schulte <moritz@g10code.com> 243 244 * mpiutil.c (_gcry_mpi_get_ui, gcry_mpi_get_ui): New functions. 245 2462005-01-05 Werner Koch <wk@g10code.com> 247 248 * hppa1.1/udiv-qrnnd.S: Reverted change of 2004-03-02 but kept the 249 .align directive. 250 2512004-12-16 Werner Koch <wk@g10code.com> 252 253 * config.links (mpi_optional_modules): Move entry for powerpc64 254 before generic powerpc. Suggested by Rafael Ávila de Espíndola. 255 2562004-03-02 Werner Koch <wk@gnupg.org> 257 258 * hppa1.1/udiv-qrnnd.S: Alignment fix from Lamont Jones for 259 Debian. Taken from gnupg-1.3. 260 261 * longlong.h: Added PowerPC 64 bit code from GPM-4.1.2 but didn't 262 enable it yet. Some whitespace changes in HPPA to fix assembler 263 problems on HP-UX. From gnupg 1.3 264 265 * mpiutil.c (_gcry_mpi_alloc_limb_space): Better allocate 266 something even if NLIMBS is passed as 0. 267 268 * config.links: Updated system list to match gnupg 1.3. 269 2702003-12-19 Werner Koch <wk@gnupg.org> 271 272 * mpi-internal.h [M_DEBUG]: Removed this unused code. 273 (struct karatsuba_ctx): Added TSPACE_NLIMBS and TP_NLIMBS. 274 * mpiutil.c (_gcry_mpi_free_limb_space): Add arg NLIMBS and wipe 275 out the memory. Changed all callers. 276 * mpih-mul.c (_gcry_mpih_mul_karatsuba_case): Keep track of 277 allocated limbs. 278 * mpi-div.c (_gcry_mpi_tdiv_qr): Keep track of allocated limbs. 279 * mpi-mul.c (gcry_mpi_mul): Ditto. 280 * mpi-pow.c (gcry_mpi_powm): Ditto. 281 282 * Manifest: Empty new file. Also add Manifest files to all CPU 283 specific directories. 284 * Makefile.am: Added. 285 286 * mpiutil.c (gcry_mpi_randomize): Use gcry_create_nonce if WEAK 287 random has been requested. 288 2892003-10-31 Werner Koch <wk@gnupg.org> 290 291 * i386/mpih-rshift.S, i386/mpih-lshift.S: Use %dl and not %edx for 292 testb; this avoids an assembler warning. 293 294 * mpi-pow.c (gcry_mpi_powm): s/exp/expo/ to avoid shadowing warning. 295 2962003-08-19 Marcus Brinkmann <marcus@g10code.de> 297 298 * Makefile.am (SUFFIXES): New variable. 299 (.S.o, .S.lo, .S.obj): Rewritten. 300 3012003-07-30 Moritz Schulte <moritz@g10code.com> 302 303 * longlong.h (__clz_tab): Renamed to _gcry_clz_tab. 304 * mpi-bit.c (__clz_tab): Likewise. 305 3062003-07-27 Werner Koch <wk@gnupg.org> 307 308 * mpicoder.c (gcry_mpi_scan): New argument BUFLEN to replace the 309 use of the intial value of NBYTES. Changed BUFFER to unsigned. 310 (gcry_mpi_print): Likewise. 311 (gcry_mpi_dump): New. 312 (_gcry_log_mpidump): Make use of gcry_mpi_dump. 313 (mpi_print): Removed. 314 (gcry_mpi_scan): Allocated mpi in secure memory when required. 315 (gcry_mpi_aprint): Changed BUFFER to unsigned char*. 316 3172003-07-14 Moritz Schulte <moritz@g10code.com> 318 319 * mpicoder.c: Used gcry_err* wrappers for libgpg-error symbols. 320 3212003-06-16 Moritz Schulte <moritz@g10code.com> 322 323 * mpi-add.c: Replace last occurences of old type names with newer 324 names (i.e. replace MPI with gcry_mpi_t). 325 * mpi-bit.c: Likewise. 326 * mpi-cmp.c: Likewise. 327 * mpi-div.c: Likewise. 328 * mpi-gcd.c: Likewise. 329 * mpi-internal.h: Likewise. 330 * mpi-inv.c: Likewise. 331 * mpi-mpow.c: Likewise. 332 * mpi-mul.c: Likewise. 333 * mpi-pow.c: Likewise. 334 * mpi-scan.c: Likewise. 335 * mpicoder.c: Likewise. 336 * mpiutil.c: Likewise. 337 3382003-06-09 Moritz Schulte <moritz@g10code.com> 339 340 * mpicoder.c (gcry_mpi_scan): Adjust for libgpg-error. 341 (gcry_mpi_print): Likewise. 342 (gcry_mpi_aprint): Likewise. 343 3442003-06-07 Moritz Schulte <moritz@g10code.com> 345 346 * longlong.h, mpi-add.c, mpi-bit.c, mpi-cmp.c, mpi-div.c, 347 mpi-gcd.c, mpi-inline.c, mpi-inline.h, mpi-internal.h, mpi-inv.c, 348 mpi-mpow.c, mpi-mul.c, mpi-pow.c, mpi-scan.c, mpicoder.c, 349 mpih-div.c, mpih-mul.c, mpiutil.c, generic/mpi-asm-defs.h, 350 generic/mpih-add1.c, generic/mpih-lshift.c, generic/mpih-mul1.c, 351 generic/mpih-mul2.c, generic/mpih-mul3.c, generic/mpih-rshift.c, 352 generic/mpih-sub1.c, generic/udiv-w-sdiv.c, i386/syntax.h, 353 m68k/syntax.h, mips3/mpi-asm-defs.h, powerpc32/syntax.h: Edited 354 all preprocessor instructions to remove whitespace before the '#'. 355 This is not required by C89, but there are some compilers out 356 there that don't like it. Replaced any occurence of the now 357 deprecated type names with the new ones. 358 3592003-05-21 Moritz Schulte <moritz@g10code.com> 360 361 * mpiutil.c (_gcry_mpi_alloc_limb_space): Only try to allocate 362 memory in case the amount of bytes to allocate is non-zero. 363 3642003-04-27 Moritz Schulte <moritz@g10code.com> 365 366 * mpiutil.c (_gcry_mpi_resize): Allocate secure memory, in case 367 bit zero of `flags' is set. 368 369 * mpi-add.c (gcry_mpi_sub): Simplify function; always use a 370 temporary variable now. 371 3722003-04-15 Werner Koch <wk@gnupg.org> 373 374 * longlong.h (umul_ppmm): Support SH3 and SH4. Thanks to 375 kazuya.s@jp.yokogawa.com. 376 3772003-04-02 Werner Koch <wk@gnupg.org> 378 379 * mpicoder.c (gcry_mpi_print): Fixed testing against possible 380 uninitialized LEN. Valgrinded by Nikos Mavroyanopoulos. 381 3822003-01-15 Werner Koch <wk@gnupg.org> 383 384 * longlong.h: Removed some spaces between backslashes and newlines. 385 3862002-09-20 Werner Koch <wk@gnupg.org> 387 388 * mpi-mul.c (gcry_mpi_mul_2exp): New. This was declared in 389 gcrypt.h but only implemented as internal function. Noted by Timo 390 but a few minutes to late for today's release. 391 392 * Makefile.am (DISTCLEANFILES): Include mpi-asm-defs.h 393 3942002-09-18 Werner Koch <wk@gnupg.org> 395 396 * Makefile.am (.S.lo): Pass -DPIC. i386, PPC and Sparc code 397 require it. It worked for me because I am using the i586 code. 398 3992002-08-23 Werner Koch <wk@gnupg.org> 400 401 * Makefile.am (.S.lo): Fixed for libtool build with --disable-shared. 402 4032002-07-24 Werner Koch <wk@gnupg.org> 404 405 * longlong.h: Replaced all K&R multiline strings by ISO ones for 406 the sake of modern compilers. Suggested by Marco Parrone. 407 4082002-06-24 Werner Koch <wk@gnupg.org> 409 410 * mpiutil.c (gcry_mpi_swap): New. 411 412 * mpi-div.c (gcry_mpi_div): New. 413 (gcry_mpi_mod): New. 414 * mpi-inv.c (gcry_mpi_invm): New. 415 416 * mpicoder.c (do_get_buffer): Make sure that we allocate at least 417 one byte. 418 4192002-06-12 Werner Koch <wk@gnupg.org> 420 421 * hppa1.1/udiv-qrnnd.S: Changes for PIC by Randolph Chung. 422 4232002-05-15 Werner Koch <wk@gnupg.org> 424 425 * config.links: Chnage the way the mpi modules are determined. 426 * Makefile.am: Revamped to better handle modules 427 4282002-05-14 Werner Koch <wk@gnupg.org> 429 430 Changed license of all files to the LGPL. 431 4322002-04-18 Werner Koch <wk@gnupg.org> 433 434 * mpicoder.c (gcry_mpi_scan): Don't use normalize on a NULL MPI. 435 4362002-03-20 Werner Koch <wk@gnupg.org> 437 438 * mpicoder.c (mpi_read_from_buffer): Bail out on a zero length 439 buffer because we can't eventually do an malloc of this size. 440 Reported by Timo. 441 4422002-01-14 Werner Koch <wk@gnupg.org> 443 444 * mpi-inv.c (_gcry_mpi_invm): Typo fixes, noted by Carlo Perassi. 445 4462001-11-01 Werner Koch <wk@gnupg.org> 447 448 * mpicoder.c (gcry_mpi_scan): Allow to pass a nbytes as NULL or 449 with value 0 for format GCRY_FMT_SSH, so that the length is not 450 used for any checks, only the length stored in the bufer is used. 451 This is a nice format becuase we can just pass a buffer around and 452 don't need to care about its length. 453 4542001-08-03 Werner Koch <wk@gnupg.org> 455 456 * config.links: Changed the way the list of files to be 457 symlinked is returned. 458 4592001-05-31 Werner Koch <wk@gnupg.org> 460 461 * mpih-cmp.c: Removed and moved mpihelp_cmp to .. 462 * mpi-inline.h: .. here. 463 464 Major function renaming. All global functions are now prefixed 465 with _gcry_ or gcry_. Renamed also all mpihelp_ to just mpih_ so 466 that functions names are not getting to long an unreadable and for 467 better matching with the filenames. 468 4692001-05-28 Werner Koch <wk@gnupg.org> 470 471 * mpicoder.c (mpi_fromstr): Made static and assume that all input 472 is in hexformat. 473 474 Updated all CPU specific code with the one from GnuPG-1.0.5. This 475 is just a change of text formatting and the use of .label 476 instead of labels for hppa and pa7100. 477 478 * longlong.h: Fixes for ARM by Phil Blundell. 479 4802001-03-29 Werner Koch <wk@gnupg.org> 481 482 * mpi-mul.c (mpi_mul): Make sure that secret temporary results are 483 not stored in w. Suggested by Florian Weimer. 484 485 * config.links: Use i386 code for i386. According to tests by 486 Kevin Ryde the i586 code runs slow on i386 CPUs. Ditto for i786. 487 4882001-01-11 Werner Koch <wk@gnupg.org> 489 490 * Makefile.am: Removed mpi.h. 491 4922000-12-19 Werner Koch <wk@gnupg.org> 493 494 * mpi-internal.h: Put limb_t definition in an ifdef. 495 496 Major change: 497 Removed all GnuPG stuff and renamed this piece of software 498 to gcrypt. 499 5002000-11-14 Werner Koch <wk@gnupg.org> 501 502 * mpi-internal.h, mpi.h: Changed the way they are called and 503 introduced DID_MPI_LIMP_TYPEDEF hack. Very ugly, should all be 504 revamped. 505 506 * Makefile.am (OMIT_DEPENDENCIES): Hack to work around dependency 507 problems. 508 5092000-10-11 Werner Koch <wk@gnupg.org> 510 511 * generic/mpi-asm-defs.h: New. 512 * mips3/mpi-asm-defs.h: New. 513 * config.links: Create a link to one of the above files. 514 515Fri Jul 28 18:19:11 CEST 2000 Werner Koch <wk@openit.de> 516 517 * mpicoder.c (gcry_mpi_scan): Normalize the returned MPI. 518 519Tue Jul 25 17:44:15 CEST 2000 Werner Koch <wk@openit.de> 520 521 * config.links: Support for powerpc--netbsd by Gabriel Rosenkoetter. 522 523Mon Jul 17 16:35:47 CEST 2000 Werner Koch <wk@> 524 525 * power/: Add all files from GMP for this CPU. Converted comments to 526 CPP comments because some ASes complain about ' in comments. 527 528 * config.links: Support for BSDI 4.x; by Wayne Chapeskie. Add support 529 for FreeBSD 5 and made the case stmt looking nicer; by Jun Kuriyama. 530 Add support for NetBSD. 531 (sparc8): Made the search path the same as sparc9 532 (sparc64-unknown-linux-gnu): use udiv module; by Adam Mitchell. 533 534 * Makefile.am: c/SFLAGS/ASFLAGS/. This has only been used by the 535 powerpc and actually never passed the -Wa,foo to the cc. 536 537 * mpih-div.c (mpihelp_divrem): The MPN_COPY_DECR copied one element 538 too many. This is a gmp2.0.2p9.txt patch. 539 540 * longlong.h (umul_ppmm): Fixes for ARM-4. By Sean MacLennan. 541 542 * mpi-internal.h (karatsuba_ctx): New. 543 * mpih-mul.c (mpihelp_release_karatsuba_ctx): New. 544 (mpihelp_mul_karatsuba_case): New. 545 (mpihelp_mul): Splitted to make use of the new functions. 546 * mpi-pow.c (mpi_powm): Make use of the new splitted function to avoid 547 multiple allocation of temporary memory during the karatsuba operations. 548 * mpi_mpow.c: Removed the unused Barrett code. 549 5502000-03-21 16:17:30 Werner Koch (wk@habibti.openit.de) 551 552 * config.links: Add support for FreeBSD 5. 553 554Mon Jan 24 22:24:38 CET 2000 Werner Koch <wk@gnupg.de> 555 556 * mpicoder.c (gcry_mpi_aprint): Now really returns the length. 557 558Mon Jan 24 13:04:28 CET 2000 Werner Koch <wk@gnupg.de> 559 560 * mpiutil.c: Removed all memory debugging code. 561 562 * mpicoder.c (gcry_mpi_aprint): New. 563 564 * Replaced all m_ memory functions by g10_ ones. 565 566Fri Dec 31 14:06:56 CET 1999 Werner Koch <wk@gnupg.de> 567 568 * mpi-bit.c (gcry_mpi_get_nbits): New. 569 570 * mpiutil.c (mpi_set_secure): made static. 571 (gcry_mpi_get_flag): New. 572 (gcry_mpi_set_flag): New. 573 (gcry_mpi_clear_flag): New. 574 (mpi_set_opaque): renamed to gcry_mpi_set_opaque. 575 (mpi_get_opaque): renamed to gcry_mpi_get_opaque. 576 577Fri Dec 31 12:48:31 CET 1999 Werner Koch <wk@gnupg.de> 578 579 * mpicoder.c (mpi_read_from_buffer): Made static. 580 (gcry_mpi_print): A buffer of NULL is now allowed to get the required 581 length back. 582 (mpi_get_keyid): Removed. 583 (mpi_print): Made static - should be removed. 584 585Wed Dec 8 21:58:32 CET 1999 Werner Koch <wk@gnupg.de> 586 587 * Makefile.am (INCLUDES): Add ../gcrypt. 588 589 * g10m.c : Removed. 590 591 * mpicoder.c (mpi_write): Removed. 592 (mpi_read): Removed. 593 (gcry_mpi_scan): New. Taken from ../gcrypt/mpiapi.c. 594 (gcry_mpi_print): Ditto. 595 596 * mpi-pow.c (mpi_powm): Renamed to ... 597 (gcry_mpi_powm): ... this. 598 599 * mpiutil.c (gcry_mpi_new): New as a wrapper around the old function. 600 Taken from ../gcrypt/mpiapi.c. 601 (gcry_mpi_snew): Ditto. 602 (gcry_mpi_release): Ditto. 603 (gcry_mpi_copy): Ditto. 604 (gcry_mpi_set): Ditto. 605 (gcry_mpi_set_ui): Ditto. 606 (gcry_mpi_cmp): Ditto. 607 (gcry_mpi_cmp_ui): Ditto. 608 (gcry_mpi_randomize): Ditto. 609 610 * mpicoder.c (mpi_print): Removed the nbit_info kludge. 611 * mpi-bits.c (mpi_get_nbits): Replaced the is_protected stuff by 612 checking whether it is an opaque mpi and then returns it's length 613 in bits. 614 * mpiutil.c (mpi_set_opaque): Changed the interface to take a number 615 of bits for the length. Adjusted all users. 616 (mpi_get_opaque): Ditto. 617 618Fri Nov 19 17:15:20 CET 1999 Werner Koch <wk@gnupg.de> 619 620 * mpicoder.c (g10_log_mpidump): Add a temporary workaround 621 622 * mpih-mul.c (mpihelp_mul_n): s/m_is_ecure/g10_is_secure/ 623 624 * mpiutil.c (mpi_alloc): Remved the debug mode because it has turned 625 out, that this feature was not very useful in the past. Use the 626 new alloc functions. 627 (mpi_alloc_secure): Ditto. 628 (mpi_alloc_limb_space): Ditto. 629 (mpi_free_limb_space): Ditto. 630 (mpi_resize): Ditto. 631 (mpi_free): Ditto. 632 (mpi_set_secure): Removed the debug stuff. 633 (mpi_set_opaque): Ditto. 634 (mpi_copy): Ditto. 635 (mpi_alloc_set_ui): Ditto. 636 (mpi_m_check): Use g10_ wrapper. 637 638Mon Aug 30 20:38:33 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 639 640 641 * config.links: Add case label for DJGPP 642 643Wed Jul 14 19:42:08 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 644 645 646 * Makefile.am: Use .s files as temporaries, disabled other .S rules. 647 648Wed Jul 7 13:08:40 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 649 650 651 * mpicoder.c (g10_log_mpidump): New. 652 653 * Makefile.am: Support for libtool. 654 655Fri Jul 2 11:45:54 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 656 657 658 * mpi-bit.c (mpi_lshift_limbs,mpi_rshift_limbs): New. 659 * mpi-mpow.c (barrett_mulm): New but diabled. 660 661Tue Jun 1 16:01:46 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 662 663 * config.links (i[56]86*-*-freebsdelf*): New. 664 665Sun May 23 14:20:22 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 666 667 * config.links (sysdep.h): Not any more conditionally created. 668 669Tue May 4 15:47:53 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 670 671 * mpiutil.c (mpi_alloc_like): New. 672 673Mon Apr 26 17:48:15 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 674 675 * mpih-add.c, mpih-sub.c: Removed 676 * mpi-inline.c: New. 677 * mpi-inline.h: Make it usable by mpi-inline.c. 678 679Sun Apr 18 10:11:28 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 680 681 * mpih-mul.c (mpihelp_mul_n): Fixed use of memory region. 682 (mpihelp_mul): Ditto. 683 684Wed Apr 7 20:51:39 CEST 1999 Werner Koch <wk@isil.d.shuttle.de> 685 686 * Makefile.am: Explicit rules to invoke cpp on *.S 687 688Mon Mar 8 20:47:17 CET 1999 Werner Koch <wk@isil.d.shuttle.de> 689 690 * config.links: Take advantage of the with_symbol_underscore macro. 691 Add support for freebsd 4. 692 693Wed Feb 24 11:07:27 CET 1999 Werner Koch <wk@isil.d.shuttle.de> 694 695 * mips3/mpih-sub1.S: Removed left over junk in last line. (Should I 696 blame me or my editor?). 697 698Sat Feb 13 12:04:43 CET 1999 Werner Koch <wk@isil.d.shuttle.de> 699 700 * Makefile.am: Removed the +=. Add MPI_OPT_FLAGS. 701 702Sat Jan 9 16:02:23 CET 1999 Werner Koch <wk@isil.d.shuttle.de> 703 704 * mpi-cmp.c (mpi_cmp_ui): Normalized the arg. 705 706Thu Jan 7 18:00:58 CET 1999 Werner Koch <wk@isil.d.shuttle.de> 707 708 * mpi-bit.c (mpi_normalize): New. 709 (mpi_get_nbits): Normalize the MPI. 710 * mpi-bit.c (mpi_cmp): Normalize the MPI before the compare. 711 712 713Tue Dec 8 13:15:16 CET 1998 Werner Koch <wk@isil.d.shuttle.de> 714 715 * config.links: Moved the case for powerpc*linux 716 * powerpcp32/*.S: Removed some underscores. 717 718Thu Nov 26 07:27:52 1998 Werner Koch <werner.koch@guug.de> 719 720 * config.links: Support for ppc with ELF 721 * powerpc32/syntax.h: New. 722 * powerpc32/*.S: Applied ELF patches (glibc patches) 723 724Tue Nov 10 19:31:37 1998 Werner Koch (wk@isil.d.shuttle.de) 725 726 * power*/ : Started with stuff for PPC 727 * config.links: Some stuff for PPC. 728 * generic/udiv-w-sdiv.c: New but disabled. 729 730Tue Oct 27 12:37:46 1998 Werner Koch (wk@isil.d.shuttle.de) 731 732 * config.links (freebsd): Fixes for FreeBSD 3.0 733 734Wed Oct 14 09:59:30 1998 Werner Koch (wk@isil.d.shuttle.de) 735 736 * config.links (freebsd): ELF patches from Jun Kuriyama. 737 738Thu Oct 8 13:28:17 1998 Werner Koch (wk@isil.d.shuttle.de) 739 740 * mpi-mpow.c (mpi_mulpowm): Fixed mem leak (m_free/mpi_free). 741 742Thu Sep 17 18:08:50 1998 Werner Koch (wk@(none)) 743 744 * hppa1.1/udiv-qrnnd.S: Fix from Steffen Zahn for HPUX 10.20 745 746Thu Aug 6 16:39:28 1998 Werner Koch,mobil,,, (wk@tobold) 747 748 * mpi-bit.c (mpi_set_bytes): Removed. 749 750Wed Aug 5 15:11:12 1998 Werner Koch (wk@(none)) 751 752 * mpicoder.c (mpi_read_from_buffer): New. 753 754 * mpiutil.c (mpi_set_opaque): New. 755 (mpi_get_opaque): New. 756 (mpi_copy): Changed to support opauqe flag 757 (mpi_free): Ditto. 758 759Sat Jul 4 10:11:11 1998 Werner Koch (wk@isil.d.shuttle.de) 760 761 * mpiutil.c (mpi_clear): Reset flags. 762 (mpi_set): Ditto. 763 (mpi_alloc_secure): Set flag to 1 and not ored the 1 in, tsss.. 764 765Fri Jun 26 11:19:06 1998 Werner Koch (wk@isil.d.shuttle.de) 766 767 * mpiutil.c (mpi_alloc): set nbits to 0. 768 (mpi_alloc_secure): Ditto. 769 (mpi_clear): Ditto. 770 771Thu Jun 25 11:50:01 1998 Werner Koch (wk@isil.d.shuttle.de) 772 773 * mips3/*.S: New 774 775Mon May 18 13:47:06 1998 Werner Koch (wk@isil.d.shuttle.de) 776 777 * config.links: split mpih-shift into mpih-[lr]shift and 778 changed all implementations. 779 * mpi/alpha: add some new assembler stuff. 780 781Wed May 13 11:04:29 1998 Werner Koch (wk@isil.d.shuttle.de) 782 783 * config.links: Add support for MIPS 784 785Thu Apr 9 11:31:36 1998 Werner Koch (wk@isil.d.shuttle.de) 786 787 * mpicoder.c (mpi_get_secure_buffer): New. 788 789Wed Apr 8 09:44:33 1998 Werner Koch (wk@isil.d.shuttle.de) 790 791 * config.links: Applied small fix from Ulf Möller. 792 793Mon Apr 6 12:38:52 1998 Werner Koch (wk@isil.d.shuttle.de) 794 795 * mpicoder.c (mpi_get_buffer): Removed returned leading zeroes 796 and changed all callers. 797 798Tue Mar 10 13:40:34 1998 Werner Koch (wk@isil.d.shuttle.de) 799 800 * mpi-bit.c (mpi_clear_highbit): New. 801 802Mon Mar 2 19:29:00 1998 Werner Koch (wk@isil.d.shuttle.de) 803 804 * Makefile.am (DISTCLEANFILES): New 805 806Thu Feb 26 06:48:54 1998 Werner Koch (wk@isil.d.shuttle.de) 807 808 * config.links (X86_BROKEN_ALIGN): Added for some systems. 809 810Mon Feb 23 12:21:40 1998 Werner Koch (wk@isil.d.shuttle.de) 811 812 * mpi/m68k/mpih-shift.S (Lspecial): Changed duplicate symbol. 813 814Mon Feb 16 13:00:27 1998 Werner Koch (wk@isil.d.shuttle.de) 815 816 * config.links : Add detection of m68k cpus 817 818 819 Copyright 1998,1999,2000,2001,2002,2003 Free Software Foundation, Inc. 820 821 This file is free software; as a special exception the author gives 822 unlimited permission to copy and/or distribute it, with or without 823 modifications, as long as this notice is preserved. 824 825 This file is distributed in the hope that it will be useful, but 826 WITHOUT ANY WARRANTY, to the extent permitted by law; without even the 827 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 828 829Local Variables: 830buffer-read-only: t 831End: 832