Skip to content

TEE Version Lib App Functions

haijuncai edited this page Mar 6, 2023 · 7 revisions

1. func handleMessage(conn net.Conn,msg string)

conn is the socket connection.

msg is the message sending to socket server.

The function of this function is to obtain and process the received messages from the socket server.

2. func HandleKGRound0Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round0 data structure.

The function of this function is to Process the calculation process of ec keygen round0.

3. func HandleKGRound1Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round1 data structure.

The function of this function is to Process the calculation process of ec keygen round1.

4. func HandleKGRound2SquareFreeProve(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round2 SquareFree Prove data structure.

The function of this function is to Process the calculation process of ec keygen round2 SquareFree Prove.

5. func HandleKGRound2VssShare(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round2 Vss Share data structure.

The function of this function is to Process the calculation process of ec keygen round2 Vss Share.

6. func HandleKGRound3Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round3 data structure.

The function of this function is to Process the calculation process of ec keygen round3.

7. func HandleKGRound4VssCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round4 Vss Check data structure.

The function of this function is to Process the calculation process of ec keygen round4 Vss Check.

8. func HandleKGRound4DeCom(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round4 commitment data structure.

The function of this function is to Process the calculation process of ec keygen round4 commitment.

9. func HandleKGRound5SquareFee(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round5 SquareFee data structure.

The function of this function is to Process the calculation process of ec keygen round5 SquareFee.

10. func HandleKGRound5Hv(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round5 HvProve data structure.

The function of this function is to Process the calculation process of ec keygen round5 HvProve.

11. func HandleKGRound6ComCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round6 commitment check data structure.

The function of this function is to Process the calculation process of ec keygen round6 commitment check.

12. func HandleKGRound6SquareFeeCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round6 SquareFee Check data structure.

The function of this function is to Process the calculation process of ec keygen round6 SquareFee Check.

13. func HandleKGRound6HvCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round6 HvProve Check data structure.

The function of this function is to Process the calculation process of ec keygen round6 HvProve Check.

14. func HandleKGRound6Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round6 data structure.

15. func HandleKGRound7Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen Round7 data structure.

16. func HandleSigningRound1Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round1 data structure.

The function of this function is to Process the calculation process of ec siging round1.

17. func HandleSigningRound2PaiEnc(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round2 paillier encryption data structure.

The function of this function is to Process the calculation process of ec siging round2 paillier encryption.

18. func HandleSigningRound2Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round2 data structure.

The function of this function is to Process the calculation process of ec siging round2.

19. func HandleSigningRound3Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round3 data structure.

The function of this function is to Process the calculation process of ec siging round3.

20. func HandleSigningRound4MtARangeProofCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round4 MtARangeProof Check data structure.

The function of this function is to Process the calculation process of ec siging round4 MtARangeProof Check.

21. func HandleSigningRound4ComCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round4 commitment check data structure.

The function of this function is to Process the calculation process of ec siging round4 commitment check.

22. func HandleSigningRound4Beta(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round4 beta value calculation data structure.

The function of this function is to Process the calculation process of ec siging round3.

23. func HandleSigningRound4Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round4 data structure.

The function of this function is to Process the calculation process of ec siging round4.

24. func HandleSigningRound4Msg1(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round41 data structure.

The function of this function is to Process the calculation process of ec siging round41.

25. func HandleSigningRound5MtARespZKProofCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round5 MtARespZKProof Check data structure.

The function of this function is to Process the calculation process of ec siging round5 MtARespZKProof Check.

26. func HandleSigningRound5ComCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round5 commitment check data structure.

The function of this function is to Process the calculation process of ec siging round5 commitment check.

27. func HandleSigningRound5Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round5 data structure.

The function of this function is to Process the calculation process of ec siging round5.

28. func HandleSigningRound6Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round6 data structure.

The function of this function is to Process the calculation process of ec siging round6.

29. func HandleSigningRound7ComCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round7 commitment check data structure.

The function of this function is to Process the calculation process of ec siging round7 commitment check.

30. func HandleSigningRound7DeCom(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round7 commitment data structure.

The function of this function is to Process the calculation process of ec siging round7 commitment.

31. func HandleSigningRound7Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round7 data structure.

The function of this function is to Process the calculation process of ec siging round7.

32. func HandleSigningRound8PDLwSlackCheck(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round8 PDLwSlack Check data structure.

The function of this function is to Process the calculation process of ec siging round8 PDLwSlack Check.

33. func HandleSigningRound8CalcK1R(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round8 K1R calculation data structure.

The function of this function is to Process the calculation process of ec siging round8 K1R calculation.

34. func HandleSigningRound8Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round8 data structure.

The function of this function is to Process the calculation process of ec siging round8.

35. func HandleSigningRound9Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round9 data structure.

The function of this function is to Process the calculation process of ec siging round9.

36. func HandleSigningRound10Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round10 data structure.

The function of this function is to Process the calculation process of ec siging round10.

37. func HandleSigningRound11Msg(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing Round11 data structure.

The function of this function is to Process the calculation process of ec siging round11.

38. func HandleEDKGRound0Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round0 data structure.

The function of this function is to Process the calculation process of ed keygen round0.

39. func HandleEDKGRound1Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round1 data structure.

The function of this function is to Process the calculation process of ed keygen round1.

40. func HandleEDKGRound2Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round2 data structure.

The function of this function is to Process the calculation process of ed keygen round2.

41. func HandleEDKGRound3Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round3 data structure.

The function of this function is to Process the calculation process of ed keygen round3.

42. func HandleEDKGRound4ComCheck(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round4 commitment check data structure.

The function of this function is to Process the calculation process of ed keygen round4 commitment check.

43. func HandleEDKGRound4Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round4 data structure.

The function of this function is to Process the calculation process of ed keygen round4.

44. func HandleEDKGRound4Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round4 data structure.

The function of this function is to Process the calculation process of ed keygen round4.

45. func HandleEDKGRound5Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round5 data structure.

The function of this function is to Process the calculation process of ed keygen round5.

46. func HandleEDKGRound6VssCheck(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round6 Vss Check data structure.

The function of this function is to Process the calculation process of ed keygen round6 vss check.

47. func HandleEDKGRound6Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen Round6 data structure.

The function of this function is to Process the calculation process of ed keygen round6.

48. func HandleEDSigningRound1Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing Round1 data structure.

The function of this function is to Process the calculation process of ed signing round1.

49. func HandleEDSigningRound2Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing Round2 data structure.

The function of this function is to Process the calculation process of ed signing round2.

50. func HandleEDSigningRound3Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing Round3 data structure.

The function of this function is to Process the calculation process of ed signing round3.

51. func HandleEDSigningRound4Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing Round4 data structure.

The function of this function is to Process the calculation process of ed signing round4.

52. func HandleEDSigningRound5Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing Round5 data structure.

The function of this function is to Process the calculation process of ed signing round5.

53. func HandleEDSigningRound6Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing Round6 data structure.

The function of this function is to Process the calculation process of ed signing round6.

54. func HandleEDSigningRound7Msg(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing Round7 data structure.

The function of this function is to Process the calculation process of ed signing round7.

55. func HandleECKGTeeValidateData(conn net.Conn,content string)

conn is the socket connection.

content is the EC KeyGen TeeValidateData data structure.

The function of this function is to Process the calculation process of ec keygen TeeValidateData.

56. func HandleECSigningTeeValidateData(conn net.Conn,content string)

conn is the socket connection.

content is the EC Signing TeeValidateData data structure.

The function of this function is to Process the calculation process of ec signing TeeValidateData.

57. func HandleEDKGTeeValidateData(conn net.Conn,content string)

conn is the socket connection.

content is the ED KeyGen TeeValidateData data structure.

The function of this function is to Process the calculation process of ed keygen TeeValidateData.

58. func HandleEDSigningTeeValidateData(conn net.Conn,content string)

conn is the socket connection.

content is the ED Signing TeeValidateData data structure.

The function of this function is to Process the calculation process of ed signing TeeValidateData.

Clone this wiki locally