Searched refs:sha1_server (Results 1 - 16 of 16) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/tls/
H A Dtlsv1_common.c197 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0);
201 verify->sha1_server == NULL || verify->sha1_cert == NULL) {
216 if (verify->md5_server && verify->sha1_server) {
218 crypto_hash_update(verify->sha1_server, buf, len);
233 crypto_hash_finish(verify->sha1_server, NULL, NULL);
239 verify->sha1_server = NULL;
H A Dtlsv1_server_write.c603 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
604 conn->verify.sha1_server = NULL;
609 if (conn->verify.sha1_server == NULL ||
610 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
612 conn->verify.sha1_server = NULL;
617 conn->verify.sha1_server = NULL;
H A Dtlsv1_common.h201 struct crypto_hash *sha1_server; member in struct:tls_verify_hash
H A Dtlsv1_client_read.c824 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
825 conn->verify.sha1_server = NULL;
830 if (conn->verify.sha1_server == NULL ||
831 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
833 conn->verify.sha1_server = NULL;
838 conn->verify.sha1_server = NULL;
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_common.c201 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0);
205 verify->sha1_server == NULL || verify->sha1_cert == NULL) {
233 if (verify->md5_server && verify->sha1_server) {
235 crypto_hash_update(verify->sha1_server, buf, len);
258 crypto_hash_finish(verify->sha1_server, NULL, NULL);
264 verify->sha1_server = NULL;
H A Dtlsv1_server_write.c606 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
607 conn->verify.sha1_server = NULL;
612 if (conn->verify.sha1_server == NULL ||
613 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
615 conn->verify.sha1_server = NULL;
620 conn->verify.sha1_server = NULL;
H A Dtlsv1_common.h240 struct crypto_hash *sha1_server; member in struct:tls_verify_hash
H A Dtlsv1_client_read.c841 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
842 conn->verify.sha1_server = NULL;
847 if (conn->verify.sha1_server == NULL ||
848 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
850 conn->verify.sha1_server = NULL;
855 conn->verify.sha1_server = NULL;
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_common.c201 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0);
205 verify->sha1_server == NULL || verify->sha1_cert == NULL) {
233 if (verify->md5_server && verify->sha1_server) {
235 crypto_hash_update(verify->sha1_server, buf, len);
258 crypto_hash_finish(verify->sha1_server, NULL, NULL);
264 verify->sha1_server = NULL;
H A Dtlsv1_server_write.c606 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
607 conn->verify.sha1_server = NULL;
612 if (conn->verify.sha1_server == NULL ||
613 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
615 conn->verify.sha1_server = NULL;
620 conn->verify.sha1_server = NULL;
H A Dtlsv1_common.h240 struct crypto_hash *sha1_server; member in struct:tls_verify_hash
H A Dtlsv1_client_read.c841 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
842 conn->verify.sha1_server = NULL;
847 if (conn->verify.sha1_server == NULL ||
848 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
850 conn->verify.sha1_server = NULL;
855 conn->verify.sha1_server = NULL;
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_common.c201 verify->sha1_server = crypto_hash_init(CRYPTO_HASH_ALG_SHA1, NULL, 0);
205 verify->sha1_server == NULL || verify->sha1_cert == NULL) {
233 if (verify->md5_server && verify->sha1_server) {
235 crypto_hash_update(verify->sha1_server, buf, len);
258 crypto_hash_finish(verify->sha1_server, NULL, NULL);
264 verify->sha1_server = NULL;
H A Dtlsv1_server_write.c606 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
607 conn->verify.sha1_server = NULL;
612 if (conn->verify.sha1_server == NULL ||
613 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
615 conn->verify.sha1_server = NULL;
620 conn->verify.sha1_server = NULL;
H A Dtlsv1_common.h240 struct crypto_hash *sha1_server; member in struct:tls_verify_hash
H A Dtlsv1_client_read.c841 crypto_hash_finish(conn->verify.sha1_server, NULL, NULL);
842 conn->verify.sha1_server = NULL;
847 if (conn->verify.sha1_server == NULL ||
848 crypto_hash_finish(conn->verify.sha1_server, hash + MD5_MAC_LEN,
850 conn->verify.sha1_server = NULL;
855 conn->verify.sha1_server = NULL;

Completed in 118 milliseconds