File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -83,22 +83,20 @@ extern "C" {
8383 * @return returns TC_CRYPTO_SUCCESS (1) if the key pair was generated successfully
8484 * returns TC_CRYPTO_FAIL (0) if:
8585 * the private key is 0
86-
86+ *
8787 * @param p_publicKey OUT -- the point representing the public key.
8888 * @param p_privateKey OUT -- the private key.
8989 * @param p_random IN -- The random number to use to generate the key pair.
9090 *
9191 * @note You must use a new non-predictable random number to generate each
9292 * new key pair.
93- * @note p_random must have NUM_ECC_DIGITS*2 bits of entropy to eliminate
94- * bias in keys.
9593 *
9694 * @note side-channel countermeasure: algorithm strengthened against timing
9795 * attack.
9896 */
9997int32_t ecc_make_key (EccPoint * p_publicKey ,
10098 uint32_t p_privateKey [NUM_ECC_DIGITS ],
101- uint32_t p_random [NUM_ECC_DIGITS * 2 ]);
99+ uint32_t p_random [NUM_ECC_DIGITS ]);
102100
103101/**
104102 * @brief Determine whether or not a given point is on the chosen elliptic curve
You can’t perform that action at this time.
0 commit comments