aboutsummaryrefslogtreecommitdiff
path: root/src/libsec/port/rsafill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsec/port/rsafill.c')
-rw-r--r--src/libsec/port/rsafill.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libsec/port/rsafill.c b/src/libsec/port/rsafill.c
index f514b073..7b715614 100644
--- a/src/libsec/port/rsafill.c
+++ b/src/libsec/port/rsafill.c
@@ -8,7 +8,7 @@ rsafill(mpint *n, mpint *e, mpint *d, mpint *p, mpint *q)
mpint *c2, *kq, *kp, *x;
RSApriv *rsa;
- // make sure we're not being hoodwinked
+ /* make sure we're not being hoodwinked */
if(!probably_prime(p, 10) || !probably_prime(q, 10)){
werrstr("rsafill: p or q not prime");
return nil;
@@ -33,10 +33,10 @@ rsafill(mpint *n, mpint *e, mpint *d, mpint *p, mpint *q)
return nil;
}
- // compute chinese remainder coefficient
+ /* compute chinese remainder coefficient */
mpinvert(p, q, c2);
- // for crt a**k mod p == (a**(k mod p-1)) mod p
+ /* for crt a**k mod p == (a**(k mod p-1)) mod p */
kq = mpnew(0);
kp = mpnew(0);
mpsub(p, mpone, x);