XSalsa20 stream cipher operation.
More...
#include <salsa.h>
XSalsa20 stream cipher operation.
- Since
- Crypto++ 5.4
Definition at line 82 of file salsa.h.
◆ CipherSetKey()
void XSalsa20_Policy::CipherSetKey |
( |
const NameValuePairs & | params, |
|
|
const byte * | key, |
|
|
size_t | length ) |
|
virtual |
Key the cipher.
- Parameters
-
params | set of NameValuePairs use to initialize this object |
key | a byte array used to key the cipher |
length | the size of the key array |
Reimplemented from Salsa20_Policy.
Definition at line 708 of file salsa.cpp.
◆ CipherResynchronize()
void XSalsa20_Policy::CipherResynchronize |
( |
byte * | keystreamBuffer, |
|
|
const byte * | iv, |
|
|
size_t | length ) |
|
virtual |
Resynchronize the cipher.
- Parameters
-
keystreamBuffer | the keystream buffer |
iv | a byte array used to resynchronize the cipher |
length | the size of the IV array |
Reimplemented from Salsa20_Policy.
Definition at line 725 of file salsa.cpp.
The documentation for this class was generated from the following files: