#include <pseudorandomfunction.h>
Public Member Functions | |
| virtual auto_ptr< ByteArray > | prf (ByteArray &key, ByteArray &data)=0 |
| Computes the PRF value, using the indicated parameters. | |
| virtual auto_ptr< ByteArray > | prfPlus (ByteArray &key, ByteArray &sequence, uint32_t needed_size) |
| Computes the PRF+ value, using the indicated parameters. | |
Public Attributes | |
| uint32_t | prf_size |
| PRF result value size. | |
| virtual auto_ptr<ByteArray> openikev2::PseudoRandomFunction::prf | ( | ByteArray & | key, | |
| ByteArray & | data | |||
| ) | [pure virtual] |
Computes the PRF value, using the indicated parameters.
| key | Key | |
| data | Data to compute the PRF value |
| auto_ptr< ByteArray > openikev2::PseudoRandomFunction::prfPlus | ( | ByteArray & | key, | |
| ByteArray & | sequence, | |||
| uint32_t | needed_size | |||
| ) | [virtual] |
Computes the PRF+ value, using the indicated parameters.
| key | Key | |
| sequence | Sequence (S) | |
| needed_size | Needed key material size |
1.5.1