Searched refs:write_secret (Results 1 – 3 of 3) sorted by relevance
840 bssl::Span<const uint8_t> read_secret, write_secret; in DoExchange() local841 if (!SSL_get_traffic_secrets(ssl, &read_secret, &write_secret)) { in DoExchange()847 assert(write_secret.size() == read_secret.size()); in DoExchange()851 WriteAll(ssl, write_secret.data(), write_secret.size()) < 0) { in DoExchange()
4623 levels_[ssl_encryption_initial].write_secret = {1}; in MockQUICTransport()4634 return levels_[level].write_secret == peer_->levels_[level].read_secret && in PeerSecretsMatch()4635 levels_[level].read_secret == peer_->levels_[level].write_secret && in PeerSecretsMatch()4640 return !levels_[level].write_secret.empty() || in HasSecrets()4646 const uint8_t *write_secret, size_t secret_len, in SetEncryptionSecrets() argument4659 (read_secret == nullptr || write_secret == nullptr)) { in SetEncryptionSecrets()4666 if (write_secret != nullptr) { in SetEncryptionSecrets()4667 levels_[level].write_secret.assign(write_secret, in SetEncryptionSecrets()4668 write_secret + secret_len); in SetEncryptionSecrets()4676 if (levels_[level].write_secret.empty()) { in WriteHandshakeData()[all …]
3160 const uint8_t *write_secret, size_t secret_len);