Commit 6d20c3c6a99071fad4c1763d390d4e37dfcf330b

Steffen Jaeckel 2011-03-23T23:24:37

removed flag LTM_PRIME_2MSB_OFF since it's no more available

diff --git a/bn_mp_prime_random_ex.c b/bn_mp_prime_random_ex.c
index 267712f..4c51ca9 100644
--- a/bn_mp_prime_random_ex.c
+++ b/bn_mp_prime_random_ex.c
@@ -21,7 +21,6 @@
  * 
  *   LTM_PRIME_BBS      - make prime congruent to 3 mod 4
  *   LTM_PRIME_SAFE     - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
- *   LTM_PRIME_2MSB_OFF - make the 2nd highest bit zero
  *   LTM_PRIME_2MSB_ON  - make the 2nd highest bit one
  *
  * You have to supply a callback which fills in a buffer with random bytes.  "dat" is a parameter you can
diff --git a/tommath.h b/tommath.h
index 3095104..a5fceec 100644
--- a/tommath.h
+++ b/tommath.h
@@ -506,7 +506,6 @@ int mp_prime_next_prime(mp_int *a, int t, int bbs_style);
  * 
  *   LTM_PRIME_BBS      - make prime congruent to 3 mod 4
  *   LTM_PRIME_SAFE     - make sure (p-1)/2 is prime as well (implies LTM_PRIME_BBS)
- *   LTM_PRIME_2MSB_OFF - make the 2nd highest bit zero
  *   LTM_PRIME_2MSB_ON  - make the 2nd highest bit one
  *
  * You have to supply a callback which fills in a buffer with random bytes.  "dat" is a parameter you can