forked from wolfSSL/wolfssl
remove C++ comments
This commit is contained in:
@ -13295,8 +13295,6 @@ static int SetECKeyExternal(WOLFSSL_EC_KEY* eckey)
|
|||||||
return SSL_FATAL_ERROR;
|
return SSL_FATAL_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
//eckey->pub_key->internal = (ecc_point*)&(key->pubkey);
|
|
||||||
|
|
||||||
/* set the external pubkey (point) */
|
/* set the external pubkey (point) */
|
||||||
if (SetECPointExternal(eckey->pub_key) < 0) {
|
if (SetECPointExternal(eckey->pub_key) < 0) {
|
||||||
WOLFSSL_MSG("SetECKeyExternal SetECPointExternal failed");
|
WOLFSSL_MSG("SetECKeyExternal SetECPointExternal failed");
|
||||||
@ -13913,7 +13911,6 @@ int wolfSSL_EC_POINT_get_affine_coordinates_GFp(const WOLFSSL_EC_GROUP *group, c
|
|||||||
WOLFSSL_BIGNUM *x, WOLFSSL_BIGNUM *y, WOLFSSL_BN_CTX *ctx)
|
WOLFSSL_BIGNUM *x, WOLFSSL_BIGNUM *y, WOLFSSL_BN_CTX *ctx)
|
||||||
{
|
{
|
||||||
(void)ctx;
|
(void)ctx;
|
||||||
//ecc_point *p;
|
|
||||||
|
|
||||||
WOLFSSL_ENTER("wolfSSL_EC_POINT_get_affine_coordinates_GFp");
|
WOLFSSL_ENTER("wolfSSL_EC_POINT_get_affine_coordinates_GFp");
|
||||||
|
|
||||||
@ -13931,8 +13928,6 @@ int wolfSSL_EC_POINT_get_affine_coordinates_GFp(const WOLFSSL_EC_GROUP *group, c
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//p = (ecc_point*)point->internal;
|
|
||||||
|
|
||||||
BN_copy(x, point->X);
|
BN_copy(x, point->X);
|
||||||
BN_copy(y, point->Y);
|
BN_copy(y, point->Y);
|
||||||
|
|
||||||
|
@ -235,8 +235,6 @@
|
|||||||
* It defaults to 4096-bits [allowing multiplications upto 2048x2048 bits ]
|
* It defaults to 4096-bits [allowing multiplications upto 2048x2048 bits ]
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* For DH with 3072 bits key size */
|
|
||||||
//#define FP_MAX_BITS 32768
|
|
||||||
|
|
||||||
#ifndef FP_MAX_BITS
|
#ifndef FP_MAX_BITS
|
||||||
#define FP_MAX_BITS 4096
|
#define FP_MAX_BITS 4096
|
||||||
|
Reference in New Issue
Block a user