![]() |
nrfxlib API 3.3.99
|
| void ocrypto_ml_kem768_encaps | ( | ocrypto_ml_kem768_ctx * | ctx, |
| uint8_t | key[32], | ||
| uint8_t | ct[((3 *10+4) *32)], | ||
| const uint8_t | pk[(3 *384+32)], | ||
| const uint8_t | m[32] ) |
#include <crypto/nrf_oberon/include/ocrypto_ml_kem768.h>
Encapsulates a key.
| [in] | ctx | Context. |
| [out] | key | Encapsulated key (32 bytes). |
| [out] | ct | Ciphertext. |
| [in] | pk | Public key. |
| [in] | m | Random message (32 bytes). |