on-internet
← Community

Ensure validity of a ED25519 public key

Stack Overflow ·

The EVP_PKEY_new_raw_public_key function of the OpenSSL API allows me to import a raw key: EVP_PKEY_new_raw_public_key(EVP_PKEY_ED25519, NULL, buffer, buflen). Is there a way to verify certain properties of the raw key in buffer? For example, how could I verify that the key is a valid key, and not some random string?

Comments

Sign in or sign up to comment and upvote.

No comments yet.