Searched refs:ciph_name (Results 1 – 3 of 3) sorted by relevance
/external/scapy/scapy/layers/tls/crypto/ |
D | cipher_stream.py | 27 def __new__(cls, ciph_name, bases, dct): argument 28 if ciph_name != "_StreamCipher": 29 dct["name"] = ciph_name[7:] # remove leading "Cipher_" 30 the_class = super(_StreamCipherMetaclass, cls).__new__(cls, ciph_name, 32 if ciph_name != "_StreamCipher": 33 _tls_stream_cipher_algs[ciph_name[7:]] = the_class
|
D | cipher_block.py | 32 def __new__(cls, ciph_name, bases, dct): argument 33 if ciph_name != "_BlockCipher": 34 dct["name"] = ciph_name[7:] # remove leading "Cipher_" 35 the_class = super(_BlockCipherMetaclass, cls).__new__(cls, ciph_name, 37 if ciph_name != "_BlockCipher": 38 _tls_block_cipher_algs[ciph_name[7:]] = the_class
|
D | cipher_aead.py | 40 def __new__(cls, ciph_name, bases, dct): argument 41 if not ciph_name.startswith("_AEADCipher"): 42 dct["name"] = ciph_name[7:] # remove leading "Cipher_" 43 the_class = super(_AEADCipherMetaclass, cls).__new__(cls, ciph_name, 45 if not ciph_name.startswith("_AEADCipher"): 46 _tls_aead_cipher_algs[ciph_name[7:]] = the_class
|