SAE: Share more commit value derivation between FFC and ECC cases
authorJouni Malinen <j@w1.fi>
Sun, 6 Jan 2013 16:47:52 +0000 (18:47 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 12 Jan 2013 15:51:54 +0000 (17:51 +0200)
commit66fc91ab1152d3863d1d7e3b1ff7d7839acf3807
treea7297014b7826e20f31d0ec16ea5cb0b8ee91e42
parent75870c933fa72da136a64437ea215c9940cfecb0
SAE: Share more commit value derivation between FFC and ECC cases

The rand/mask values and commit scalar are derived using the exact same
operations, so only use a separate function for deriving the commit
element.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/common/sae.c