Home
last modified time | relevance | path

Searched refs:extsk (Results 1 – 2 of 2) sorted by relevance

/external/openssh/
Ded25519.c33 unsigned char extsk[64]; in crypto_sign_ed25519_keypair() local
37 crypto_hash_sha512(extsk, sk, 32); in crypto_sign_ed25519_keypair()
38 extsk[0] &= 248; in crypto_sign_ed25519_keypair()
39 extsk[31] &= 127; in crypto_sign_ed25519_keypair()
40 extsk[31] |= 64; in crypto_sign_ed25519_keypair()
42 sc25519_from32bytes(&scsk,extsk); in crypto_sign_ed25519_keypair()
61 unsigned char extsk[64]; in crypto_sign_ed25519() local
66 crypto_hash_sha512(extsk, sk, 32); in crypto_sign_ed25519()
67 extsk[0] &= 248; in crypto_sign_ed25519()
68 extsk[31] &= 127; in crypto_sign_ed25519()
[all …]
/external/libwebsockets/plugins/ssh-base/crypto/
Ded25519.c61 unsigned char extsk[64]; in crypto_sign_ed25519_keypair() local
65 crypto_hash_sha512(extsk, sk, 32); in crypto_sign_ed25519_keypair()
66 extsk[0] &= 248; in crypto_sign_ed25519_keypair()
67 extsk[31] &= 127; in crypto_sign_ed25519_keypair()
68 extsk[31] |= 64; in crypto_sign_ed25519_keypair()
70 sc25519_from32bytes(&scsk,extsk); in crypto_sign_ed25519_keypair()
90 unsigned char extsk[64]; in crypto_sign_ed25519() local
95 crypto_hash_sha512(extsk, sk, 32); in crypto_sign_ed25519()
96 extsk[0] &= 248; in crypto_sign_ed25519()
97 extsk[31] &= 127; in crypto_sign_ed25519()
[all …]