Home
last modified time | relevance | path

Searched refs:kx_name (Results 1 – 5 of 5) sorted by relevance

/external/scapy/scapy/layers/tls/crypto/
Dkx_algs.py29 def __new__(cls, kx_name, bases, dct): argument
30 if kx_name != "_GenericKX":
31 dct["name"] = kx_name[3:] # remove leading "KX_"
32 the_class = super(_GenericKXMetaclass, cls).__new__(cls, kx_name,
34 if kx_name != "_GenericKX":
35 the_class.export = kx_name.endswith("_EXPORT")
36 the_class.anonymous = "_anon" in kx_name
37 the_class.no_ske = not ("DHE" in kx_name or "_anon" in kx_name)
39 _tls_kx_algs[kx_name[3:]] = the_class
Dsuites.py31 kx_name, s = s.split("_WITH_")
32 kx_alg = _tls_kx_algs.get(kx_name)
39 kx_name, s = s.split("_WITH_")
40 kx_alg = _tls_kx_algs.get(kx_name)
/external/conscrypt/common/src/main/java/org/conscrypt/
DSSLUtils.java215 String kx_name = NativeCrypto.SSL_CIPHER_get_kx_name(sslCipherNative); in getServerX509KeyType() local
216 if (kx_name.equals("RSA") || kx_name.equals("DHE_RSA") || kx_name.equals("ECDHE_RSA")) { in getServerX509KeyType()
218 } else if (kx_name.equals("ECDHE_ECDSA")) { in getServerX509KeyType()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DSSLUtils.java216 String kx_name = NativeCrypto.SSL_CIPHER_get_kx_name(sslCipherNative); in getServerX509KeyType() local
217 if (kx_name.equals("RSA") || kx_name.equals("DHE_RSA") || kx_name.equals("ECDHE_RSA")) { in getServerX509KeyType()
219 } else if (kx_name.equals("ECDHE_ECDSA")) { in getServerX509KeyType()
/external/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc9343 const char* kx_name = nullptr; in NativeCrypto_SSL_CIPHER_get_kx_name() local
9345 kx_name = SSL_CIPHER_get_kx_name(cipher); in NativeCrypto_SSL_CIPHER_get_kx_name()
9347 return env->NewStringUTF(kx_name); in NativeCrypto_SSL_CIPHER_get_kx_name()