HomeSort by relevance Sort by last modified time
    Searched refs:cryptography (Results 1 - 17 of 17) sorted by null

  /external/scapy/scapy/layers/tls/crypto/
hkdf.py 15 from cryptography.hazmat.backends import default_backend
16 from cryptography.hazmat.primitives.kdf.hkdf import HKDF, HKDFExpand
17 from cryptography.hazmat.primitives.hashes import Hash
18 from cryptography.hazmat.primitives.hmac import HMAC
groups.py 9 thus they cannot be imported from the cryptography library.
20 from cryptography.hazmat.backends import default_backend
21 from cryptography.hazmat.primitives.asymmetric import dh
31 from cryptography.hazmat.backends import default_backend
32 from cryptography.hazmat.primitives.asymmetric.dh import DHParameterNumbers
38 # We get rid of the limitation through the cryptography v1.9 __init__.
430 # Below lies ghost code since the shift from 'ecdsa' to 'cryptography' lib.
432 # to improve ECC support in 'cryptography' (namely for the compressed point
pkcs1.py 9 We cannot rely solely on the cryptography library, because the openssl package
10 used by the cryptography library may not implement the md5-sha1 hash, as with
19 from cryptography import utils
20 from cryptography.exceptions import InvalidSignature, UnsupportedAlgorithm
21 from cryptography.hazmat.backends import default_backend
22 from cryptography.hazmat.primitives import hashes
23 from cryptography.hazmat.primitives.asymmetric import padding
24 from cryptography.hazmat.primitives.hashes import HashAlgorithm
95 # first, we add the "md5-sha1" hash from openssl to python-cryptography
134 # Asymmetric Cryptography wrapper
    [all...]
cipher_stream.py 16 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms
17 from cryptography.hazmat.backends import default_backend
cipher_block.py 17 from cryptography.utils import register_interface
18 from cryptography.hazmat.primitives.ciphers import (Cipher, algorithms, modes,
21 from cryptography.hazmat.backends.openssl.backend import (backend,
181 # to the openssl backend of the cryptography library.
cipher_aead.py 25 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
26 from cryptography.hazmat.backends import default_backend
27 from cryptography.exceptions import InvalidTag
29 from cryptography.hazmat.primitives.ciphers.aead import (AESCCM,
59 crypto library. With cryptography v2.0, both CCM and GCM should follow
252 of GCM in the cryptography library. They should not be used, and might
253 eventually be removed, with cryptography v2.0. XXX
  /external/scapy/.travis/
install.sh 19 # cryptography with Python 3 < 3.4 requires enum34
24 # cryptography requires PyPy >= 2.6, Travis CI uses 2.5.0
25 $SCAPY_SUDO $PIP install $PIP_INSTALL_FLAGS -U cryptography
  /external/scapy/scapy/contrib/
macsec.py 24 from cryptography.exceptions import InvalidTag
25 from cryptography.hazmat.backends import default_backend
26 from cryptography.hazmat.primitives.ciphers import (
32 log_loading.info("Can't import python-cryptography v1.7+. "
  /external/scapy/scapy/
config.py 296 Check if the cryptography library is present, and if it is recent enough
300 import cryptography
304 return LooseVersion(cryptography.__version__) >= LooseVersion("1.7")
309 Check if the cryptography library is present, and if it supports X25519,
313 import cryptography
317 lib_valid = LooseVersion(cryptography.__version__) >= LooseVersion("2.0")
322 from cryptography.hazmat.primitives.asymmetric.x25519 import X25519PrivateKey
469 "and TLS layers (needs python-cryptography v1.7+).")
477 This a decorator to be used for any method relying on the cryptography library.
483 "Please install python-cryptography v1.7 or later."
    [all...]
  /external/scapy/scapy/layers/tls/
keyexchange_tls13.py 25 from cryptography.hazmat.backends import default_backend
26 from cryptography.hazmat.primitives.asymmetric import dh, ec
28 from cryptography.hazmat.primitives.asymmetric import x25519
cert.py 37 from cryptography.hazmat.backends import default_backend
38 from cryptography.hazmat.primitives import serialization
39 from cryptography.hazmat.primitives.asymmetric import rsa
306 Wrapper for ECDSA keys based on the cryptography library.
322 # cryptography lib does not support ECDSA encryption
    [all...]
keyexchange.py 26 from cryptography.hazmat.backends import default_backend
27 from cryptography.hazmat.primitives.asymmetric import dh, ec
454 support from the cryptography library, hence no context operations.
492 support from the cryptography library, hence no context operations.
    [all...]
  /external/scapy/scapy/layers/
ipsec.py 161 from cryptography.exceptions import InvalidTag
162 from cryptography.hazmat.backends import default_backend
163 from cryptography.hazmat.primitives.ciphers import (
169 log_loading.info("Can't import python-cryptography v1.7+. "
444 # XXX: Flagged as weak by 'cryptography'. Kept for backward compatibility
451 # bits key 3 times (done by cryptography when given a 64 bits key)
465 from cryptography.hazmat.primitives.hmac import HMAC
466 from cryptography.hazmat.primitives.cmac import CMAC
467 from cryptography.hazmat.primitives import hashes
469 # no error if cryptography is not available but authentication won't be supporte
    [all...]
dot11.py 27 from cryptography.hazmat.backends import default_backend
28 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms
31 log_loading.info("Can't import python-cryptography v1.7+. Disabled WEP decryption/encryption.")
  /external/scapy/scapy/modules/krack/
crypto.py 7 from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
8 from cryptography.hazmat.backends import default_backend
automaton.py 7 from cryptography.hazmat.primitives import hashes
8 from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC
9 from cryptography.hazmat.backends import default_backend
  /external/syzkaller/vendor/golang.org/x/sys/unix/
syscall_linux.go 534 // SockaddrALG enables userspace access to the Linux kernel's cryptography
    [all...]

Completed in 1679 milliseconds