Go to the source code of this file.
◆ anonymous enum
| Enumerator |
|---|
| EdDSA_SUCCESS | |
| EdDSA_POINTOR_NULL | |
| EdDSA_INVALID_INPUT | |
| EdDSA_VERIFY_FAIL | |
◆ Ed25519_MODE
| Enumerator |
|---|
| Ed25519_DEFAULT | |
| Ed25519_CTX | |
| Ed25519_PH | |
◆ ed25519_get_pubkey_from_prikey()
| uint32_t ed25519_get_pubkey_from_prikey |
( |
uint8_t |
prikey[32], |
|
|
uint8_t |
pubkey[32] |
|
) |
| |
◆ ed25519_getkey()
| uint32_t ed25519_getkey |
( |
uint8_t |
prikey[32], |
|
|
uint8_t |
pubkey[32] |
|
) |
| |
◆ ed25519_sign()
| uint32_t ed25519_sign |
( |
Ed25519_MODE |
mode, |
|
|
uint8_t |
prikey[32], |
|
|
uint8_t |
pubkey[32], |
|
|
uint8_t * |
ctx, |
|
|
uint8_t |
ctxByteLen, |
|
|
uint8_t * |
M, |
|
|
uint32_t |
MByteLen, |
|
|
uint8_t |
RS[64] |
|
) |
| |
◆ ed25519_verify()
| uint32_t ed25519_verify |
( |
Ed25519_MODE |
mode, |
|
|
uint8_t |
pubkey[32], |
|
|
uint8_t * |
ctx, |
|
|
uint8_t |
ctxByteLen, |
|
|
uint8_t * |
M, |
|
|
uint32_t |
MByteLen, |
|
|
uint8_t |
RS[64] |
|
) |
| |
◆ ed25519