◆ jpoly1305() [1/2]
Constructor for JPOLY1305 algorithm
- Parameters
-
| key | - initialization key |
| length | - length of the key in bytes (32) |
◆ jpoly1305() [2/2]
Constructor for JPOLY1305 algorithm with context
- Parameters
-
| ctx | - context from previous session |
◆ context()
Returns the context of JPOLY1305
- Parameters
-
| ctx | - context of the engine |
| length | - length of the context in bytes (144) |
◆ ProcessData()
Calculates the MAC using JPOLY1305
- Parameters
-
| input | - data to hash |
| length | - length of the input data |
◆ result()
Returns the MAC using JPOLY1305
- Parameters
-
| mac | - result of the hash calculation |
| length | - length of the MAC data |
The documentation for this class was generated from the following files:
- include/jpoly1305.h
- include/poly1305-16.h
- include/poly1305-32.h
- include/poly1305-64.h
- include/poly1305-8.h