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

Function ecall_decrypt

sgx_tf_ops/Enclave/Enclave.cpp:215–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215void ecall_decrypt(float *input,int N, float *output){
216 for(int j=0;j<N;j++){
217 output[j] = 0.0f;
218 float sum = input[insert*N+j];
219 float c = 0.0f;
220 for(int i=0;i<Nt;i++){
221 float y = input[indexs[i]*N+j] - c;
222 float t = sum + y;
223 c = (t - sum) - y;
224 sum = t;
225 }
226 output[j] = sum;
227 }
228 return;
229}
230
231void ecall_relu(float *input,int N,float *output){
232 float *x = (float*)malloc(sizeof(float)*N);

Callers 1

decryptFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected