Lines Matching refs:crypto_suite
27 std::string SrtpCryptoSuiteToName(int crypto_suite) { in SrtpCryptoSuiteToName() argument
28 switch (crypto_suite) { in SrtpCryptoSuiteToName()
42 int SrtpCryptoSuiteFromName(const std::string& crypto_suite) { in SrtpCryptoSuiteFromName() argument
43 if (crypto_suite == CS_AES_CM_128_HMAC_SHA1_32) in SrtpCryptoSuiteFromName()
45 if (crypto_suite == CS_AES_CM_128_HMAC_SHA1_80) in SrtpCryptoSuiteFromName()
47 if (crypto_suite == CS_AEAD_AES_128_GCM) in SrtpCryptoSuiteFromName()
49 if (crypto_suite == CS_AEAD_AES_256_GCM) in SrtpCryptoSuiteFromName()
54 bool GetSrtpKeyAndSaltLengths(int crypto_suite, in GetSrtpKeyAndSaltLengths() argument
57 switch (crypto_suite) { in GetSrtpKeyAndSaltLengths()
83 bool IsGcmCryptoSuite(int crypto_suite) { in IsGcmCryptoSuite() argument
84 return (crypto_suite == SRTP_AEAD_AES_256_GCM || in IsGcmCryptoSuite()
85 crypto_suite == SRTP_AEAD_AES_128_GCM); in IsGcmCryptoSuite()
88 bool IsGcmCryptoSuiteName(const std::string& crypto_suite) { in IsGcmCryptoSuiteName() argument
89 return (crypto_suite == CS_AEAD_AES_256_GCM || in IsGcmCryptoSuiteName()
90 crypto_suite == CS_AEAD_AES_128_GCM); in IsGcmCryptoSuiteName()
121 bool SSLStreamAdapter::GetDtlsSrtpCryptoSuite(int* crypto_suite) { in GetDtlsSrtpCryptoSuite() argument