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

◆ ocrypto_ml_dsa87_verify_hash()

static int ocrypto_ml_dsa87_verify_hash ( ocrypto_ml_dsa87_ctx * ctx,
const uint8_t sig[(4627)],
const uint8_t * hash,
size_t hash_len,
const uint8_t oid[11],
const uint8_t * ctx_str,
size_t ctx_len,
const uint8_t pk[(2592)] )
inlinestatic

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

Verifies a signature against a hash.

Parameters
[in]ctxContext.
[in]sigSignature to verify.
[in]hashHash to verify.
[in]hash_lenLength of the hash.
[in]oidObject identifier (11 bytes).
[in]ctx_strContext string (optional).
[in]ctx_lenLength of the context string (0 <= ctx_len < 256).
[in]pkPublic key.
Returns
0 on success, non-zero on failure.