Documentation ¶
Overview ¶
The API for operations relating to [32]vars.Bit inside circuits.
Index ¶
- type API
- func (a *API) Add(in ...[32]vars.Bool) [32]vars.Bool
- func (a *API) And(in ...[32]vars.Bool) [32]vars.Bool
- func (a *API) Not(i1 [32]vars.Bool) [32]vars.Bool
- func (a *API) Rotate(i1 [32]vars.Bool, offset int) [32]vars.Bool
- func (a *API) Shr(i1 [32]vars.Bool, offset int) [32]vars.Bool
- func (a *API) Xor(in ...[32]vars.Bool) [32]vars.Bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
An API used for operations related to [32]vars.Bit.
func (*API) Add ¶
Computes the binary sum of two 32 bit arrays. Equivalently, think of this as addition modulo 2^32.
Click to show internal directories.
Click to hide internal directories.