[krbdev.mit.edu #7705] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Thu Sep 19 00:20:31 EDT 2013


Add GSSAPI IOV MIC functions

Add gss_get_mic_iov, gss_get_mic_iov_length, and gss_verify_mic_iov
functions, which work similarly to the corresponding IOV wrap
functions.  Add a new buffer type GSS_IOV_BUFFER_TYPE_MIC_TOKEN for
the destination buffer.

Most of the internal code for this was already present, and just
needed to be fixed up and adjusted to use the new buffer type for the
MIC token.

https://github.com/krb5/krb5/commit/d750ef3130b76dd079e863ed395eb3620a37386b
Author: Greg Hudson <ghudson at mit.edu>
Commit: d750ef3130b76dd079e863ed395eb3620a37386b
Branch: master
 src/lib/gssapi/generic/gssapi_ext.h    |   41 +++++++++++++++
 src/lib/gssapi/krb5/gssapiP_krb5.h     |   34 +++++++++++-
 src/lib/gssapi/krb5/gssapi_krb5.c      |    6 ++
 src/lib/gssapi/krb5/k5sealiov.c        |   49 +++++++++---------
 src/lib/gssapi/krb5/k5sealv3iov.c      |   15 +++--
 src/lib/gssapi/krb5/k5unsealiov.c      |   15 ++---
 src/lib/gssapi/krb5/util_cksum.c       |   19 ++++---
 src/lib/gssapi/krb5/util_crypt.c       |   11 ++++
 src/lib/gssapi/libgssapi_krb5.exports  |    3 +
 src/lib/gssapi/mechglue/g_unwrap_iov.c |   25 +++++++++
 src/lib/gssapi/mechglue/g_wrap_iov.c   |   49 +++++++++++++++++
 src/lib/gssapi/mechglue/mglueP.h       |   29 ++++++++++
 src/lib/gssapi/spnego/gssapiP_spnego.h |   27 ++++++++++
 src/lib/gssapi/spnego/spnego_mech.c    |   33 ++++++++++++
 src/lib/gssapi32.def                   |    4 ++
 src/tests/gssapi/t_iov.c               |   89 ++++++++++++++++++++++++++++++++
 16 files changed, 399 insertions(+), 50 deletions(-)



More information about the krb5-bugs mailing list