nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_cc310_bl_ecdsa_verify_init_secp256r1()

CRYSError_t nrf_cc310_bl_ecdsa_verify_init_secp256r1 ( nrf_cc310_bl_ecdsa_verify_context_secp256r1_t *const  p_context,
nrf_cc310_bl_ecc_public_key_secp256r1_t const *const  p_public_key 
)

#include <crypto/nrf_cc310_bl/include/nrf_cc310_bl_ecdsa_verify_secp256r1.h>

Function for initializing the context information for an ECDSA verify operation.

Note
The memory that holds the context object must be allocated prior to this call.
Parameters
[in,out]p_contextPointer to the structure holding context information for the ECDSA verify operation.
[in]p_public_keyPointer to the structure holding the public key for the ECDSA verify operation.
Return values
CRYS_ECDSA_VERIFY_INVALID_USER_CONTEXT_PTR_ERRORp_context was NULL.
CRYS_ECDSA_VERIFY_SIGNER_PUBL_KEY_VALIDATION_TAG_ERRORp_public_key was NULL.