[PATCH] P2P: Reduce redundant PSK generation for GO

Jouni Malinen j
Sun Nov 11 01:43:11 PST 2012


On Fri, Nov 09, 2012 at 10:41:02PM +0900, Masashi Honma wrote:
> The PSK generation done by pbkdf2_sha1() is one of the most longest CPU time
> user according to our profiling from boot to GO started.

> By this sequence, pbkdf2_sha1() was called third times.
> The pbkdf2_sha1() calculates same value on each three time.
> So I made this patch to reduce calling of pbkdf2_sha1() from 3 to 1.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list