Added gmp

parent 207e6323
...@@ -174,7 +174,7 @@ void e_mpf_div(mpf_t *c_un, mpf_t *a_un, mpf_t *b_un) { ...@@ -174,7 +174,7 @@ void e_mpf_div(mpf_t *c_un, mpf_t *a_un, mpf_t *b_un) {
mpz_t c3, c4, c5; mpz_t c3, c4, c5;
int pi_init = 0; int pi_init = 0;
void encrypt_key(mpf_t *pi_un, int *err_status, char key[100]) { void encrypt_key(mpf_t *pi_un, int *err_status, char* key) {
*err_status = -1; *err_status = -1;
......
...@@ -24,7 +24,7 @@ enclave { ...@@ -24,7 +24,7 @@ enclave {
public void encrypt_key ( public void encrypt_key (
[user_check] mpf_t *pi, [user_check] mpf_t *pi,
[user_check] int *err_status, [user_check] int *err_status,
[in] char key[100]); [in, count = 100] char* key);
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment