|
Functions |
| int32_t | getDigestLength (uint32_t type) |
| | Get length of digest for a given prf algorithm.
|
| int | PrfKeyLenValid (uint32_t type, uint32_t keylen) |
| | Check for valid prf key length. Current implamentation always return success.
|
| void | prf (uint8_t *key, uint32_t klen, const uint8_t *text, uint32_t tlen, uint8_t **res, uint32_t *rlen, uint32_t prftype) |
| | Pseudo random function (prf).
|
| void | prf_plus (uint8_t *key, uint32_t klen, uint8_t *text, uint32_t tlen, uint8_t **res, uint32_t rlen, uint32_t prftype) |
| | Pseudo random function for longer results (prf+).
|