Home
last modified time | relevance | path

Searched refs:read_secret (Results 1 – 3 of 3) sorted by relevance

/external/boringssl/src/ssl/test/
Dbssl_shim.cc840 bssl::Span<const uint8_t> read_secret, write_secret; in DoExchange() local
841 if (!SSL_get_traffic_secrets(ssl, &read_secret, &write_secret)) { in DoExchange()
846 assert(read_secret.size() <= 0xffff); in DoExchange()
847 assert(write_secret.size() == read_secret.size()); in DoExchange()
848 const uint16_t secret_len = read_secret.size(); in DoExchange()
850 WriteAll(ssl, read_secret.data(), read_secret.size()) < 0 || in DoExchange()
/external/boringssl/src/ssl/
Dssl_test.cc4624 levels_[ssl_encryption_initial].read_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()
4641 !levels_[level].read_secret.empty(); in HasSecrets()
4645 const uint8_t *read_secret, in SetEncryptionSecrets() argument
4659 (read_secret == nullptr || write_secret == nullptr)) { in SetEncryptionSecrets()
4663 if (read_secret != nullptr) { in SetEncryptionSecrets()
4664 levels_[level].read_secret.assign(read_secret, read_secret + secret_len); in SetEncryptionSecrets()
4705 if (levels_[level].read_secret.empty()) { in ReadHandshakeData()
4714 if (peer_->levels_[level].write_secret != levels_[level].read_secret) { in ReadHandshakeData()
[all …]
/external/boringssl/src/include/openssl/
Dssl.h3159 const uint8_t *read_secret,