Fix fast quasi-reduction modulo value of p192K1 in comments

Signed-off-by: Xiaokang Qian <[email protected]>
This commit is contained in:
Xiaokang Qian
2023-07-31 06:46:28 +00:00
parent d0657b0015
commit 59159abcce
+1 -1
View File
@@ -5411,7 +5411,7 @@ cleanup:
#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED)
/*
* Fast quasi-reduction modulo p192k1 = 2^192 - R,
* with R = 2^32 + 2^12 + 2^8 + 2^7 + 2^6 + 2^3 + 1 = 0x0100001119
* with R = 2^32 + 2^12 + 2^8 + 2^7 + 2^6 + 2^3 + 1 = 0x01000011C9
*/
static int ecp_mod_p192k1(mbedtls_mpi *N)
{