aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorpriscilla <priscilla.huang@efrei.net>2023-03-02 09:54:54 -0500
committerpriscilla <priscilla.huang@efrei.net>2023-03-02 09:55:24 -0500
commitb46c03b2c9e7d8e5136a84b2fb3d6af8277947df (patch)
tree0618bc5b9ea058e2dcb63b31daaec4e627c83681 /src/include/taler_crypto_lib.h
parent468006c60bf6bbdd4d44b80a3ac770168e5e808a (diff)
downloadexchange-b46c03b2c9e7d8e5136a84b2fb3d6af8277947df.tar.xz
totp algorithm
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index b6ec2ed8e..db50efa10 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -591,7 +591,17 @@ enum TALER_MerchantConfirmationAlgorithm
/**
* No purchase confirmation.
*/
- TALER_MCA_NONE = 0
+ TALER_MCA_NONE = 0,
+
+ /**
+ * Purchase confirmation without payment
+ */
+ TALER_MCA_WITHOUT_PRICE = 1,
+
+ /**
+ * Purchase confirmation with payment
+ */
+ TALER_MCA_WITH_PRICE = 2
};
@@ -939,7 +949,13 @@ GNUNET_NETWORK_STRUCT_END
/**
- * FIXME.
+ * It is build pos confirmation to verify paiement.
+ *
+ * @param pos_key encoded key for verification payment
+ * @param pos_alg algorithm to compute the payment verification
+ * @param total of the order paid
+ * @parmam ts is the time given
+ *
*/
char *
TALER_build_pos_confirmation (const char *pos_key,