[Drbd-dev] drbd 2.6.19 crypto changes

Lars Ellenberg Lars.Ellenberg at linbit.com
Wed Jan 10 14:48:04 CET 2007

/ 2007-01-10 13:31:16 +0100
\ Ard van Breemen:
> This is a preliminary patch as in: as far as I can see it
> *should* work.
> Biggest change in the crypto api is that calls are more
> encapsulated.
> Instead of a hmac, we talk about hash only. We allocate and free
> hash structures, independent what kind of hash.
> To calculate the digest there are now 2 calls necessary: a call
> to setkey (if you want to use a key), and a call to generate the
> digest itself.
> This patch tries to keep the changes contained at a single point.
> This means we set the hash_key 2 times instead of being clever
> and setting it once in a more central point, and use that later
> on a few times.
> Anyway: it compiles without warning, it loads, what more do we
> want.

thank you very much...
and just in time!
we started working on that api change just now :)
this probably helps a lot.

: Lars Ellenberg                            Tel +43-1-8178292-55 :
: LINBIT Information Technologies GmbH      Fax +43-1-8178292-82 :
: Vivenotgasse 48, A-1120 Vienna/Europe    http://www.linbit.com :

More information about the drbd-dev mailing list