Kind: global class
this: {FP24}
Creates an instance of FP24.
Reduces all components of possibly unreduced FP24 mod Modulus
Kind: instance method of FP24
this: {FP24}
Normalises the components of an FP24
Kind: instance method of FP24
this: {FP24}
Tests for FP24 equal to zero
Kind: instance method of FP24
this: {FP24}
Tests for FP24 equal to unity
Kind: instance method of FP24
this: {FP24}
Conditional copy of FP24 number
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
g | FP24 instance |
d | copy depends on this value |
Constant time select from pre-computed table
Kind: instance method of FP24
this: {FP24}
extract a from this
Kind: instance method of FP24
this: {FP24}
extract b from this
Kind: instance method of FP24
this: {FP24}
extract c from this
Kind: instance method of FP24
this: {FP24}
Tests for equality of two FP24s
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
x | FP24 instance to compare |
Copy FP24 to another FP24
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
x | FP24 instance to be copied |
Set FP24 to unity
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
x | FP24 instance to be set to one |
Set FP24 to zero
Kind: instance method of FP24
this: {FP24}
Conjugation of FP24
Kind: instance method of FP24
this: {FP24}
Set FP24 from three FP8 values
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
d | FP8 instance |
e | FP8 instance |
f | FP8 instance |
Set FP24 from one FP8 value
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
c | FP8 instance |
Fast Squaring of an FP24 in “unitary” form
Kind: instance method of FP24
this: {FP24}
Fast Squaring of an FP24
Kind: instance method of FP24
this: {FP24}
Full unconditional Multiplication of two FP24s
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
y | FP24 instance, the multiplier |
Fast multiplication of two sparse FP24s that arises from ATE pairing line functions
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
y | FP24 instance, the multiplier |
Fast multiplication of what may be sparse multiplicands
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
y | FP24 instance, the multiplier |
Inverting an FP24
Kind: instance method of FP24
this: {FP24}
Raises an FP24 to the power of the internal modulus p, using the Frobenius
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
f | Modulus |
Calculate the trace of an FP24
Kind: instance method of FP24
this: {FP24}
convert this to hex string
Kind: instance method of FP24
this: {FP24}
convert this to byte array
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
w | Byte array |
Raises an FP24 to the power of a BIG
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
e | BIG instance exponent |
Raises an FP24 instance x to a small integer power, side-channel resistant
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
e | small integer exponent |
bts | maximum number of bits in exponent |
Raises an FP24 instance to a BIG power, compressed to FP4
Kind: instance method of FP24
this: {FP24}
Param | Description |
---|---|
e | BIG exponent |
r | BIG group order |
convert from byte array to FP24
Kind: static method of FP24
this: {FP24}
Param | Description |
---|---|
w | Byte array |
return 1 if b==c, no branching
Kind: static method of FP24
this: {FP24}
p=q0^u0.q1^u1.q2^u2.q3^u3...
Kind: static method of FP24
this: {FP24}