New experimental EC implementation (P-256, only 32-bit multiplications, meant for...
[BearSSL] / inc / bearssl_ec.h
index 036cdfa..336c89c 100644 (file)
@@ -369,6 +369,16 @@ typedef struct {
  */
 extern const br_ec_impl br_ec_prime_i31;
 
+/**
+ * \brief EC implementation "i15" for P-256.
+ *
+ * This implementation uses specialised code for curve secp256r1 (also
+ * known as NIST P-256), with Karatsuba decomposition, and fast modular
+ * reduction thanks to the field modulus special format. Only 32-bit
+ * multiplications are used (with 32-bit results, not 64-bit).
+ */
+extern const br_ec_impl br_ec_p256_i15;
+
 /**
  * \brief Convert a signature from "raw" to "asn1".
  *