Home
last modified time | relevance | path

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

/external/openssh/
Dsshkey.c651 freezero(k->ed25519_pk, ED25519_PK_SZ); in sshkey_free()
770 memcmp(a->ed25519_pk, b->ed25519_pk, ED25519_PK_SZ) == 0; in sshkey_equal_public()
881 key->ed25519_pk, ED25519_PK_SZ)) != 0) in to_blob_buf()
1449 freezero(ret->ed25519_pk, ED25519_PK_SZ); in sshkey_read()
1457 freezero(ret->ed25519_pk, ED25519_PK_SZ); in sshkey_read()
1724 if ((k->ed25519_pk = malloc(ED25519_PK_SZ)) == NULL || in sshkey_generate()
1918 if ((n->ed25519_pk = malloc(ED25519_PK_SZ)) == NULL) { in sshkey_from_private()
1922 memcpy(n->ed25519_pk, k->ed25519_pk, ED25519_PK_SZ); in sshkey_from_private()
2510 if (len != ED25519_PK_SZ) { in sshkey_from_blob_internal()
2977 k->ed25519_pk, ED25519_PK_SZ)) != 0) in sshkey_certify_custom()
[all …]
Dssh-sk.c254 if (resp->public_key_len != ED25519_PK_SZ) { in sshsk_ed25519_assemble()
264 if ((key->ed25519_pk = malloc(ED25519_PK_SZ)) == NULL) { in sshsk_ed25519_assemble()
269 memcpy(key->ed25519_pk, resp->public_key, ED25519_PK_SZ); in sshsk_ed25519_assemble()
Dsshkey.h157 #define ED25519_PK_SZ crypto_sign_ed25519_PUBLICKEYBYTES macro