Home
last modified time | relevance | path

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

/third_party/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 …]