Lines Matching refs:TLS_RANDOM_LEN
54 u8 seed[2 * TLS_RANDOM_LEN];
62 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN);
63 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random,
64 TLS_RANDOM_LEN);
67 "master secret", seed, 2 * TLS_RANDOM_LEN,
77 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN);
78 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random, TLS_RANDOM_LEN);
84 "key expansion", seed, 2 * TLS_RANDOM_LEN,
526 u8 seed[2 * TLS_RANDOM_LEN];
532 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN);
533 os_memcpy(seed + TLS_RANDOM_LEN, conn->client_random,
534 TLS_RANDOM_LEN);
536 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN);
537 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random,
538 TLS_RANDOM_LEN);
543 label, seed, 2 * TLS_RANDOM_LEN, out, out_len);
728 keys->client_random_len = TLS_RANDOM_LEN;
732 keys->server_random_len = TLS_RANDOM_LEN;