iPXE
x25519_multiply_step3 Union Reference

X25519 multiplication step 3 result. More...

Detailed Description

X25519 multiplication step 3 result.

Step 3 of X25519 multiplication is to multiply the high-order 11 bits from step 2 with the 6-bit reduction constant 38, and to add this to the low-order 256 bits from step 2.

The multiplication inputs are limited to 11 and 6 bits respectively, and so the product will have at most 17 bits. After adding the low-order 256 bits from step 2, the result will have at most 257 bits.

Definition at line 188 of file x25519.c.


The documentation for this union was generated from the following file: