Clean up crypto makefile segments

Reorganize the TLS/crypto library segments into a single set of blocks
for each library instead of multiple locations handling library-specific
operations. Group crypto functionality together and get wpa_supplicant
and hostapd Makefile closer to eachother in order to make it easier to
eventually move this into a shared makefile.
This commit is contained in:
Jouni Malinen 2009-10-11 22:04:29 +03:00
parent 7137456941
commit 38b462868c
4 changed files with 382 additions and 343 deletions

View file

@ -792,7 +792,7 @@ void crypto_global_deinit(void)
#endif /* CONFIG_TLS_INTERNAL */
#if defined(EAP_FAST) || defined(EAP_SERVER_FAST) || defined(CONFIG_WPS)
#ifdef CONFIG_MODEXP
int crypto_mod_exp(const u8 *base, size_t base_len,
const u8 *power, size_t power_len,
@ -829,4 +829,4 @@ error:
return ret;
}
#endif /* EAP_FAST || EAP_SERVER_FAST || CONFIG_WPS */
#endif /* CONFIG_MODEXP */

View file

@ -699,7 +699,7 @@ void crypto_global_deinit(void)
}
#if defined(EAP_FAST) || defined(EAP_SERVER_FAST)
#ifdef CONFIG_MODEXP
int crypto_mod_exp(const u8 *base, size_t base_len,
const u8 *power, size_t power_len,
@ -731,7 +731,7 @@ fail:
return -1;
}
#endif /* EAP_FAST || EAP_SERVER_FAST */
#endif /* CONFIG_MODEXP */
#endif /* CONFIG_TLS_INTERNAL */