prf_plus_create() can return NULL on failure

This commit is contained in:
Martin Willi
2012-07-16 14:53:33 +02:00
parent 8207fe3eb3
commit edd54734c8
3 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ struct prf_plus_t {
* @param prf prf object to use, must be destroyd after prf+.
* @param counter use an appending counter byte (for IKEv2 variant)
* @param seed input seed for prf
* @return prf_plus_t object
* @return prf_plus_t object, NULL on failure
*/
prf_plus_t *prf_plus_create(prf_t *prf, bool counter, chunk_t seed);