nrfxlib API 0.1.0
|
APIs to for RSA encryption/decryption and sign/verify using PKCS1 v1.5, OEAP and PSS. More...
Functions | |
int | ocrypto_rsa_pkcs1_v15_padding (uint8_t *em, size_t em_len, const uint8_t *m, size_t m_len, const uint8_t *seed, size_t s_len) |
int | ocrypto_rsa_pkcs1_v15_check_padding (uint8_t *m, size_t m_len, const uint8_t *em, size_t em_len) |
int | ocrypto_rsa_oaep_sha256_padding (uint8_t *em, size_t em_len, const uint8_t *m, size_t m_len, const uint8_t *label, size_t l_len, const uint8_t seed[32]) |
int | ocrypto_rsa_oaep_sha256_check_padding (uint8_t *m, size_t m_len, uint8_t *em, size_t em_len, const uint8_t *label, size_t l_len) |
int | ocrypto_rsa_pkcs1_v15_sha256_encode (uint8_t *em, size_t em_len, const uint8_t *m, size_t m_len) |
int | ocrypto_rsa_pss_sha256_encode (uint8_t *em, size_t em_len, const uint8_t *m, size_t m_len, const uint8_t *salt, size_t s_len) |
int | ocrypto_rsa_pss_sha256_decode (uint8_t *em, size_t em_len, const uint8_t *m, size_t m_len, size_t salt_len) |
APIs to for RSA encryption/decryption and sign/verify using PKCS1 v1.5, OEAP and PSS.
These functions support RSA PKCS1, OEAP, and PSS padding.