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

◆ ocrypto_ml_kem1024_encaps()

void ocrypto_ml_kem1024_encaps ( ocrypto_ml_kem1024_ctx * ctx,
uint8_t key[32],
uint8_t ct[((4 *11+5) *32)],
const uint8_t pk[(4 *384+32)],
const uint8_t m[32] )

#include <crypto/nrf_oberon/include/ocrypto_ml_kem1024.h>

Encapsulates a key.

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