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

◆ ocrypto_hss_shake256_verify()

int ocrypto_hss_shake256_verify ( const uint8_t * sig,
size_t sig_len,
const uint8_t * m,
size_t m_len,
const uint8_t * pk,
size_t pk_len )

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

HSS-SHAKE256 hierarchical signature verification.

The signature sig of the input message msg is verified using the signer's public key pk.

Parameters
sigInput signature.
sig_lenLength of sig.
mInput message.
m_lenLength of msg.
pkSigner's public key.
pk_lenLength of pk.
Return values
0If the signature is valid.
-1Otherwise.