Home | History | Annotate | Download | only in ssl

Lines Matching refs:derive_secret

120 // derive_secret derives a secret of length |len| and writes the result in |out|
123 static int derive_secret(SSL_HANDSHAKE *hs, uint8_t *out, size_t len,
217 if (!derive_secret(hs, hs->early_traffic_secret, hs->hash_len,
222 !derive_secret(hs, ssl->s3->early_exporter_secret, hs->hash_len,
233 return derive_secret(hs, hs->client_handshake_secret, hs->hash_len,
238 derive_secret(hs, hs->server_handshake_secret, hs->hash_len,
248 return derive_secret(hs, hs->client_traffic_secret_0, hs->hash_len,
253 derive_secret(hs, hs->server_traffic_secret_0, hs->hash_len,
258 derive_secret(hs, ssl->s3->exporter_secret, hs->hash_len,
295 return derive_secret(hs, hs->new_session->master_key,