Home
last modified time | relevance | path

Searched refs:generate_key (Results 1 – 16 of 16) sorted by relevance

/external/python/cryptography/tests/hazmat/primitives/
Dtest_aead.py45 ChaCha20Poly1305(ChaCha20Poly1305.generate_key())
55 key = ChaCha20Poly1305.generate_key()
66 key = ChaCha20Poly1305.generate_key()
86 key = ChaCha20Poly1305.generate_key()
95 key = ChaCha20Poly1305.generate_key()
104 key = ChaCha20Poly1305.generate_key()
110 key = ChaCha20Poly1305.generate_key()
171 key = ChaCha20Poly1305.generate_key()
193 AESCCM(AESCCM.generate_key(128))
203 key = AESCCM.generate_key(128)
[all …]
/external/python/cryptography/src/cryptography/hazmat/primitives/ciphers/
Daead.py31 def generate_key(cls): member in ChaCha20Poly1305
90 def generate_key(cls, bit_length): member in AESCCM
150 def generate_key(cls, bit_length): member in AESGCM
/external/python/cryptography/docs/
Dfernet.rst18 >>> key = Fernet.generate_key()
30 .. classmethod:: generate_key()
111 >>> key1 = Fernet(Fernet.generate_key())
112 >>> key2 = Fernet(Fernet.generate_key())
150 >>> key1 = Fernet(Fernet.generate_key())
151 >>> key2 = Fernet(Fernet.generate_key())
158 >>> key3 = Fernet(Fernet.generate_key())
Dindex.rst13 >>> key = Fernet.generate_key()
/external/python/cryptography/docs/hazmat/primitives/
Daead.rst33 >>> key = ChaCha20Poly1305.generate_key()
40 .. classmethod:: generate_key()
102 >>> key = AESGCM.generate_key(bit_length=128)
109 .. classmethod:: generate_key(bit_length)
189 >>> key = AESCCM.generate_key(bit_length=128)
196 .. classmethod:: generate_key(bit_length)
/external/python/cryptography/tests/hypothesis/
Dtest_fernet.py14 f = Fernet(Fernet.generate_key())
/external/python/pyopenssl/tests/
Dtest_crypto.py795 pkey.generate_key(TYPE_RSA, 512)
1106 key.generate_key("foo", "bar")
1108 key.generate_key(-1, 0)
1111 key.generate_key(TYPE_RSA, -1)
1113 key.generate_key(TYPE_RSA, 0)
1116 key.generate_key(TYPE_RSA, object())
1144 key.generate_key(TYPE_RSA, bits)
1159 key.generate_key(TYPE_DSA, bits)
1172 key.generate_key(type, bits)
1191 key.generate_key(TYPE_RSA, 512)
[all …]
Dtest_ssl.py252 cakey.generate_key(TYPE_RSA, 2048)
266 ikey.generate_key(TYPE_RSA, 2048)
280 skey.generate_key(TYPE_RSA, 2048)
612 key.generate_key(TYPE_RSA, 1024)
633 key.generate_key(TYPE_RSA, 1024)
871 key.generate_key(TYPE_RSA, 1024)
/external/python/cryptography/tests/
Dtest_fernet.py41 f = Fernet(Fernet.generate_key())
118 f = Fernet(Fernet.generate_key(), backend=backend)
/external/rust/crates/quiche/deps/boringssl/src/crypto/trust_token/
Dinternal.h141 int (*generate_key)(CBB *out_private, CBB *out_public); member
Dtrust_token.c103 if (!method->generate_key(&priv_cbb, &pub_cbb)) { in TRUST_TOKEN_generate_key()
/external/python/cryptography/
DREADME.rst32 >>> key = Fernet.generate_key()
/external/boringssl/src/crypto/trust_token/
Dinternal.h180 int (*generate_key)(CBB *out_private, CBB *out_public); member
Dtrust_token.c125 if (!method->generate_key(&priv_cbb, &pub_cbb)) { in TRUST_TOKEN_generate_key()
/external/python/cryptography/src/cryptography/
Dfernet.py46 def generate_key(cls): member in Fernet
/external/python/pyopenssl/src/OpenSSL/
Dcrypto.py283 def generate_key(self, type, bits): member in PKey