summaryrefslogtreecommitdiff
path: root/src/include/taler_crypto_lib.h
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2022-11-02 12:36:28 +0100
committerFlorian Dold <florian@dold.me>2022-11-02 12:36:28 +0100
commit9169f4447e1f36632c20e4291aafee7cc1721216 (patch)
tree44c58b8a665c0132a8069ddf3944557b37ceb391 /src/include/taler_crypto_lib.h
parent34f46382f0c0afc0babf5b7cbdfd83869b620c33 (diff)
downloadexchange-9169f4447e1f36632c20e4291aafee7cc1721216.tar.gz
exchange-9169f4447e1f36632c20e4291aafee7cc1721216.tar.bz2
exchange-9169f4447e1f36632c20e4291aafee7cc1721216.zip
age mask clarification
Diffstat (limited to 'src/include/taler_crypto_lib.h')
-rw-r--r--src/include/taler_crypto_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/taler_crypto_lib.h b/src/include/taler_crypto_lib.h
index 73b92fe86..4c478cefd 100644
--- a/src/include/taler_crypto_lib.h
+++ b/src/include/taler_crypto_lib.h
@@ -1138,6 +1138,9 @@ struct TALER_BlindedDenominationSignature
*
* A value of 0 means that the exchange does not support the extension for
* age-restriction.
+ *
+ * For a non-0 age mask, the 0th bit always must be set, otherwise the age
+ * mask is considered invalid.
*/
struct TALER_AgeMask
{