Lines Matching refs:hlen
344 size_t hlen; in tlsv12_key_x_server_params_hash() local
351 hlen = SHA256_MAC_LEN; in tlsv12_key_x_server_params_hash()
355 hlen = 48; in tlsv12_key_x_server_params_hash()
359 hlen = 64; in tlsv12_key_x_server_params_hash()
370 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tlsv12_key_x_server_params_hash()
373 return hlen; in tlsv12_key_x_server_params_hash()
384 size_t hlen; in tls_key_x_server_params_hash() local
395 hlen = MD5_MAC_LEN; in tls_key_x_server_params_hash()
396 if (crypto_hash_finish(ctx, hash, &hlen) < 0) in tls_key_x_server_params_hash()
398 hpos += hlen; in tls_key_x_server_params_hash()
406 hlen = hash + sizeof(hash) - hpos; in tls_key_x_server_params_hash()
407 if (crypto_hash_finish(ctx, hpos, &hlen) < 0) in tls_key_x_server_params_hash()
409 hpos += hlen; in tls_key_x_server_params_hash()