nrfxlib API 3.3.99
Loading...
Searching...
No Matches

Ed25519ph algorithm, used for EdDSA with pre-hashing. More...

Files

file  ocrypto_ed25519ph.h
 Ed25519ph algorithm, used for EdDSA with pre-hashing.
 

Macros

#define ocrypto_ed25519ph_PUBLIC_KEY_BYTES   (32)
 
#define ocrypto_ed25519ph_SECRET_KEY_BYTES   (32)
 
#define ocrypto_ed25519ph_HASH_BYTES   (64)
 
#define ocrypto_ed25519ph_BYTES   (64)
 

Functions

void ocrypto_ed25519ph_public_key (uint8_t pk[(32)], const uint8_t sk[(32)])
 
void ocrypto_ed25519ph_sign (uint8_t sig[(64)], const uint8_t hash[(64)], const uint8_t sk[(32)], const uint8_t pk[(32)])
 
int ocrypto_ed25519ph_verify (const uint8_t sig[(64)], const uint8_t hash[(64)], const uint8_t pk[(32)])
 
void ocrypto_ed25519ph_public_key_ctx (ocrypto_ed25519ph_ctx *ctx, uint8_t pk[(32)], const uint8_t sk[(32)])
 
void ocrypto_ed25519ph_sign_ctx (ocrypto_ed25519ph_ctx *ctx, uint8_t sig[(64)], const uint8_t hash[(64)], const uint8_t sk[(32)], const uint8_t pk[(32)])
 
int ocrypto_ed25519ph_verify_ctx (ocrypto_ed25519ph_ctx *ctx, const uint8_t sig[(64)], const uint8_t hash[(64)], const uint8_t pk[(32)])
 

Detailed Description

Ed25519ph algorithm, used for EdDSA with pre-hashing.

Ed25519ph is a specific implementation of EdDSA, a digital signature scheme with prehashing. EdDSA is based on Twisted Edwards curves and is designed to be faster than existing digital signature schemes without sacrificing security. It was developed by Daniel J. Bernstein, et al. Ed25519ph is intended to provide attack resistance comparable to quality 128-bit symmetric ciphers.

See also
RFC - Edwards-Curve Digital Signature Algorithm (EdDSA)