botan ~master (2022-02-12T10:32:24.1966592)
Dub
Repo
ModularReducer.square
botan
math
numbertheory
reducer
ModularReducer
Square mod p
struct
ModularReducer
const
BigInt
square
()
(
const
(
BigInt
)*
x
)
Parameters
x
const
(
BigInt
)*
integer
Return Value
Type:
BigInt
(x * x) % p
Meta
Source
See Implementation
botan
math
numbertheory
reducer
ModularReducer
constructors
this
functions
cube
getModulus
initialized
multiply
reduce
square
properties
dup
Square mod p