]> Git Repo - secp256k1.git/blobdiff - src/scalar.h
Merge #701: Make ec_ arithmetic more consistent and add documentation
[secp256k1.git] / src / scalar.h
index da711788c60b3852a1304de8a885f0df5ed58863..6dc7574ca82bcbf3b568a76261fdea013dbb0bde 100644 (file)
@@ -39,6 +39,10 @@ static unsigned int secp256k1_scalar_get_bits_var(const secp256k1_scalar *a, uns
  */
 static void secp256k1_scalar_set_b32(secp256k1_scalar *r, const unsigned char *bin, int *overflow);
 
+/** Set a scalar from a big endian byte array and returns 1 if it is a valid
+ *  seckey and 0 otherwise. */
+static int secp256k1_scalar_set_b32_seckey(secp256k1_scalar *r, const unsigned char *bin);
+
 /** Set a scalar to an unsigned integer. */
 static void secp256k1_scalar_set_int(secp256k1_scalar *r, unsigned int v);
 
This page took 0.022656 seconds and 4 git commands to generate.