![]() |
nrfxlib API 3.3.99
|
| void ocrypto_ed25519_sign_ctx | ( | ocrypto_ed25519_ctx * | ctx, |
| uint8_t | sig[(64)], | ||
| const uint8_t * | m, | ||
| size_t | m_len, | ||
| const uint8_t | sk[(32)], | ||
| const uint8_t | pk[(32)] ) |
#include <crypto/nrf_oberon/include/ocrypto_ed25519.h>
Ed25519 signature generate with context.
The message m is signed using the secret key sk and the corresponding public key pk. The signature is put into sig.
| ctx | Context. | |
| [out] | sig | Generated signature. |
| m | Input message. | |
| m_len | Length of m. | |
| sk | Secret key. | |
| pk | Public key. |