nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_ed448ph.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define ocrypto_ed448ph_PUBLIC_KEY_BYTES   (57)
 
#define ocrypto_ed448ph_SECRET_KEY_BYTES   (57)
 
#define ocrypto_ed448ph_HASH_BYTES   (64)
 
#define ocrypto_ed448ph_BYTES   (114)
 

Functions

void ocrypto_ed448ph_public_key (uint8_t pk[(57)], const uint8_t sk[(57)])
 
void ocrypto_ed448ph_sign (uint8_t sig[(114)], const uint8_t hash[(64)], const uint8_t sk[(57)], const uint8_t pk[(57)])
 
int ocrypto_ed448ph_verify (const uint8_t sig[(114)], const uint8_t hash[(64)], const uint8_t pk[(57)])
 

Detailed Description

Ed448 is a specific implementation of EdDSA, a digital signature scheme. EdDSA is based on Twisted Edwards curves and is designed to be faster than existing digital signature schemes without sacrificing security.

See also
[RFC8032: Edwards-Curve Digital Signature Algorithm (EdDSA)]