|
static mcci_tweetnacl_result_t | mcci_tweetnacl_box (unsigned char *pCipherText, const unsigned char *pPlainText, size_t sizeText, const mcci_tweetnacl_box_nonce_t *pNonce, const mcci_tweetnacl_box_publickey_t *pPublicKey, const mcci_tweetnacl_box_privatekey_t *pPrivateKey) |
| Public-key authenticated encryption. More...
|
|
static mcci_tweetnacl_result_t | mcci_tweetnacl_box_afternm (unsigned char *pCipherText, const unsigned char *pPlainText, size_t sizeText, const mcci_tweetnacl_box_nonce_t *pNonce, const mcci_tweetnacl_box_beforenm_t *pPrecomputed) |
| Public-key authenticated encryption (precomputed) More...
|
|
static void | mcci_tweetnacl_box_beforenm (mcci_tweetnacl_box_beforenm_t *k, const mcci_tweetnacl_box_publickey_t *pPublicKey, const mcci_tweetnacl_box_privatekey_t *pPrivateKey) |
| Precompute for public-key authenticated cryptographic operations. More...
|
|
mcci_tweetnacl_randombytes_error_t | mcci_tweetnacl_box_keypair (mcci_tweetnacl_box_publickey_t *pPublicKey, mcci_tweetnacl_box_privatekey_t *pPrivateKey) |
| Generate a public/private key pair. More...
|
|
static mcci_tweetnacl_result_t | mcci_tweetnacl_box_open (unsigned char *pPlainText, const unsigned char *pCipherText, size_t sizeText, const mcci_tweetnacl_box_nonce_t *pNonce, const mcci_tweetnacl_box_publickey_t *pPublicKey, const mcci_tweetnacl_box_privatekey_t *pPrivateKey) |
| Public-key authenticated decryption. More...
|
|
static mcci_tweetnacl_result_t | mcci_tweetnacl_box_open_afternm (unsigned char *pPlainText, const unsigned char *pCipherText, size_t sizeText, const mcci_tweetnacl_box_nonce_t *pNonce, const mcci_tweetnacl_box_beforenm_t *pPrecomputed) |
| Public-key authenticated decryption (precomputed)) More...
|
|