diff --git a/src/secp256k1/CMakeLists.txt b/src/secp256k1/CMakeLists.txt --- a/src/secp256k1/CMakeLists.txt +++ b/src/secp256k1/CMakeLists.txt @@ -77,15 +77,15 @@ # on 32bits implementations for field and scalar. endif() -# Detect if we are on a 32 or 64 bits plateform and chose -# scalar and filed implementation accordingly +# Detect if we are on a 32 or 64 bits platform and chose +# scalar and field implementation accordingly. if(CMAKE_SIZEOF_VOID_P EQUAL 8) - # 64 bits implementationr require either __int128 or asm support. + # 64 bits implementation require either __int128 or asm support. if (HAVE___INT128 OR USE_ASM_X86_64) set(USE_SCALAR_4X64 1) set(USE_FIELD_5X52 1) else() - message(SEND_ERROR "Compiler does not support __int128 or insline assembly") + message(SEND_ERROR "Compiler does not support __int128 or inline assembly") endif() else() set(USE_SCALAR_8X32 1) @@ -135,8 +135,8 @@ set(ENABLE_MODULE_SCHNORR 1) endif() -# Static precomputation for eliptic curve mutliplication -option(SECP256K1_ECMULT_STATIC_PRECOMPUTATION "Precompute libsecp256k1's eliptic curve mutliplication tables" ON) +# Static precomputation for elliptic curve multiplication +option(SECP256K1_ECMULT_STATIC_PRECOMPUTATION "Precompute libsecp256k1's elliptic curve multiplication tables" ON) if(SECP256K1_ECMULT_STATIC_PRECOMPUTATION) set(USE_ECMULT_STATIC_PRECOMPUTATION 1)