X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=ecdsa%2Fnist_p192.c;fp=ecdsa%2Fnist_p192.c;h=6e914c872a9f240fe145147d7c2360d17a79f39d;hp=4e68e25a636ee1c8d8bf1ef83e64ffdbdacbd2d5;hb=55113fbb49edbc607a5ea5657be14e35296102c4;hpb=8d1970350aa1d7cdcb59cf79f7f60e385e2816e5 diff --git a/ecdsa/nist_p192.c b/ecdsa/nist_p192.c index 4e68e25..6e914c8 100644 --- a/ecdsa/nist_p192.c +++ b/ecdsa/nist_p192.c @@ -129,12 +129,12 @@ ecc_curve_sp_t nist_curve_p192 = { /* - * A = ( A5 || A4 || A3 || A2 || A1 || A0 ) ; An if 64-bit + * A = ( A5 || A4 || A3 || A2 || A1 || A0 ) ; An is 64-bit * A mod p = B = T + S1 + S2 + S3 mod p * * T = ( A2 || A1 || A0 ) - * S1 = ( A3 || A3 ) - * S2 = ( A4 || A4 || 0 ) + * S1 = ( 0 || A3 || A3 ) + * S2 = ( A4 || A4 || 0 ) * S3 = ( A5 || A5 || A5 ) * */