MCPcopy Create free account
hub / github.com/conflow-dev/ConFlow / encrypt1

Function encrypt1

sgx_tf_ops/App/App.cpp:172–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172void 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
182void decrypt(unsigned long int eid,float *input, int N, float *output){
183 sgx_status_t ret = ecall_decrypt(eid, input,N,output);

Callers

nothing calls this directly

Calls 2

ecall_encryptFunction · 0.85
print_error_messageFunction · 0.85

Tested by

no test coverage detected