Home
last modified time | relevance | path

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

/external/python/cryptography/tests/hazmat/primitives/
Dtest_x25519.py35 X25519PrivateKey.from_private_bytes(b"0" * 32)
58 private_key = X25519PrivateKey.from_private_bytes(private)
72 private_key = X25519PrivateKey.from_private_bytes(private)
76 private_key = X25519PrivateKey.from_private_bytes(
94 private_key = X25519PrivateKey.from_private_bytes(
141 private_key = X25519PrivateKey.from_private_bytes(private_bytes)
174 X25519PrivateKey.from_private_bytes(b"a" * 31)
177 X25519PrivateKey.from_private_bytes(b"a" * 33)
264 key = X25519PrivateKey.from_private_bytes(private_bytes)
Dtest_x448.py34 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)
184 X448PrivateKey.from_private_bytes(b"a" * 55)
187 X448PrivateKey.from_private_bytes(b"a" * 57)
237 key = X448PrivateKey.from_private_bytes(bytearray(private_bytes))
/external/python/cryptography/tests/wycheproof/
Dtest_x25519.py26 private_key = X25519PrivateKey.from_private_bytes(
/external/python/cryptography/src/cryptography/hazmat/primitives/asymmetric/
Dx448.py47 def from_private_bytes(cls, data): member in X448PrivateKey
Dx25519.py47 def from_private_bytes(cls, data): member in X25519PrivateKey
/external/python/cryptography/docs/hazmat/primitives/asymmetric/
Dx25519.rst69 .. classmethod:: from_private_bytes(data)
90 >>> loaded_private_key = x25519.X25519PrivateKey.from_private_bytes(private_bytes)
Dx448.rst69 .. classmethod:: from_private_bytes(data)
86 >>> loaded_private_key = x448.X448PrivateKey.from_private_bytes(private_bytes)