Searched refs:mtpz_rsa_t (Results 1 - 1 of 1) sorted by relevance

/external/libmtp/src/
H A Dmtpz.c200 } mtpz_rsa_t; typedef in typeref:struct:mtpz_rsa_struct
202 mtpz_rsa_t *mtpz_rsa_init(const unsigned char *modulus, const unsigned char *priv_key, const unsigned char *pub_exp);
203 void mtpz_rsa_free(mtpz_rsa_t *);
204 int mtpz_rsa_decrypt(int flen, unsigned char *from, int tlen, unsigned char *to, mtpz_rsa_t *rsa);
205 int mtpz_rsa_sign(int flen, unsigned char *from, int tlen, unsigned char *to, mtpz_rsa_t *rsa);
271 mtpz_rsa_t *mtpz_rsa_init(const unsigned char *str_modulus, const unsigned char *str_privkey, const unsigned char *str_pubexp)
273 mtpz_rsa_t *rsa = calloc(1, sizeof(mtpz_rsa_t));
293 void mtpz_rsa_free(mtpz_rsa_t *rsa)
299 int mtpz_rsa_decrypt(int flen, unsigned char *from, int tlen, unsigned char *to, mtpz_rsa_t *rs
[all...]

Completed in 159 milliseconds