aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tlsv1_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespaceJouni Malinen2016-12-281-1/+1
| | | | Signed-off-by: Jouni Malinen <j@w1.fi>
* Fix typo in DigestAlgorithnSergei Sinyak2016-10-291-3/+3
| | | | | | Replace n with m in DigestAlgorithn, i.e., DigestAlgorithm. Signed-off-by: Sergei Sinyak <serega.belarus@gmail.com>
* TLS: Add TLS v1.2 signature algorithm support for SHA384 and SHA512Jouni Malinen2015-11-291-4/+35
| | | | | | | | This extends the internal TLS client implementation to support signature algorithms SHA384 and SHA512 in addition to the previously supported SHA256. Signed-off-by: Jouni Malinen <j@w1.fi>
* TLS: Remove placeholders for SIGN_ALG_DSA supportJouni Malinen2015-02-281-13/+10
| | | | | | | It does not look likely that the old DSA design would be added into the internal TLS implement, so remove this otherwise dead code. Signed-off-by: Jouni Malinen <j@w1.fi>
* TLS: Use os_memcmp_const() for hash/password comparisonsJouni Malinen2014-07-021-1/+2
| | | | | | | | | This makes the implementation less likely to provide useful timing information to potential attackers from comparisons of information received from a remote device and private material known only by the authorized devices. Signed-off-by: Jouni Malinen <j@w1.fi>
* TLS: Share a helper function for verifying SignatureJouni Malinen2014-03-091-0/+96
| | | | | | | | This same design is used in both the server and the client roles in the internal TLS implementation. Instead of duplicated implementation, use a helper function. Signed-off-by: Jouni Malinen <j@w1.fi>
* TLS: Use a helper function for calculating ServerKeyExchange hashJouni Malinen2014-03-091-0/+65
| | | | | | | | Instead of separate server and client side implementations, use a common set of helper functions for calculating the ServerParams hash for ServerKeyExchange. Signed-off-by: Jouni Malinen <j@w1.fi>
* TLS: Add support for DHE-RSA cipher suitesJouni Malinen2014-03-091-1/+13
| | | | | | | This extends the internal TLS implementation to support DHE-RSA cipher suites in both server and client roles. Signed-off-by: Jouni Malinen <j@w1.fi>
* Use ARRAY_SIZE() macroJouni Malinen2013-10-261-3/+2
| | | | | | | Replace the common sizeof(a)/sizeof(a[0]) constructions with a more readable version. Signed-hostap: Jouni Malinen <j@w1.fi>
* Remove the GPL notification from files contributed by Jouni MalinenJouni Malinen2012-02-111-8/+2
| | | | | | | Remove the GPL notification text from the files that were initially contributed by myself. Signed-hostap: Jouni Malinen <j@w1.fi>
* TLS: Add support for SHA256-based cipher suites from RFC 5246Jouni Malinen2011-11-271-1/+9
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* TLS: Maintain SHA256-based hash values for TLS v1.2Jouni Malinen2011-11-271-0/+29
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* TLS: Add build configuration for TLS v1.2 supportJouni Malinen2011-11-271-0/+15
| | | | | | | | | This allows the internal TLS implementation to be built for TLS v1.2 support. In addition to the build option, this changes the TLS PRF based on the negotiated version number. Though, this commit does not yet complete support for TLS v1.2. Signed-hostap: Jouni Malinen <j@w1.fi>
* TLS: Pass version to tls_prf() in preparation for new PRFsJouni Malinen2011-11-271-1/+1
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* Rename tls_prf() to tls_prf_sha1_md5()Jouni Malinen2011-11-271-0/+9
| | | | | | | | Prepare for multiple TLS PRF functions by renaming the SHA1+MD5 based TLS PRF function to more specific name and add tls_prf() within the internal TLS implementation as a wrapper for this for now. Signed-hostap: Jouni Malinen <j@w1.fi>
* TLS: Add helper functions for version number handlingJouni Malinen2011-11-271-1/+27
| | | | Signed-hostap: Jouni Malinen <j@w1.fi>
* Re-initialize hostapd/wpa_supplicant git repository based on 0.6.3 releaseJouni Malinen2008-02-281-0/+241