nrfxlib API 0.1.0
Loading...
Searching...
No Matches
ocrypto_rsa_padding.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

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)