nrfxlib API 2.8.99
|
int ocrypto_rsa1024_init_pub_key | ( | ocrypto_rsa1024_pub_key * | pk, |
const uint8_t * | n, | ||
size_t | n_len ) |
#include <crypto/nrf_oberon/include/ocrypto_rsa_key.h>
1024-bit RSA public key setup.
[out] | pk | The initialized public key. |
n | The RSA modulus. Must be exactly 1024 bits. | |
n_len | Length of n . |
-1 | If the input length is invalid. |
0 | On success. |