This commit is contained in:
@@ -53,7 +53,7 @@ struct nonce_payload_s {
|
|||||||
* The nonce must have length between 16 and 256 bytes
|
* The nonce must have length between 16 and 256 bytes
|
||||||
*
|
*
|
||||||
* @param this calling nonce_payload_t object
|
* @param this calling nonce_payload_t object
|
||||||
* @param nonce chunk containing the nonce, will NOT be cloned
|
* @param nonce chunk containing the nonce, will be cloned
|
||||||
* @return
|
* @return
|
||||||
* - SUCCESS or
|
* - SUCCESS or
|
||||||
* - INVALID_ARG, if nonce has an invalid size
|
* - INVALID_ARG, if nonce has an invalid size
|
||||||
@@ -64,11 +64,11 @@ struct nonce_payload_s {
|
|||||||
* @brief Get the nonce value.
|
* @brief Get the nonce value.
|
||||||
*
|
*
|
||||||
* @param this calling nonce_payload_t object
|
* @param this calling nonce_payload_t object
|
||||||
* @param[out] nonce chunk where nonce data is located (NOT cloned)
|
* @param[out] nonce chunk where nonce data is located (cloned)
|
||||||
* @return SUCCESS in any case
|
* @return SUCCESS in any case
|
||||||
*/
|
*/
|
||||||
status_t (*get_nonce) (nonce_payload_t *this, chunk_t *nonce);
|
status_t (*get_nonce) (nonce_payload_t *this, chunk_t *nonce);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Destroys an nonce_payload_t object.
|
* @brief Destroys an nonce_payload_t object.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user