nrfxlib API 0.1.0
|
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.
ctx | Context. |
1 | If another call to ocrypto_ecdh_p256_common_secret_iterate is needed. |
0 | If key generation should be completed by a call to ocrypto_ecdh_p256_common_secret_final . |