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

◆ ocrypto_ecdh_p256_public_key_iterate()

int ocrypto_ecdh_p256_public_key_iterate ( ocrypto_ecdh_p256_ctx *  ctx)

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

Incremental ECDH P-256 public key generation step.

The key calculation is advanced and the context ctx is updated by this function.

Parameters
ctxContext.
Return values
1If another call to ocrypto_ecdh_p256_public_key_init is needed.
0If key generation should be completed by a call to ocrypto_ecdh_p256_public_key_final.