[Heimdal-source-changes] [heimdal/heimdal] 28051f: Convert mp_find_prime to use mp_prime_is_prime

GitHub noreply at github.com
Tis Okt 8 23:18:29 CEST 2013


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 28051fa99cd4163859429b852de69679e8d3c8c6
      https://github.com/heimdal/heimdal/commit/28051fa99cd4163859429b852de69679e8d3c8c6
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2013-10-07 (Mon, 07 Oct 2013)

  Changed paths:
    M lib/hcrypto/libtommath/bn_mp_find_prime.c
    M lib/hcrypto/libtommath/tommath.h
    M lib/hcrypto/rsa-ltm.c

  Log Message:
  -----------
  Convert mp_find_prime to use mp_prime_is_prime

Modify the signature of mp_find_prime() to permit the number of
Miller-Rabin rounds to be specified.  In addition, valid responses
now include MP_NO, MP_YES, and MP_VAL which is returned when
mp_prime_is_prime() fails.

Change-Id: I0195129a4dd75875e6dddb6d49a5ceb30afb1a17


  Commit: 5bc653f0ef3897cb9a0deecac221eac8e2bbecea
      https://github.com/heimdal/heimdal/commit/5bc653f0ef3897cb9a0deecac221eac8e2bbecea
  Author: Steffen Jaeckel <jaeckel at stzedn.de>
  Date:   2013-10-07 (Mon, 07 Oct 2013)

  Changed paths:
    M lib/hcrypto/libtommath/bn_mp_shrink.c

  Log Message:
  -----------
  libtommath: allow mp_shrink to shrink initialized, but empty MPI's

from https://github.com/libtom/libtommath

Change-Id: I5814caeb44db710957152a7d47b03f9beb6e5147


  Commit: 7fe018e418f1e740303e10cc14689be928aff70d
      https://github.com/heimdal/heimdal/commit/7fe018e418f1e740303e10cc14689be928aff70d
  Author: Steffen Jaeckel <jaeckel at stzedn.de>
  Date:   2013-10-08 (Tue, 08 Oct 2013)

  Changed paths:
    M lib/hcrypto/libtommath/bn_error.c
    M lib/hcrypto/libtommath/tommath.h

  Log Message:
  -----------
  libtommath: mp_error_to_string: return const char* instead of char*

>From https://github.com/libtom/libtommath

Change-Id: Idd5cbab380f5d504fece93afb3a5fcc026309482


  Commit: b709d39aa5989305f448f72ed25dc1fbce9a365a
      https://github.com/heimdal/heimdal/commit/b709d39aa5989305f448f72ed25dc1fbce9a365a
  Author: Moritz Lenz <moritz at faui2k3.org>
  Date:   2013-10-08 (Tue, 08 Oct 2013)

  Changed paths:
    M lib/hcrypto/libtommath/bn_mp_mod.c

  Log Message:
  -----------
  libtommath: Fix mp_mod(a, b, c) if b < 0 and a = n * b, n integer

it used to return b, now it return 0.

>From https://github.com/libtom/libtommath

Change-Id: I99f5d42c09a6fbddfb32b7dd0ed10ef04f1c08a5


Compare: https://github.com/heimdal/heimdal/compare/1859a853508d...b709d39aa598


More information about the Heimdal-source-changes mailing list