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

◆ ocrypto_ml_kem768_encaps()

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.

Parameters
[in]ctxContext.
[out]keyEncapsulated key (32 bytes).
[out]ctCiphertext.
[in]pkPublic key.
[in]mRandom message (32 bytes).