HomeSort by: relevance | last modified time | path
    Searched defs:shared_key (Results 1 - 2 of 2) sorted by relevancy

  /src/crypto/external/bsd/openssh/dist/
kexc25519.c 62 u_char shared_key[CURVE25519_SIZE]; local
66 crypto_scalarmult_curve25519(shared_key, key, pub);
70 if (timingsafe_bcmp(zero, shared_key, CURVE25519_SIZE) == 0)
74 dump_digest("shared secret 25519", shared_key, CURVE25519_SIZE);
77 r = sshbuf_put(out, shared_key, CURVE25519_SIZE);
79 r = sshbuf_put_bignum2_bytes(out, shared_key, CURVE25519_SIZE);
80 explicit_bzero(shared_key, CURVE25519_SIZE);
kexc25519.c 62 u_char shared_key[CURVE25519_SIZE]; local
66 crypto_scalarmult_curve25519(shared_key, key, pub);
70 if (timingsafe_bcmp(zero, shared_key, CURVE25519_SIZE) == 0)
74 dump_digest("shared secret 25519", shared_key, CURVE25519_SIZE);
77 r = sshbuf_put(out, shared_key, CURVE25519_SIZE);
79 r = sshbuf_put_bignum2_bytes(out, shared_key, CURVE25519_SIZE);
80 explicit_bzero(shared_key, CURVE25519_SIZE);

Completed in 26 milliseconds