Home
last modified time | relevance | path

Searched refs:kout (Results 1 – 5 of 5) sorted by relevance

/external/openssh/
Dkexdhc.c56 int kout; in kexdh_client() local
118 if ((kout = DH_compute_key(kbuf, dh_server_pub, dh)) < 0) in kexdh_client()
121 dump_digest("shared secret", kbuf, kout); in kexdh_client()
125 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexdh_client()
Dkexdhs.c58 int kout; in kexdh_server() local
111 if ((kout = DH_compute_key(kbuf, dh_client_pub, dh)) < 0) in kexdh_server()
114 dump_digest("shared secret", kbuf, kout); in kexdh_server()
118 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexdh_server()
Dkexgexc.c57 int kout; in kexgex_client() local
156 if ((kout = DH_compute_key(kbuf, dh_server_pub, dh)) < 0) in kexgex_client()
159 dump_digest("shared secret", kbuf, kout); in kexgex_client()
163 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexgex_client()
Dkexgexs.c62 int type, kout; in kexgex_server() local
148 if ((kout = DH_compute_key(kbuf, dh_client_pub, dh)) < 0) in kexgex_server()
151 dump_digest("shared secret", kbuf, kout); in kexgex_server()
155 if (BN_bin2bn(kbuf, kout, shared_secret) == NULL) in kexgex_server()
/external/dropbear/libtommath/mtest/
Dmpi.c2902 mp_digit kin = 0, kout, *dp = DIGITS(mp); in s_mp_mul_2() local
2907 kout = (dp[ix] >> (DIGIT_BIT - 1)) & 1; in s_mp_mul_2()
2910 kin = kout; in s_mp_mul_2()