24#ifndef OCRYPTO_RSA_PADDING_H
25#define OCRYPTO_RSA_PADDING_H
53 uint8_t *em,
size_t em_len,
54 const uint8_t *m,
size_t m_len,
55 const uint8_t *seed,
size_t s_len);
70 uint8_t *m,
size_t m_len,
71 const uint8_t *em,
size_t em_len);
89 uint8_t *em,
size_t em_len,
90 const uint8_t *m,
size_t m_len,
91 const uint8_t *label,
size_t l_len,
92 const uint8_t seed[32]);
109 uint8_t *m,
size_t m_len,
110 uint8_t *em,
size_t em_len,
111 const uint8_t *label,
size_t l_len);
126 uint8_t *em,
size_t em_len,
127 const uint8_t *m,
size_t m_len);
144 uint8_t *em,
size_t em_len,
145 const uint8_t *m,
size_t m_len,
146 const uint8_t *salt,
size_t s_len);
162 uint8_t *em,
size_t em_len,
163 const uint8_t *m,
size_t m_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_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_pss_sha256_decode(uint8_t *em, size_t em_len, const uint8_t *m, size_t m_len, size_t salt_len)
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_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_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])