Move SHA1-based PRF function into a separate C file

This makes it easier to conditionally build in SHA1 functions based
on which TLS/crypto library is used.

Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2012-08-16 20:23:12 +03:00
parent e40c86ad27
commit d6150094e0
11 changed files with 87 additions and 53 deletions

View file

@ -1082,6 +1082,7 @@ endif
ifdef NEED_SHA1
SHA1OBJS += ../src/crypto/sha1.o
SHA1OBJS += ../src/crypto/sha1-prf.o
ifdef CONFIG_INTERNAL_SHA1
SHA1OBJS += ../src/crypto/sha1-internal.o
ifdef NEED_FIPS186_2_PRF