Thread (5 messages) 5 messages, 3 authors, 2018-10-17

Re: [PATCH] net-xfrm: add build time cfg option to PF_KEY SHA256 to use RFC4868-compliant truncation

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2018-10-17 13:53:59

Maciej Żenczykowski [off-list ref] wrote:
+#if IS_ENABLED(CONFIG_XFRM_HMAC_SHA256_RFC4868)
+                       .icv_truncbits = 128,
+#else
                       .icv_truncbits = 96,
+#endif
Nack.  We don't want a build-time configuration knob for this.
This needs to be decided at run-time.

In fact you can already do this at run-time anyway through the
xfrm interface.  So please please please just ditch whatever that
you're using that's still glued to the long-obsolete (more than a
decade) af_key interface and switch it over to xfrm.

Thanks,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help