| 170 | } |
| 171 | |
| 172 | void encrypt1(unsigned long int eid,float *input, int N, float *output){ |
| 173 | //printf("ceshi_encrypt\n"); |
| 174 | sgx_status_t ret = ecall_encrypt(eid, input,N,output); |
| 175 | //print_error_message(ret); |
| 176 | if (ret != SGX_SUCCESS) { |
| 177 | print_error_message(ret); |
| 178 | throw ret; |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | void decrypt(unsigned long int eid,float *input, int N, float *output){ |
| 183 | sgx_status_t ret = ecall_decrypt(eid, input,N,output); |
nothing calls this directly
no test coverage detected