(+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 <herb...@gondor.apana.org.au>
> 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

Reply via email to