Re: KITTEN: IETF 75 - 76

Love Hörnquist Åstrand <lha@kth.se> Wed, 02 September 2009 05:28 UTC

Return-Path: <lha@kth.se>
X-Original-To: kitten@core3.amsl.com
Delivered-To: kitten@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 00F363A683B for <kitten@core3.amsl.com>; Tue, 1 Sep 2009 22:28:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.582
X-Spam-Level:
X-Spam-Status: No, score=-3.582 tagged_above=-999 required=5 tests=[AWL=0.067, BAYES_00=-2.599, HELO_EQ_SE=0.35, MANGLED_AVOID=2.3, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13vjnyvLTwTN for <kitten@core3.amsl.com>; Tue, 1 Sep 2009 22:28:00 -0700 (PDT)
Received: from smtp-1.sys.kth.se (smtp-1.sys.kth.se [130.237.32.175]) by core3.amsl.com (Postfix) with ESMTP id D9F673A692F for <kitten@ietf.org>; Tue, 1 Sep 2009 22:26:48 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 700F91557D3; Wed, 2 Sep 2009 07:24:36 +0200 (CEST)
X-Virus-Scanned: by amavisd-new at kth.se
Received: from smtp-1.sys.kth.se ([127.0.0.1]) by localhost (smtp-1.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id W72qMgVfzGRN; Wed, 2 Sep 2009 07:24:28 +0200 (CEST)
X-KTH-Auth: lha [2002:6334:ca6c:0:21e:c2ff:fec5:249f]
Received: from [IPv6:2002:6334:ca6c::21e:c2ff:fec5:249f] (unknown [IPv6:2002:6334:ca6c:0:21e:c2ff:fec5:249f]) by smtp-1.sys.kth.se (Postfix) with ESMTP id 89ECD1551FC; Wed, 2 Sep 2009 07:24:27 +0200 (CEST)
Subject: Re: KITTEN: IETF 75 - 76
Mime-Version: 1.0 (Apple Message framework v1075.2)
Content-Type: text/plain; charset="iso-8859-1"; format="flowed"; delsp="yes"
From: Love Hörnquist Åstrand <lha@kth.se>
In-Reply-To: <20090901225401.GB1033@Sun.COM>
Date: Tue, 01 Sep 2009 22:23:54 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <A23DC306-4850-411C-90B7-FB1EA6ADE484@kth.se>
References: <4A87A69A.3050408@sun.com> <4A87E02D.7030503@isode.com> <200908180013.29152.leifj@mnt.se> <20090901131202.137bdd90.miallen@ioplex.com> <20090901173110.GL1033@Sun.COM> <396484EF-9812-40CE-9221-F1A1319FD10B@kth.se> <20090901181307.fe1d4efa.miallen@ioplex.com> <98F14484-1B48-45A1-86E7-5E78383F5109@kth.se> <20090901222059.GZ1033@Sun.COM> <DF47A5E3-4E27-4174-9921-102D1667711E@kth.se> <20090901225401.GB1033@Sun.COM>
To: Nicolas Williams <Nicolas.Williams@sun.com>
X-Mailer: Apple Mail (2.1075.2)
Cc: "kitten@ietf.org" <kitten@ietf.org>
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 05:28:02 -0000

1 sep 2009 kl. 15:54 skrev Nicolas Williams:

> On Tue, Sep 01, 2009 at 03:39:33PM -0700, Love Hörnquist Åstrand  
> wrote:
>> 1 sep 2009 kl. 15:20 skrev Nicolas Williams:
>>> I agree.  Callbacks are easy.  My construction (for ISC) is simpler:
>>> no need for all the ISC output args in the callback.
>>
>> So what is input token for the second call ? Can input token be freed
>> between first and second call ?
>
> It should be the same as in the previous call.  But that can be  
> relaxed
> -- we could say that the mech must keep an internal copy if it will
> continue needing it after the first call.
>
>> Why do I have to pass all those argument that might (or might not) do
>> something.
>
> If it's hard to track them you can always place them in the callback
> function's argument -- a void * that would be a pointer to a struct  
> with
> all the context that the callback needs, including those GISC args if
> you're not storing them elsewhere.

I find this more complicated then just returning the values to the  
callback function.

In fact, I find it more complicated to have my callback function have  
to save values so it can call the same function is just was called  
from just to call the called function again. It just doesn't make sense.

Love