The build option used for wolfSSL are:
./configure --enable-ed448 --enable-keygen
make
sudo make install
sudo ldconfig
The curve448_keys.c
example shows how to work with storing and loading keys after they have been generated.
- Creates a key structure
- Stores the private key in DER format.
- Loads DER private key back into a curve448_key struct.
The curve448_sign.c:
example takes a random message and private key, creates a signature then verifies it.
The curve448_verify.c
example uses NIST test vectors to demonstrate hashing a message and verifying an Ed448 signature.
The curve448_pub
example code shows how to extracting an Ed448 public key from private key.