Lines Matching defs:hlen
772 size_t hlen, buflen;
871 hlen = SHA256_MAC_LEN;
873 crypto_hash_finish(conn->verify.sha256_cert, hpos, &hlen) <
885 hlen = MD5_MAC_LEN;
887 crypto_hash_finish(conn->verify.md5_cert, hpos, &hlen) < 0)
901 hlen = SHA1_MAC_LEN;
903 crypto_hash_finish(conn->verify.sha1_cert, hpos, &hlen) < 0) {
912 hlen += MD5_MAC_LEN;
918 wpa_hexdump(MSG_MSGDUMP, "TLSv1: CertificateVerify hash", hash, hlen);
992 if (buflen != hlen || os_memcmp(buf, hash, buflen) != 0) {
1066 size_t left, len, hlen;
1125 hlen = SHA256_MAC_LEN;
1127 crypto_hash_finish(conn->verify.sha256_client, hash, &hlen)
1138 hlen = MD5_MAC_LEN;
1140 crypto_hash_finish(conn->verify.md5_client, hash, &hlen) < 0) {
1149 hlen = SHA1_MAC_LEN;
1152 &hlen) < 0) {
1159 hlen = MD5_MAC_LEN + SHA1_MAC_LEN;
1167 "client finished", hash, hlen,