Commit 3474aa03 authored by yids's avatar yids

seems to work now

parent c21b307a
Pipeline #22 skipped
......@@ -181,9 +181,15 @@ void loop()
for(int i = 0 ; i < 32; i++){
receivedData[i] = buf[i];
}
//decryptAES(receivedData, sharedSecret);
decryptAES((char*)buf, sharedSecret);
decryptAES((char*)receivedData, sharedSecret);
}
}
/* if (sharedSecret[0] == 0){
calcSharedSecret(remotePubkey, privkey);
}
else{
decryptAES((char*)receivedData, sharedSecret);
}
*/
}
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