michael_mic in crypto api?
Subsystems (2)
Is there really a point to having michael_mic in crypto api? The only users are 802.11 stacks. I can imagine arc4 being used for other purposes, but michael_mic is very much wireless only. The only advantage of keeping michael_mic in crypto seems to be the testing code.
-Michael Wu
Quoted 6 lines · Michael Wu
Is there really a point to having
michael_micin crypto api? The only users are 802.11 stacks. I can imagine arc4 being used for other purposes, butmichael_micis very much wireless only. The only advantage of keepingmichael_micin crypto seems to be the testing code.-Michael Wu
Err, sent from the wrong address. Opps. Too many email addresses..
-Michael Wu
Quoted 5 lines · Michael Wu
Is there really a point to having
michael_micin crypto api? The only users are 802.11 stacks. I can imagine arc4 being used for other purposes, butmichael_micis very much wireless only. The only advantage of keepingmichael_micin crypto seems to be the testing code.
I suppose the question is that what do you gain by moving it out? If all else being equal then it's better to have a standardised interface for accessing it.
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtQuoted 4 lines · Herbert Xu
I suppose the question is that what do you gain by moving it out? If all else being equal then it's better to have a standardised interface for accessing it.
Simplicity and consistency. Whereas the relatively simple mic part of the TKIP algorithm is in crypto API, the (more important, more complicated) key mixing part is not in crypto api. It is unlikely that either the mic or key mixing part would be used separately or even outside of TKIP/802.11i code, and we don't want to encourage people anyways since they're just bandaids for problems associated with using rc4.
-Michael Wu
Quoted 7 lines · Michael Wu
Simplicity and consistency. Whereas the relatively simple mic part of the TKIP algorithm is in crypto API, the (more important, more complicated) key mixing part is not in crypto api. It is unlikely that either the mic or key mixing part would be used separately or even outside of TKIP/802.11i code, and we don't want to encourage people anyways since they're just bandaids for problems associated with using rc4.
Sure, I don't mind either way. I think Jouni wrote this originally, maybe he can share his thoughts with us?
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtQuoted 7 lines · Herbert Xu
Quoted 3 lines · Michael Wu
Simplicity and consistency. Whereas the relatively simple mic part of the TKIP algorithm is in crypto API, the (more important, more complicated) key mixing part is not in crypto api.
Sure, I don't mind either way. I think Jouni wrote this originally, maybe he can share his thoughts with us?
I was more or less told that TKIP implementation cannot be included in the kernel tree before this was moved into crypto api.. I don't really care much where it is, but since it is now in crypto api, it would sound easiest to just keep it there. If someone really wants to move it away from there and into TKIP code in ieee80211/d80211, feel free to do that. However, at least for some time, there are two different TKIP implementations (net/ieee80211 and net/d80211) so this would mean duplicating Michael MIC implementation and I would rather not do that.
Signature · 1 line
Jouni Malinen PGP id EFC895FA
Quoted 4 lines · Jouni Malinen
However, at least for some time, there are two different TKIP implementations (net/ieee80211 and net/d80211) so this would mean duplicating Michael MIC implementation and I would rather not do that.
Good point, let's keep it for now.
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt