Support signing of RADIUS accounting messages

This commit is contained in:
Martin Willi
2012-01-30 19:13:20 +01:00
parent 370de553f8
commit a69aff5f17
3 changed files with 26 additions and 10 deletions
@@ -238,8 +238,11 @@ struct radius_message_t {
*
* @param rng RNG to create Request-Authenticator
* @param signer HMAC-MD5 signer with secret set
* @param hasher MD5 hasher
* @param secret shared RADIUS secret
*/
void (*sign)(radius_message_t *this, rng_t *rng, signer_t *signer);
void (*sign)(radius_message_t *this, rng_t *rng, signer_t *signer,
hasher_t *hasher, chunk_t secret);
/**
* Verify the integrity of a received RADIUS response.