add space after keyword
This commit is contained in:
parent
d6a9a58f64
commit
d263dc727c
|
@ -24,7 +24,7 @@ int mp_init_copy (mp_int * a, mp_int * b)
|
|||
return res;
|
||||
}
|
||||
|
||||
if((res = mp_copy(b, a)) != MP_OKAY) {
|
||||
if ((res = mp_copy(b, a)) != MP_OKAY) {
|
||||
mp_clear(a);
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ int mp_shrink (mp_int * a)
|
|||
mp_digit *tmp;
|
||||
int used = 1;
|
||||
|
||||
if(a->used > 0) {
|
||||
if (a->used > 0) {
|
||||
used = a->used;
|
||||
}
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ int mp_sqrtmod_prime(mp_int *n, mp_int *prime, mp_int *ret)
|
|||
/* find a Z such that the Legendre symbol (Z|prime) == -1 */
|
||||
if ((res = mp_set_int(&Z, 2)) != MP_OKAY) goto cleanup;
|
||||
/* Z = 2 */
|
||||
while(1) {
|
||||
while (1) {
|
||||
if ((res = mp_jacobi(&Z, prime, &legendre)) != MP_OKAY) goto cleanup;
|
||||
if (legendre == -1) break;
|
||||
if ((res = mp_add_d(&Z, 1, &Z)) != MP_OKAY) goto cleanup;
|
||||
|
|
Loading…
Reference in New Issue