summaryrefslogtreecommitdiff
path: root/src/util/age_restriction.c
AgeCommit message (Collapse)Author
2022-06-26-fix valgrind complaintsÖzgür Kesim
2022-04-27-fix derivation, loggingFlorian Dold
2022-04-26age restriction: make seed a HashCode due to endianess and security level ↵Florian Dold
concerns
2022-04-26-remove debug loggingFlorian Dold
2022-04-26various age restriction fixes, some of them half-bakedFlorian Dold
2022-04-26-use uint32_t instead of uint8_t + padding for the ageÖzgür Kesim
2022-04-26use htonl, not GNUNET_htonllFlorian Dold
2022-04-26fix age attestation signature padding and endianessFlorian Dold
2022-04-22-fixed tests for age restriction, now using correct seedÖzgür Kesim
2022-04-21Fixed seed size for TALER_age_restriction_commitÖzgür Kesim
Also, added src/util/tv_age_restriction.{c,json} for/as test vectors for age restriction.
2022-03-28-rename variableÖzgür Kesim
2022-03-28[age restriction] progress 19/19 (final) - Use Edx25519 for cryptoÖzgür Kesim
We switch from EcDSA to Edx25519 for the underlying signature scheme. Edx25519 is implemented in gnunet, starting with (gnunet-)commit ce38d1f6c9bd7857a1c3bc2094a0ee9752b86c32.
2022-03-22implement helper functions for p2p signatures, clean up existing signature logicChristian Grothoff
2022-03-08-ensure label has no zero bytesÖzgür Kesim
2022-03-03[age restriction] progress 18/n - attestation testedÖzgür Kesim
- Unit-tests for commit, derive, attest and verify added, with multiple combinations of minimum age and commited age. - Fixed crypto implementation (eddsa -> ecdsa) - Using now standard functionality from GNUNET: GNUNET_CRYPTO_ecdsa_{private,public}_key_derive All tests pass (unit tests in util/ and 'make check' in testing).
2022-03-02-refactor TALER_AgeMask.mask -> TALER_AgeMask.bitsÖzgür Kesim
also: fix off-by-one in TALER_age_restriction_commit
2022-03-01[age restriction] progress 17/n - attestation implementedÖzgür Kesim
- functions TALER_age_commitment_attest and TALER_age_commitment_verify implemented. - age restriction implementation moved into util/age_restriction.c