commit | 4fd15465c364df9b8a5976ca19a99cd11f9e200a | [log] [tgz] |
---|---|---|
author | Prabal Singh <prabalsingh@google.com> | Mon Dec 04 11:20:02 2023 +0000 |
committer | Prabal Singh <prabalsingh@google.com> | Mon Dec 04 12:24:12 2023 +0000 |
tree | a13d263ac4e39c976b0c912228d44557961dbedf | |
parent | 312466a9ae7d9c154d426d9e40ba347226b19e47 [diff] | |
parent | 26b2c690fcfc019b5a7ae55fec2d1fd117809c52 [diff] |
Merge branch 'goog/mirror-aosp-main' We had a seperate CL submitted to merge aosp/upstream-main into aosp/main which updated the goog/mirror-aosp-main as well. Now this CL is updating udc-mainline-prod by merging goog/mirror-aosp-main into goog/udc-mainline-prod. Bug: b/309948071 Change-Id: I5d845e4a6d61cb7f548a148b1501e3c962df1628
An anonymous counting token (ACT) scheme allows Clients to obtain blind signatures or MACs (aka tokens) on messages of their choice, while at the same time enabling Issuers to enforce rate limits on the number of tokens that a client can obtain for each message. Specifically,
This repository implements a variant of the scheme described in [1], which is secure in the random oracle model under the q-DDHI assumption (in a cyclic group) and the DCR assumption. The variant implemented here relaxes the proven soundness guarantee to the non-concurrent setting. It also assumes that the server generates its parameters correctly. Future versions will support server proofs for correct parameter generation.
This implementation also supports batched token issuance. Batched token issuance can have significant performance benefits as compared to individual token issuance.
[1] “Anonymous Counting Tokens.” Fabrice Benhamouda, Mariana Raykova, Karn Seth.
This repository requires Bazel. You can install Bazel by following the instructions for your platform on the Bazel website.
Once you have installed Bazel you can clone this repository and run all tests that are included by navigating into the root folder and running:
bazel test //...
This is not an officially supported Google product. The code is provided as-is, with no guarantees of correctness or security.