Rename cipher_suite to crypto_suite
and replace "cs" in the appropriate places.
This is the terminology used by
https://www.rfc-editor.org/rfc/rfc4568#section-10.3.2.1
and
https://www.iana.org/assignments/sdp-security-descriptions/sdp-security-descriptions.xhtml
BUG=None
Change-Id: I45f2c52eb266c0f94bdd710a9b941142b9411827
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/314483
Commit-Queue: Philipp Hancke <phancke@microsoft.com>
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#40502}
diff --git a/api/crypto_params.h b/api/crypto_params.h
index 95bd892..34906ea 100644
--- a/api/crypto_params.h
+++ b/api/crypto_params.h
@@ -26,14 +26,14 @@
absl::string_view cs,
absl::string_view kp,
absl::string_view sp)
- : tag(t), cipher_suite(cs), key_params(kp), session_params(sp) {}
+ : tag(t), crypto_suite(cs), key_params(kp), session_params(sp) {}
bool Matches(const CryptoParams& params) const {
- return (tag == params.tag && cipher_suite == params.cipher_suite);
+ return (tag == params.tag && crypto_suite == params.crypto_suite);
}
int tag;
- std::string cipher_suite;
+ std::string crypto_suite;
std::string key_params;
std::string session_params;
};