botan ~master (2020-08-19T17:56:38Z)
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