From 7b94ee3d0e2b5dd86dde0ffd02779f7aa826989d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 7 Mar 2004 22:29:54 +0000 Subject: [PATCH] comment describing message formats git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13470 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/gssapi/arcfour.c | 21 ++++++++++++++++++++- lib/gssapi/krb5/arcfour.c | 21 ++++++++++++++++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/lib/gssapi/arcfour.c b/lib/gssapi/arcfour.c index 571913d37..c1daf7c01 100644 --- a/lib/gssapi/arcfour.c +++ b/lib/gssapi/arcfour.c @@ -33,11 +33,30 @@ #include "gssapi_locl.h" +RCSID("$Id$"); + /* * Implements draft-brezak-win2k-krb-rc4-hmac-04.txt + * + * The arcfour message have the following formats: + * + * MIC token + * TOK_ID[2] = 01 01 + * SGN_ALG[2] = 11 00 + * Filler[4] + * SND_SEQ[8] + * SGN_CKSUM[8] + * + * WRAP token + * TOK_ID[2] = 02 01 + * SGN_ALG[2]; + * SEAL_ALG[2] + * Filler[2] + * SND_SEQ[2] + * SGN_CKSUM[8] + * Confounder[8] */ -RCSID("$Id$"); static krb5_error_code arcfour_mic_key(krb5_context context, krb5_keyblock *key, diff --git a/lib/gssapi/krb5/arcfour.c b/lib/gssapi/krb5/arcfour.c index 571913d37..c1daf7c01 100644 --- a/lib/gssapi/krb5/arcfour.c +++ b/lib/gssapi/krb5/arcfour.c @@ -33,11 +33,30 @@ #include "gssapi_locl.h" +RCSID("$Id$"); + /* * Implements draft-brezak-win2k-krb-rc4-hmac-04.txt + * + * The arcfour message have the following formats: + * + * MIC token + * TOK_ID[2] = 01 01 + * SGN_ALG[2] = 11 00 + * Filler[4] + * SND_SEQ[8] + * SGN_CKSUM[8] + * + * WRAP token + * TOK_ID[2] = 02 01 + * SGN_ALG[2]; + * SEAL_ALG[2] + * Filler[2] + * SND_SEQ[2] + * SGN_CKSUM[8] + * Confounder[8] */ -RCSID("$Id$"); static krb5_error_code arcfour_mic_key(krb5_context context, krb5_keyblock *key,