FW: skcipher and aead API question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(+mailing list +davem)

> > > You can just read tfm->authsize as that's what the default
> > > setauthsize function will set.
> > >
> > I was referring to the case where it actually needed to be configurable.
> 
> No that's what I meant.  Look at the generic authenc template.
> It supports truncation but doesn't actually provide a setauthsize
> function.
> 
I get it. The callback is only needed to do the checking if you don't support
the full range. Otherwise the value is already conveniently stored for you :-)

> Cheers,
> --
> Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


Pascal van Leeuwen
Silicon IP Architect, Multi-Protocol Engines @ Verimatrix
www.insidesecure.com




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux