HomeSort by relevance Sort by last modified time
    Searched refs:CURVE25519_SIZE (Results 1 - 4 of 4) sorted by null

  /external/openssh/
kexc25519.c 47 extern int crypto_scalarmult_curve25519(u_char a[CURVE25519_SIZE],
48 const u_char b[CURVE25519_SIZE], const u_char c[CURVE25519_SIZE])
49 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
50 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)))
51 __attribute__((__bounded__(__minbytes__, 3, CURVE25519_SIZE)));
54 kexc25519_keygen(u_char key[CURVE25519_SIZE], u_char pub[CURVE25519_SIZE])
56 static const u_char basepoint[CURVE25519_SIZE] = {9};
58 arc4random_buf(key, CURVE25519_SIZE);
    [all...]
kex.h 67 #define CURVE25519_SIZE 32
156 u_char c25519_client_key[CURVE25519_SIZE]; /* 25519 */
157 u_char c25519_client_pubkey[CURVE25519_SIZE]; /* 25519 */
206 void kexc25519_keygen(u_char key[CURVE25519_SIZE], u_char pub[CURVE25519_SIZE])
207 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
208 __attribute__((__bounded__(__minbytes__, 2, CURVE25519_SIZE)));
209 int kexc25519_shared_key(const u_char key[CURVE25519_SIZE],
210 const u_char pub[CURVE25519_SIZE], struct sshbuf *out)
211 __attribute__((__bounded__(__minbytes__, 1, CURVE25519_SIZE)))
    [all...]
kexc25519s.c 61 u_char server_key[CURVE25519_SIZE];
63 u_char server_pubkey[CURVE25519_SIZE];
90 if (pklen != CURVE25519_SIZE) {
95 dump_digest("client public key:", client_pubkey, CURVE25519_SIZE);
kexc25519c.c 112 if (pklen != CURVE25519_SIZE) {
118 dump_digest("server public key:", server_pubkey, CURVE25519_SIZE);

Completed in 35 milliseconds