Add a return value to keymat_v1_t.get_hash()
This commit is contained in:
@@ -101,11 +101,12 @@ struct keymat_v1_t {
|
||||
* @param ike_sa_id IKE_SA identifier
|
||||
* @param sa_i encoded SA payload of initiator
|
||||
* @param id encoded IDii payload for HASH_I (IDir for HASH_R)
|
||||
* @return allocated HASH data
|
||||
* @param hash chunk receiving allocated HASH data
|
||||
* @return TRUE if hash allocated successfully
|
||||
*/
|
||||
chunk_t (*get_hash)(keymat_v1_t *this, bool initiator,
|
||||
bool (*get_hash)(keymat_v1_t *this, bool initiator,
|
||||
chunk_t dh, chunk_t dh_other, ike_sa_id_t *ike_sa_id,
|
||||
chunk_t sa_i, chunk_t id);
|
||||
chunk_t sa_i, chunk_t id, chunk_t *hash);
|
||||
|
||||
/**
|
||||
* Get HASH data for integrity/authentication in Phase 2 exchanges.
|
||||
|
||||
Reference in New Issue
Block a user