Home
last modified time | relevance | path

Searched refs:from_private_bytes (Results 1 – 15 of 15) sorted by relevance

/external/python/cryptography/tests/hazmat/primitives/
Dtest_x25519.py35 X25519PrivateKey.from_private_bytes(b"0" * 32)
57 private_key = X25519PrivateKey.from_private_bytes(private)
71 private_key = X25519PrivateKey.from_private_bytes(private)
75 private_key = X25519PrivateKey.from_private_bytes(
93 private_key = X25519PrivateKey.from_private_bytes(private)
133 private_key = X25519PrivateKey.from_private_bytes(private_bytes)
175 X25519PrivateKey.from_private_bytes(b"a" * 31)
178 X25519PrivateKey.from_private_bytes(b"a" * 33)
264 key = X25519PrivateKey.from_private_bytes(private_bytes)
Dtest_x448.py35 X448PrivateKey.from_private_bytes(b"0" * 56)
57 private_key = X448PrivateKey.from_private_bytes(private)
71 private_key = X448PrivateKey.from_private_bytes(private)
75 private_key = X448PrivateKey.from_private_bytes(
111 private_key = X448PrivateKey.from_private_bytes(private_bytes)
194 X448PrivateKey.from_private_bytes(b"a" * 55)
197 X448PrivateKey.from_private_bytes(b"a" * 57)
245 key = X448PrivateKey.from_private_bytes(bytearray(private_bytes))
Dtest_ed448.py39 Ed448PrivateKey.from_private_bytes(b"0" * 57)
67 private_key = Ed448PrivateKey.from_private_bytes(sk)
103 private_key = Ed448PrivateKey.from_private_bytes(sk)
173 Ed448PrivateKey.from_private_bytes(object())
183 Ed448PrivateKey.from_private_bytes(b"a" * 56)
185 Ed448PrivateKey.from_private_bytes(b"a" * 58)
230 key = Ed448PrivateKey.from_private_bytes(bytearray(private_bytes))
Dtest_ed25519.py59 Ed25519PrivateKey.from_private_bytes(b"0" * 32)
84 private_key = Ed25519PrivateKey.from_private_bytes(sk)
126 Ed25519PrivateKey.from_private_bytes(object())
136 Ed25519PrivateKey.from_private_bytes(b"a" * 31)
138 Ed25519PrivateKey.from_private_bytes(b"a" * 33)
224 key = Ed25519PrivateKey.from_private_bytes(bytearray(private_bytes))
/external/python/cryptography/tests/wycheproof/
Dtest_x25519.py28 private_key = X25519PrivateKey.from_private_bytes(
Dtest_x448.py28 private_key = X448PrivateKey.from_private_bytes(
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Ded448.py55 def from_private_bytes(cls, data): member in Ed448PrivateKey
Dx448.py49 def from_private_bytes(cls, data): member in X448PrivateKey
Dx25519.py49 def from_private_bytes(cls, data): member in X25519PrivateKey
Ded25519.py60 def from_private_bytes(cls, data): member in Ed25519PrivateKey
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Ded25519.rst39 .. classmethod:: from_private_bytes(data)
56 >>> loaded_private_key = ed25519.Ed25519PrivateKey.from_private_bytes(private_bytes)
Dx25519.rst66 .. classmethod:: from_private_bytes(data)
87 >>> loaded_private_key = x25519.X25519PrivateKey.from_private_bytes(private_bytes)
Dx448.rst66 .. classmethod:: from_private_bytes(data)
83 >>> loaded_private_key = x448.X448PrivateKey.from_private_bytes(private_bytes)
Ded448.rst37 .. classmethod:: from_private_bytes(data)
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/
Dssh.py424 private_key = ed25519.Ed25519PrivateKey.from_private_bytes(secret)