SharkSSL C/C++ Reference
TLS, cryptography, certificates, and PSA integration
SharkSslCRACENFF Struct Reference

#include <SharkSslCRACENFF.h>

Data Fields

const uint8_t * prime
 Borrowed big-endian prime; owned by the caller. More...
 
uint16_t primeLen
 Prime length in bytes. More...
 

Detailed Description

Nordic CRACEN finite-field context.

The caller owns prime for the lifetime of the context. The caller must initialize PSA Crypto before init. The prime must be a trusted, validated odd prime; init checks only its encoding and hardware size, not primality.

Field Documentation

◆ prime

const uint8_t* SharkSslCRACENFF::prime

Borrowed big-endian prime; owned by the caller.

◆ primeLen

uint16_t SharkSslCRACENFF::primeLen

Prime length in bytes.