Thread (1 message) 1 message, 1 author, 2019-07-05

FW: skcipher and aead API question

From: Pascal Van Leeuwen <hidden>
Date: 2019-07-05 15:51:02

(+mailing list +davem)
quoted
quoted
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 [off-list ref]
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help