Home
last modified time | relevance | path

Searched refs:newkeys (Results 1 – 21 of 21) sorted by relevance

/external/openssh/
Dkex.c647 kex_free_newkeys(struct newkeys *newkeys) in kex_free_newkeys() argument
649 if (newkeys == NULL) in kex_free_newkeys()
651 if (newkeys->enc.key) { in kex_free_newkeys()
652 explicit_bzero(newkeys->enc.key, newkeys->enc.key_len); in kex_free_newkeys()
653 free(newkeys->enc.key); in kex_free_newkeys()
654 newkeys->enc.key = NULL; in kex_free_newkeys()
656 if (newkeys->enc.iv) { in kex_free_newkeys()
657 explicit_bzero(newkeys->enc.iv, newkeys->enc.iv_len); in kex_free_newkeys()
658 free(newkeys->enc.iv); in kex_free_newkeys()
659 newkeys->enc.iv = NULL; in kex_free_newkeys()
[all …]
Dpacket.c186 struct newkeys *newkeys[MODE_MAX]; member
319 state->newkeys[MODE_IN] = state->newkeys[MODE_OUT] = NULL; in ssh_packet_set_connection()
612 kex_free_newkeys(state->newkeys[mode]); /* current keys */ in ssh_packet_close_internal()
613 state->newkeys[mode] = NULL; in ssh_packet_close_internal()
861 if (ssh->kex && ssh->kex->newkeys[mode]) { in ssh_clear_newkeys()
862 kex_free_newkeys(ssh->kex->newkeys[mode]); in ssh_clear_newkeys()
863 ssh->kex->newkeys[mode] = NULL; in ssh_clear_newkeys()
894 if (state->newkeys[mode] != NULL) { in ssh_set_newkeys()
901 kex_free_newkeys(state->newkeys[mode]); in ssh_set_newkeys()
902 state->newkeys[mode] = NULL; in ssh_set_newkeys()
[all …]
Dkex.h126 struct newkeys { struct
137 struct newkeys *newkeys[MODE_MAX]; member
185 void kex_free_newkeys(struct newkeys *);
Dmonitor_wrap.h92 struct newkeys *mm_newkeys_from_blob(u_char *, int);
/external/autotest/site_utils/bootperf-bin/
Dresultset.py344 newkeys = {}
345 newkeys["shutdown"] = shutdown
346 newkeys["firmware"] = shutdown + firmware_time
347 newkeys["startup"] = newkeys["firmware"] + startup
348 newkeys["chrome_exec"] = newkeys["firmware"] + chrome_exec
349 newkeys["login"] = reboot
350 super(_RebootKeySet, self).AddIterationResults(newkeys)
/external/python/rsa/tests/
Dtest_key.py42 priv, pub = rsa.key.newkeys(16, exponent=3)
48 priv, pub = rsa.key.newkeys(16)
84 priv, pub = rsa.key.newkeys(16)
Dtest_pkcs1.py28 (self.pub, self.priv) = rsa.newkeys(256)
96 (self.pub, self.priv) = rsa.newkeys(512)
132 (otherpub, _) = rsa.newkeys(512)
Dtest_strings.py28 (self.pub, self.priv) = rsa.newkeys(384)
Dtest_integers.py25 (self.pub, self.priv) = rsa.newkeys(64)
Dtest_cli.py85 cls.pub_key, cls.priv_key = rsa.newkeys(512)
/external/python/rsa/rsa/
D__init__.py24 from rsa.key import newkeys, PrivateKey, PublicKey
Dcli.py67 (pub_key, priv_key) = rsa.newkeys(keysize)
Dkey.py743 def newkeys(nbits: int, function
/external/python/rsa/
Dcreate_timing_table.py30 rsa.newkeys(bitsize, accurate=accurate, poolsize=poolsize)
DCHANGELOG.md116 - Add an 'exponent' argument to key.newkeys()
/external/python/rsa/doc/
Dusage.rst30 You can use the :py:func:`rsa.newkeys` function to create a keypair:
33 >>> (pubkey, privkey) = rsa.newkeys(512)
61 >>> (pubkey, privkey) = rsa.newkeys(512, poolsize=8)
106 >>> (bob_pub, bob_priv) = rsa.newkeys(512)
172 >>> (pubkey, privkey) = rsa.newkeys(512)
Dcli.rst19 … | Generates a new RSA keypair in PEM or DER format | :py:func:`rsa.newkeys` …
Dreference.rst20 .. autofunction:: rsa.newkeys(keysize)
/external/libwebsockets/plugins/ssh-base/include/
Dlws-ssh.h415 uint8_t newkeys; /* which sides newkeys have been applied */ member
/external/libwebsockets/plugins/ssh-base/
Dsshd.c680 pss->kex->newkeys |= 2; in lws_ssh_parse_plaintext()
681 if (pss->kex->newkeys == 3) in lws_ssh_parse_plaintext()
2442 pss->kex->newkeys |= 1; in lws_callback_raw_sshd()
2443 if (pss->kex->newkeys == 3) in lws_callback_raw_sshd()
/external/python/cpython3/Objects/
Ddictobject.c1141 PyDictKeysObject *newkeys = new_keys_object(PyDict_MINSIZE); in insert_to_emptydict() local
1142 if (newkeys == NULL) { in insert_to_emptydict()
1146 newkeys->dk_lookup = lookdict; in insert_to_emptydict()
1149 mp->ma_keys = newkeys; in insert_to_emptydict()