/external/webrtc/rtc_base/ |
D | rtc_certificate_generator.cc | 34 const KeyParams& key_params, in GenerateCertificate() argument 36 if (!key_params.IsValid()) { in GenerateCertificate() 42 identity = SSLIdentity::Create(kIdentityName, key_params); in GenerateCertificate() 54 identity = SSLIdentity::Create(kIdentityName, key_params, cert_lifetime_s); in GenerateCertificate() 70 const KeyParams& key_params, in GenerateCertificateAsync() argument 76 worker_thread_->PostTask([key_params, expires_ms, in GenerateCertificateAsync() 80 RTCCertificateGenerator::GenerateCertificate(key_params, expires_ms); in GenerateCertificateAsync()
|
D | openssl_key_pair.cc | 39 static EVP_PKEY* MakeKey(const KeyParams& key_params) { in MakeKey() argument 42 if (key_params.type() == KT_RSA) { in MakeKey() 43 int key_length = key_params.rsa_params().mod_size; in MakeKey() 47 !BN_set_word(exponent, key_params.rsa_params().pub_exp) || in MakeKey() 58 } else if (key_params.type() == KT_ECDSA) { in MakeKey() 59 if (key_params.ec_curve() == EC_NIST_P256) { in MakeKey() 98 const KeyParams& key_params) { in Generate() argument 99 EVP_PKEY* pkey = MakeKey(key_params); in Generate()
|
D | rtc_certificate_generator.h | 42 const KeyParams& key_params, 60 const KeyParams& key_params, 71 void GenerateCertificateAsync(const KeyParams& key_params,
|
D | openssl_identity.cc | 58 auto key_pair = OpenSSLKeyPair::Generate(params.key_params); in CreateInternal() 74 const KeyParams& key_params, in CreateWithExpiration() argument 77 params.key_params = key_params; in CreateWithExpiration()
|
D | boringssl_identity.cc | 56 auto key_pair = OpenSSLKeyPair::Generate(params.key_params); in CreateInternal() 72 const KeyParams& key_params, in CreateWithExpiration() argument 75 params.key_params = key_params; in CreateWithExpiration()
|
D | ssl_adapter_unittest.cc | 163 const rtc::KeyParams& key_params) in SSLAdapterTestDummyServer() argument 166 ssl_identity_ = rtc::SSLIdentity::Create(GetHostname(), key_params); in SSLAdapterTestDummyServer() 300 const rtc::KeyParams& key_params) in SSLAdapterTestBase() argument 304 server_(new SSLAdapterTestDummyServer(ssl_mode_, key_params)), in SSLAdapterTestBase()
|
D | openssl_key_pair.h | 34 static std::unique_ptr<OpenSSLKeyPair> Generate(const KeyParams& key_params);
|
D | openssl_identity.h | 33 const KeyParams& key_params,
|
D | boringssl_identity.h | 35 const KeyParams& key_params,
|
D | boringssl_certificate.cc | 205 !AddSHA256SignatureAlgorithm(&tbs_cert, params.key_params.type()) || in MakeCertificate() 228 !AddSHA256SignatureAlgorithm(&cert, params.key_params.type()) || in MakeCertificate()
|
D | ssl_identity.h | 97 KeyParams key_params; member
|
D | rtc_certificate_unittest.cc | 79 params.key_params = KeyParams::ECDSA(); in GenerateCertificateWithExpires()
|
/external/webrtc/pc/test/ |
D | fake_rtc_certificate_generator.h | 138 void GenerateCertificateAsync(const rtc::KeyParams& key_params, in GenerateCertificateAsync() argument 146 if (key_params.type() == rtc::KT_RSA) { in GenerateCertificateAsync() 147 RTC_DCHECK_EQ(key_params.rsa_params().mod_size, 1024); in GenerateCertificateAsync() 148 RTC_DCHECK_EQ(key_params.rsa_params().pub_exp, 0x10001); in GenerateCertificateAsync() 150 RTC_DCHECK_EQ(key_params.type(), rtc::KT_ECDSA); in GenerateCertificateAsync() 151 RTC_DCHECK_EQ(key_params.ec_curve(), rtc::EC_NIST_P256); in GenerateCertificateAsync() 153 rtc::KeyType key_type = key_params.type(); in GenerateCertificateAsync()
|
/external/webrtc/pc/ |
D | srtp_filter.cc | 195 applied_send_params_.key_params == send_params.key_params) { in ApplySendParams() 220 return ParseKeyParams(send_params.key_params, send_key_.data(), in ApplySendParams() 226 applied_recv_params_.key_params == recv_params.key_params) { in ApplyRecvParams() 251 return ParseKeyParams(recv_params.key_params, recv_key_.data(), in ApplyRecvParams() 255 bool SrtpFilter::ParseKeyParams(const std::string& key_params, in ParseKeyParams() argument 261 if (!absl::StartsWith(key_params, "inline:")) { in ParseKeyParams() 266 std::string key_b64(key_params.substr(7)), key_str; in ParseKeyParams()
|
D | srtp_filter_unittest.cc | 268 answer[0].key_params = "inline:!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"; in TEST_F() 278 answer[0].key_params = "outline:PS1uQCVeeCFCanVmcjkpPywjNWhcYD0mXXtxaVBR"; in TEST_F() 288 answer[0].key_params = "inline:PS1uQCVeeCFCanVmcjkpPywjNWhcYD0mXXtx"; in TEST_F() 298 answer[0].key_params = "inline:PS1uQCVeeCFCanVmcjkpPywjNWhcYD0mXXtxaVBRABCD"; in TEST_F() 308 answer[0].key_params = in TEST_F() 348 offer[0].key_params = kTestKeyParams3; in TEST_F() 350 answer[0].key_params = kTestKeyParams4; in TEST_F() 387 answer[0].key_params = kTestKeyParams4; in TEST_F()
|
D | srtp_transport.cc | 67 if (!ParseKeyParams(params.key_params, send_key_.data(), send_key_.size())) { in SetSrtpSendKey() 107 if (!ParseKeyParams(params.key_params, recv_key_.data(), recv_key_.size())) { in SetSrtpReceiveKey() 485 bool SrtpTransport::ParseKeyParams(const std::string& key_params, in ParseKeyParams() argument 491 if (!absl::StartsWith(key_params, "inline:")) { in ParseKeyParams() 496 std::string key_b64(key_params.substr(7)), key_str; in ParseKeyParams()
|
D | webrtc_session_description_factory.cc | 161 rtc::KeyParams key_params = rtc::KeyParams(); in WebRtcSessionDescriptionFactory() local 164 << key_params.type() << ")."; in WebRtcSessionDescriptionFactory() 167 cert_generator_->GenerateCertificateAsync(key_params, absl::nullopt, in WebRtcSessionDescriptionFactory()
|
/external/webrtc/modules/rtp_rtcp/source/ |
D | ulpfec_generator.cc | 98 const FecProtectionParams& key_params) { in SetProtectionParameters() argument 101 RTC_DCHECK_GE(key_params.fec_rate, 0); in SetProtectionParameters() 102 RTC_DCHECK_LE(key_params.fec_rate, 255); in SetProtectionParameters() 106 pending_params_.emplace(delta_params, key_params); in SetProtectionParameters()
|
D | flexfec_sender.cc | 113 const FecProtectionParams& key_params) { in SetProtectionParameters() argument 114 ulpfec_generator_.SetProtectionParameters(delta_params, key_params); in SetProtectionParameters()
|
D | video_fec_generator.h | 39 const FecProtectionParams& key_params) = 0;
|
D | ulpfec_generator.h | 45 const FecProtectionParams& key_params) override;
|
/external/webrtc/api/ |
D | crypto_params.h | 29 : tag(t), cipher_suite(cs), key_params(kp), session_params(sp) {} in CryptoParams() 37 std::string key_params; member
|
D | fec_controller.h | 29 const FecProtectionParams* key_params,
|
/external/webrtc/modules/rtp_rtcp/include/ |
D | flexfec_sender.h | 58 const FecProtectionParams& key_params) override;
|
/external/webrtc/modules/video_coding/ |
D | fec_controller_unittest.cc | 35 const FecProtectionParams* key_params, in ProtectionRequest() argument
|