[Heimdal-source-changes] [heimdal/heimdal] b90732: libtommath: remove unnecessary comparison
GitHub
noreply at github.com
Mon Okt 7 21:03:07 CEST 2013
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: b90732860a4ede602f4df623824c22d623335a9e
https://github.com/heimdal/heimdal/commit/b90732860a4ede602f4df623824c22d623335a9e
Author: Jeffrey Altman <jaltman at secure-endpoints.com>
Date: 2013-10-07 (Mon, 07 Oct 2013)
Changed paths:
M lib/hcrypto/libtommath/bn_mp_prime_next_prime.c
Log Message:
-----------
libtommath: remove unnecessary comparison
As pointed out by Steffen Jaeckel [https://github.com/sjaeckel],
within bn_mp_prime_next_prime() t <= PRIME_SIZE as per the check
at the top of the function. Remove the unnecessary comparison in
a for loop conditional.
Change-Id: I868bee1a7a019e0ab06bf2b81cc71cf66ca9acff
Commit: 1859a853508d080e335d30c39a0b3febf3d576c8
https://github.com/heimdal/heimdal/commit/1859a853508d080e335d30c39a0b3febf3d576c8
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/bn_mp_isprime.c
M lib/hcrypto/libtommath/tommath_class.h
Log Message:
-----------
libtommath: protect functions by tommath_class macros
libtommath protects the inclusion of functions by wrapping their
declarations by CPP #ifdef tests and defining the matching macros
within libtommath_class.h.
Add missing macros:
BN_MP_FIND_PRIME_C
BN_MP_ISPRIME_C
Change-Id: Ic577300114f8e88d7a3af3d9f717a249d57f03b1
Compare: https://github.com/heimdal/heimdal/compare/c1f822f7af08...1859a853508d
More information about the Heimdal-source-changes
mailing list