tag | d59e33cb78bba6e4eeb5769c737360acc3d39134 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Tue Mar 12 15:48:54 2024 -0700 |
object | ad7c504cb0c9d5652939121b5cc6d915923b1c37 |
aml_per_341410020
commit | ad7c504cb0c9d5652939121b5cc6d915923b1c37 | [log] [tgz] |
---|---|---|
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Nov 08 02:12:54 2023 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Nov 08 02:12:54 2023 +0000 |
tree | 5931f3c1591da339e44618fd24da62048bde1704 | |
parent | ddddca82a1cb1c103f1ade6325afe49730e8503e [diff] | |
parent | 312466a9ae7d9c154d426d9e40ba347226b19e47 [diff] |
Snap for 11061258 from 312466a9ae7d9c154d426d9e40ba347226b19e47 to mainline-permission-release Change-Id: Id213bd70850cb7ed2d7d1665a1149f0e8122d905
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.