aboutsummaryrefslogtreecommitdiff
path: root/src/util/crypto_confirmation.c
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2023-03-13 09:17:44 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2023-03-13 09:17:44 +0100
commit838f6b7f1de097f503b619dfc04766578882360d (patch)
treeb0689e8d781ce6c654c34106484500d7d1e24aee /src/util/crypto_confirmation.c
parent837c53552e5b2cb7703b069e77d3de02d693c025 (diff)
downloadexchange-838f6b7f1de097f503b619dfc04766578882360d.tar.xz
-fix comments for doxygen
Diffstat (limited to 'src/util/crypto_confirmation.c')
-rw-r--r--src/util/crypto_confirmation.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/util/crypto_confirmation.c b/src/util/crypto_confirmation.c
index 63d597fd3..c5a674501 100644
--- a/src/util/crypto_confirmation.c
+++ b/src/util/crypto_confirmation.c
@@ -163,6 +163,14 @@ base32decode (const char *val,
}
+/**
+ * @brief Builds POS confirmation to verify payment.
+ *
+ * @param h_key opaque key for the totp operation
+ * @param h_key_len size of h_key in bytes
+ * @param ts current time
+ * @return Token on success, NULL of failure
+ */
static char *
executive_totp (void *h_key,
size_t h_key_len,
@@ -201,15 +209,6 @@ executive_totp (void *h_key,
}
-/**
- * @brief Builds POS confirmation to verify payment.
- *
- * @param pos_key base32 (RFC 3548, not Crockford!) encoded key for verification payment
- * @param pos_alg algorithm to compute the payment verification
- * @param total of the order paid
- * @param ts is the current time given
- * @return Token on success, NULL of failure
- */
char *
TALER_build_pos_confirmation (const char *pos_key,
enum TALER_MerchantConfirmationAlgorithm pos_alg,