krb5: Use iovecs internally for checksum verification

When verifying checksums, pass iovecs through to the individual
verify routines.
This commit is contained in:
Simon Wilkinson
2018-05-14 15:00:05 +01:00
committed by Jeffrey Altman
parent ca756f0f7f
commit 8f947638c7
5 changed files with 19 additions and 14 deletions

View File

@@ -103,8 +103,8 @@ struct _krb5_checksum_type {
Checksum *csum);
krb5_error_code (*verify)(krb5_context context,
struct _krb5_key_data *key,
const void *buf, size_t len,
unsigned usage,
const struct krb5_crypto_iov *iov, int niov,
Checksum *csum);
};