Exponentiation by products in the generic group model #
Group multiplication (product) and repeated-squaring exponentiation (power) over
GroupOracleSpec n S ([BS23], Section 16.1.2, pp. 684–686). power ℓ k returns
pure ℓ for k ≤ 1 because no label of 0 is held, so evalPure_power assumes 1 ≤ k.
Bounds count only GroupQuery.IsProduct calls (worst case over oracle replies); the constant
2 is this library's, exponent arithmetic is not costed, and no machine-model bound is claimed.
Main definitions #
Main results #
Cslib.Crypto.GenericGroup.evalPure_product,Cslib.Crypto.GenericGroup.evalPure_power,Cslib.Crypto.GenericGroup.queriesSatisfy_product,Cslib.Crypto.GenericGroup.isQueryBounded_product,Cslib.Crypto.GenericGroup.queriesSatisfy_power,Cslib.Crypto.GenericGroup.isQueryBounded_power.
References #
- D. Boneh, V. Shoup, A Graduate Course in Applied Cryptography, Section 16.1.2, pp. 684–686.
Multiply a and b via one .op a b 1 1 call; a rejected call (none) returns a.
Repeated-squaring exponentiation in GroupOracleSpec n S; returns pure ℓ for k ≤ 1.
Every query made by product is a product (GroupQuery.IsProduct).
product makes at most 1 oracle query on every path.
Every query made by power is a product (GroupQuery.IsProduct).
Against any oracle that multiplies labels of L, product outputs L (β₁ + β₂).
Against any oracle that multiplies labels of L, power (L β) k outputs L (k * β) for
1 ≤ k.