nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_ecdh_p256_common_secret_iterate()

int ocrypto_ecdh_p256_common_secret_iterate ( ocrypto_ecdh_p256_ctx * ctx)

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

Incremental ECDH P-256 common secret generation step.

Common secret calculation is advanced and the context ctx is updated by this function.

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