Changes

Jump to navigation Jump to search
327 bytes added ,  17:20, 15 April 2022
More clear information about exponents on RSA context
Line 165: Line 165:  
| 0x204
 
| 0x204
 
| 0x1
 
| 0x1
| 0 = Public Exponent, 1 = Private Exponent
+
| Exponent Type. 0 = Short Exponent, 1 = Long Exponent. See notes below.
 
|-
 
|-
 
| 0x205
 
| 0x205
Line 173: Line 173:     
This context structure is fixed to 0x208-bytes.
 
This context structure is fixed to 0x208-bytes.
 +
 +
Notes on exponents:
 +
* When the type is a short exponent, the exponent field is used as an u32 field with little endianness.
 +
** An example use of this type is to load the common public exponent, 0x10001.
 +
* When a long exponent is set, the exponent field is a buffer of a big endian number instead.
26

edits

Navigation menu