26#ifndef OCRYPTO_RSA_OPERATIONS_H
27#define OCRYPTO_RSA_OPERATIONS_H
68 uint8_t *c,
size_t c_len,
69 const uint8_t *m,
size_t m_len,
70 const uint8_t *seed,
size_t s_len,
94 uint8_t *m,
size_t m_len,
95 const uint8_t *c,
size_t c_len,
119 uint8_t *m,
size_t m_len,
120 const uint8_t *c,
size_t c_len,
146 uint8_t *c,
size_t c_len,
147 const uint8_t *m,
size_t m_len,
148 const uint8_t *label,
size_t l_len,
149 const uint8_t seed[32],
175 uint8_t *m,
size_t m_len,
176 const uint8_t *c,
size_t c_len,
177 const uint8_t *label,
size_t l_len,
203 uint8_t *m,
size_t m_len,
204 const uint8_t *c,
size_t c_len,
205 const uint8_t *label,
size_t l_len,
227 uint8_t *s,
size_t s_len,
228 const uint8_t *m,
size_t m_len,
250 uint8_t *s,
size_t s_len,
251 const uint8_t *m,
size_t m_len,
274 const uint8_t *s,
size_t s_len,
275 const uint8_t *m,
size_t m_len,
300 uint8_t *s,
size_t s_len,
301 const uint8_t *m,
size_t m_len,
302 const uint8_t *salt,
size_t salt_len,
327 uint8_t *s,
size_t s_len,
328 const uint8_t *m,
size_t m_len,
329 const uint8_t *salt,
size_t salt_len,
354 const uint8_t *s,
size_t s_len,
355 const uint8_t *m,
size_t m_len,
int ocrypto_rsa_pss_sha256_verify(const uint8_t *s, size_t s_len, const uint8_t *m, size_t m_len, size_t salt_len, const ocrypto_rsa_pub_key *pk, uint32_t *mem)
int ocrypto_rsa_oaep_sha256_crt_decrypt(uint8_t *m, size_t m_len, const uint8_t *c, size_t c_len, const uint8_t *label, size_t l_len, const ocrypto_rsa_crt_key *key, uint32_t *mem)
int ocrypto_rsa_pkcs1_v15_sha256_sign(uint8_t *s, size_t s_len, const uint8_t *m, size_t m_len, const ocrypto_rsa_key *key, uint32_t *mem)
int ocrypto_rsa_oaep_sha256_encrypt(uint8_t *c, size_t c_len, const uint8_t *m, size_t m_len, const uint8_t *label, size_t l_len, const uint8_t seed[32], const ocrypto_rsa_pub_key *pk, uint32_t *mem)
int ocrypto_rsa_pkcs1_v15_crt_decrypt(uint8_t *m, size_t m_len, const uint8_t *c, size_t c_len, const ocrypto_rsa_crt_key *key, uint32_t *mem)
int ocrypto_rsa_pss_sha256_sign(uint8_t *s, size_t s_len, const uint8_t *m, size_t m_len, const uint8_t *salt, size_t salt_len, const ocrypto_rsa_key *key, uint32_t *mem)
int ocrypto_rsa_pkcs1_v15_decrypt(uint8_t *m, size_t m_len, const uint8_t *c, size_t c_len, const ocrypto_rsa_key *key, uint32_t *mem)
int ocrypto_rsa_pkcs1_v15_encrypt(uint8_t *c, size_t c_len, const uint8_t *m, size_t m_len, const uint8_t *seed, size_t s_len, const ocrypto_rsa_pub_key *pk, uint32_t *mem)
int ocrypto_rsa_pkcs1_v15_sha256_crt_sign(uint8_t *s, size_t s_len, const uint8_t *m, size_t m_len, const ocrypto_rsa_crt_key *key, uint32_t *mem)
int ocrypto_rsa_oaep_sha256_decrypt(uint8_t *m, size_t m_len, const uint8_t *c, size_t c_len, const uint8_t *label, size_t l_len, const ocrypto_rsa_key *key, uint32_t *mem)
int ocrypto_rsa_pss_sha256_crt_sign(uint8_t *s, size_t s_len, const uint8_t *m, size_t m_len, const uint8_t *salt, size_t salt_len, const ocrypto_rsa_crt_key *key, uint32_t *mem)
int ocrypto_rsa_pkcs1_v15_sha256_verify(const uint8_t *s, size_t s_len, const uint8_t *m, size_t m_len, const ocrypto_rsa_pub_key *pk, uint32_t *mem)
Definition: ocrypto_rsa_primitives.h:97
Definition: ocrypto_rsa_primitives.h:86
Definition: ocrypto_rsa_primitives.h:75