libtommath: protect functions by tommath_class macros
commit1859a853508d080e335d30c39a0b3febf3d576c8
authorJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 7 Oct 2013 19:00:21 +0000 (7 14:00 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Mon, 7 Oct 2013 19:00:21 +0000 (7 14:00 -0500)
treebdda1b9dfb84ad206d89eaca9e25574a5bc232f1
parentb90732860a4ede602f4df623824c22d623335a9e
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
lib/hcrypto/libtommath/bn_mp_find_prime.c
lib/hcrypto/libtommath/bn_mp_isprime.c
lib/hcrypto/libtommath/tommath_class.h