From 04c63f0d5988ddf41513f991c1acb4604fbcf620 Mon Sep 17 00:00:00 2001 From: sp0001 Date: Tue, 24 Sep 2024 16:40:31 +0200 Subject: [PATCH] Used base16 format for json test vectors. --- draft-irtf-cfrg-cpace.md | 1754 +++---- poc/CPace_coffee.sage | 30 +- poc/CPace_montgomery.sage | 24 +- poc/CPace_string_utils.sage | 98 +- poc/CPace_testvectors.sage | 34 +- poc/CPace_weierstrass.sage | 28 +- poc/test_vectors_X448_X25519.sage | 24 +- testvectors.json | 7553 +---------------------------- 8 files changed, 860 insertions(+), 8685 deletions(-) diff --git a/draft-irtf-cfrg-cpace.md b/draft-irtf-cfrg-cpace.md index 9b46ac9..be6da10 100644 --- a/draft-irtf-cfrg-cpace.md +++ b/draft-irtf-cfrg-cpace.md @@ -863,6 +863,25 @@ We would like to thank the participants on the CFRG list for comments and advice --- back + + + + + + + + + + + + + + + + + + + # CPace function definitions @@ -874,7 +893,7 @@ We would like to thank the participants on the CFRG list for comments and advice ### prepend\_len function -~~~ +~~~ python def prepend_len(data): "prepend LEB128 encoding of length" length = len(data) @@ -914,37 +933,23 @@ def prepend_len(data): #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJwcmVwZW5kX2xlbihiKSI6IFswXSwgImJcIjEyMzRcIiI6IFs0OSwgNTAs - ###IDUxLCA1Ml0sICJwcmVwZW5kX2xlbihiXCIxMjM0XCIpIjogWzQsIDQ5LCA1 - ###MCwgNTEsIDUyXSwgInByZXBlbmRfbGVuKGJ5dGVzKHJhbmdlKDEyNykpKSI6 - ###IFsxMjcsIDAsIDEsIDIsIDMsIDQsIDUsIDYsIDcsIDgsIDksIDEwLCAxMSwg - ###MTIsIDEzLCAxNCwgMTUsIDE2LCAxNywgMTgsIDE5LCAyMCwgMjEsIDIyLCAy - ###MywgMjQsIDI1LCAyNiwgMjcsIDI4LCAyOSwgMzAsIDMxLCAzMiwgMzMsIDM0 - ###LCAzNSwgMzYsIDM3LCAzOCwgMzksIDQwLCA0MSwg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zM4MzkzQTNCM0MzRDNFM0Y0MDQxNDI0MzQ0NDU0NjQ3 + ##NDg0OTRBNEI0QzRENEU0RjUwNTE1MjUzNTQ1NTU2NTc1ODU5NUE1QjVDNUQ1RTV + ##GNjA2MTYyNjM2NDY1NjY2NzY4Njk2QTZCNkM2RDZFNkY3MDcxNzI3Mzc0NzU3Nj + ##c3Nzg3OTdBN0I3QzdEN0U3RiJ9 ~~~ @@ -952,7 +957,7 @@ def prepend_len(data): ### lv\_cat function -~~~ +~~~ python def lv_cat(*args): result = b"" for arg in args: @@ -970,20 +975,18 @@ def prepend_len(data): #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJiYTEiOiBbNDksIDUwLCA1MSwgNTJdLCAiYmEyIjogWzUzXSwgImJhMyI6 - ###IFs1NCwgNTUsIDU2LCA1N10sICJsdl9jYXQoYmExLGJhMixiYTMpIjogWzQs - ###IDQ5LCA1MCwgNTEsIDUyLCAxLCA1MywgMCwgNCwgNTQsIDU1LCA1NiwgNTdd - ###fQ== +~~~ test-vectors + ##eyJiYTEiOiAiMzEzMjMzMzQiLCAiYmEyIjogIjM1IiwgImJhMyI6ICIzNjM3Mzg + ##zOSIsICJsdl9jYXQoYmExLGJhMixiYTMpIjogIjA0MzEzMjMzMzQwMTM1MDAwND + ##M2MzczODM5In0= ~~~ ## Definition of generator\_string function. -~~~ +~~~ python def generator_string(DSI,PRS,CI,sid,s_in_bytes): # Concat all input fields with prepended length information. # Add zero padding in the first hash block after DSI and PRS. @@ -1003,7 +1006,7 @@ def generator_string(DSI,PRS,CI,sid,s_in_bytes): For ordered concatenation lexiographical ordering of byte sequences is used: -~~~ +~~~ python def lexiographically_larger(bytes1,bytes2): "Returns True if bytes1 > bytes2 using lexiographical ordering." min_len = min (len(bytes1), len(bytes2)) @@ -1022,7 +1025,7 @@ With the above definition of lexiographical ordering ordered concatenation is sp -~~~ +~~~ python def o_cat(bytes1,bytes2): if lexiographically_larger(bytes1,bytes2): return b"oc" + bytes1 + bytes2 @@ -1049,22 +1052,19 @@ With the above definition of lexiographical ordering ordered concatenation is sp #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJiXCJBQkNEXCIiOiBbNjUsIDY2LCA2NywgNjhdLCAiYlwiQkNEXCIiOiBb - ###NjYsIDY3LCA2OF0sICJiXCJBQkNERVwiIjogWzY1LCA2NiwgNjcsIDY4LCA2 - ###OV0sICJvX2NhdChiXCJBQkNEXCIsYlwiQkNEXCIpIjogWzExMSwgOTksIDY2 - ###LCA2NywgNjgsIDY1LCA2NiwgNjcsIDY4XSwgIm9fY2F0KGJcIkJDRFwiLGJc - ###IkFCQ0RFXCIpIjogWzExMSwgOTksIDY2LCA2NywgNjgsIDY1LCA2NiwgNjcs - ###IDY4LCA2OV19 +~~~ test-vectors + ##eyJiXCJBQkNEXCIiOiAiNDE0MjQzNDQiLCAiYlwiQkNEXCIiOiAiNDI0MzQ0Iiw + ##gImJcIkFCQ0RFXCIiOiAiNDE0MjQzNDQ0NSIsICJvX2NhdChiXCJBQkNEXCIsYl + ##wiQkNEXCIpIjogIjZGNjM0MjQzNDQ0MTQyNDM0NCIsICJvX2NhdChiXCJCQ0RcI + ##ixiXCJBQkNERVwiKSI6ICI2RjYzNDI0MzQ0NDE0MjQzNDQ0NSJ9 ~~~ ### Definitions for transcript\_ir function -~~~ +~~~ python def transcript_ir(Ya,ADa,Yb,ADb): result = lv_cat(Ya,ADa) + lv_cat(Yb,ADb) return result @@ -1083,28 +1083,23 @@ def transcript_ir(Ya,ADa,Yb,ADb): #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJiXCIxMjNcIiI6IFs0OSwgNTAsIDUxXSwgImJcIjIzNFwiIjogWzUwLCA1 - ###MSwgNTJdLCAiYlwiUGFydHlBXCIiOiBbODAsIDk3LCAxMTQsIDExNiwgMTIx - ###LCA2NV0sICJiXCJQYXJ0eUJcIiI6IFs4MCwgOTcsIDExNCwgMTE2LCAxMjEs - ###IDY2XSwgImJcIjM0NTZcIiI6I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3Mjc0Nzk0MiJ9 ~~~ ### Definitions for transcript\_oc function -~~~ +~~~ python def transcript_oc(Ya,ADa,Yb,ADb): result = o_cat(lv_cat(Ya,ADa),lv_cat(Yb,ADb)) return result @@ -1123,28 +1118,24 @@ def transcript_oc(Ya,ADa,Yb,ADb): #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJiXCIxMjNcIiI6IFs0OSwgNTAsIDUxXSwgImJcIjIzNFwiIjogWzUwLCA1 - ###MSwgNTJdLCAiYlwiUGFydHlBXCIiOiBbODAsIDk3LCAxMTQsIDExNiwgMTIx - ###LCA2NV0sICJiXCJQYXJ0eUJcIiI6IFs4MCwgOTcsIDExNCwgMTE2LCAxMjEs - ###IDY2XSwgImJcIjM0NTZcIiI6IFs1MSwgNTIsIDUzLCA1NF0sICJiXCIyMzQ1 - ###XCIiOiBbNTAsIDUxLCA1MiwgNTNdLCAidHJhbnNjcmlwdF9vYyhiXCIxMjNc - ###IixiXCJQYXJ0eUFcIixiXCIyMzRcIixiXCJQYXJ0eUJcIikiOiBbMTExLCA5 - ###OSwgMywgNTAsIDUxLCA1MiwgNiwgODAsIDk3LCAxMTQsIDExNiwgMTIxLCA2 - ###NiwgMywgNDksIDUwLCA1MSwgNiwgODAsIDk3LCAxMTQsIDExNiwgMTIxLCA2 - ###NV0sICJ0cmFuc2NyaXB0X29jKGJcIjM0NTZcIixiXCJQYXJ0eUFcIixiXCIy - ###MzQ1XCIsYlwiUGFydHlCXCIpIjogWzExMSwgOTksIDQsIDUxLCA1MiwgNTMs - ###IDU0LCA2LCA4MCwgOTcsIDExNCwgMTE2LCAxMjEsIDY1LCA0LCA1MCwgNTEs - ###IDUyLCA1MywgNiwgODAsIDk3LCAxMTQsIDExNiwgMTIxLCA2Nl19 +~~~ test-vectors + ##eyJiXCIxMjNcIiI6ICIzMTMyMzMiLCAiYlwiMjM0XCIiOiAiMzIzMzM0IiwgImJ + ##cIlBhcnR5QVwiIjogIjUwNjE3Mjc0Nzk0MSIsICJiXCJQYXJ0eUJcIiI6ICI1MD + ##YxNzI3NDc5NDIiLCAiYlwiMzQ1NlwiIjogIjMzMzQzNTM2IiwgImJcIjIzNDVcI + ##iI6ICIzMjMzMzQzNSIsICJ0cmFuc2NyaXB0X29jKGJcIjEyM1wiLGJcIlBhcnR5 + ##QVwiLGJcIjIzNFwiLGJcIlBhcnR5QlwiKSI6ICI2RjYzMDMzMjMzMzQwNjUwNjE + ##3Mjc0Nzk0MjAzMzEzMjMzMDY1MDYxNzI3NDc5NDEiLCAidHJhbnNjcmlwdF9vYy + ##hiXCIzNDU2XCIsYlwiUGFydHlBXCIsYlwiMjM0NVwiLGJcIlBhcnR5QlwiKSI6I + ##CI2RjYzMDQzMzM0MzUzNjA2NTA2MTcyNzQ3OTQxMDQzMjMzMzQzNTA2NTA2MTcy + ##NzQ3OTQyIn0= ~~~ ## Decoding and Encoding functions according to RFC7748 -~~~ +~~~ python def decodeLittleEndian(b, bits): return sum([b[i] << 8*i for i in range((bits+7)/8)]) @@ -1166,7 +1157,7 @@ def transcript_oc(Ya,ADa,Yb,ADb): The Elligator 2 map requires a non-square field element Z which shall be calculated as follows. -~~~ +~~~ python def find_z_ell2(F): # Find nonsquare for Elligator2 # Argument: F, a field object, e.g., F = GF(2^255 - 19) @@ -1186,7 +1177,7 @@ results in a value of Z = 2 for Curve25519 and Z=-1 for Ed448. The following code maps a field element r to an encoded field element which is a valid u-coordinate of a Montgomery curve with curve parameter A. -~~~ +~~~ python def elligator2(r, q, A, field_size_bits): # Inputs: field element r, field order q, # curve parameter A and field size in bits @@ -1241,44 +1232,27 @@ is a valid u-coordinate of a Montgomery curve with curve parameter A. #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJIIjogIlNIQS01MTIiLCAiSC5zX2luX2J5dGVzIjogMTI4LCAiUFJTIjog - ###WzgwLCA5NywgMTE1LCAxMTUsIDExOSwgMTExLCAxMTQsIDEwMF0sICJaUEFE - ###IGxlbmd0aCI6IDEwOSwgIkRTSSI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TNBRTk3OUNDMDFFQ0MxQTJBN0NGNDlGNUN + ##FRTU2NTUxQiIsICJnZW5lcmF0b3IgZyI6ICI2NEU4MDk5RTNFQTY4MkNGREM1Q0 + ##I2NjVDMDU3RUJCNTE0RDA2QkYyM0VCQzlGNzQzQjUxQjgyMjQyMzI3MDc0In0= ~~~ @@ -1383,7 +1357,7 @@ is a valid u-coordinate of a Montgomery curve with curve parameter A. ### Corresponding C programming language initializers -~~~ +~~~ c const unsigned char tc_PRS[] = { 0x50,0x61,0x73,0x73,0x77,0x6f,0x72,0x64, }; @@ -1477,64 +1451,34 @@ const unsigned char tc_sid_out_oc[] = { ### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJQUlMiOiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAw - ###XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAxLCAxMTUs - ###IDExMiwgMTExLCAxMTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwgOTUsIDEw - ###NSwgMTEwLCAxMDUsIDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDExNF0sICJz - ###aWQiOiBbMTI2LCA3NSwgNzEsIDE0NSwgMjE0LCAxNjgsIDIzOSwgMSwgMTU1 - ###LCAxNDcsIDEwOCwgMTIxLCAyNTEsIDEyNywgNDQsIDg3XSwgImciOiBbMTAw - ###LCAyMzIsIDksIDE1OCwgNjIsIDE2NiwgMTMwLCAyMDcsIDIyMCwgOTIsIDE4 - ###MiwgMTAxLCAxOTIsIDg3LCAyMzUsIDE4MSwgMjAsIDIwOCwgMTA3LCAyNDIs - ###IDYyLCAxODgsIDE1OSwgMTE2LCA1OSwgODEsIDE4NCwgMzQsIDY2LCA1MCwg - ###MTEyLCAxMTZdLCAieWEiOiBbMzMsIDE4MCwgMjQ0LCAxODksIDE1OCwgMTAw - ###LCAyMzcsIDUzLCA5MiwgNjIsIDE4MiwgMTE4LCAxNjIsIDE0MiwgMTk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0RjAyRjk2RTNDQUY5RDU2MDFGN0VENzYwQTBBOTUxQTVBODYxQjVFNy + ##IsICJzaWRfb3V0cHV0X29jIjogIkEzODM4OUUzNEZBNDkyNzg4QzFERjQzQjA2Q + ##jQyNzcxMDQ5MTE3NEU1M0MzM0IwMTM2MkE0OTBEMTE2RkUxQjdFODcwQUE2RTJB + ##N0ZDMDE4NzI1RTNCN0Y5NjlGNzUwODA0MkU0NENEMzg2M0YzOUFBNzUwMjZBMTk + ##wRDE5MDJCIn0= ~~~ @@ -1582,52 +1526,29 @@ qb: 993c6ad11c4c29da9a56f7691fd0ff8d732e49de6250b6c2e80003ff4629a175 #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJJbnZhbGlkIFkwIjogWzAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAs - ###IDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAs - ###IDAsIDAsIDAsIDAsIDAsIDAsIDBdLCAiSW52YWxpZCBZMSI6IFsxLCAwLCAw - ###LCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAw - ###LCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwLCAwXSwg - ###IkludmFsaWQgWTIiOiBbMjM2LCAyNTUsIDI1NSwgMjU1LCAyNTUsIDI1NSwg - ###MjU1LCAyNTUsIDI1NSwgMjU1LCAyNTUsIDI1NSwgMjU1LCAyNTUsIDI1NSwg - ###MjU1LCAyNTUsIDI1NSwgMjU1LCAyNTUsIDI1NSwgMjU1LCAyNTUsIDI1NSwg - ###MjU1LCAyNTUsIDI1NSwgMjU1LCAyNTUsIDI1NSwgMjU1LCAxMjddLCAiSW52 - ###YWxpZCBZMyI6IFsyMjQsIDIzNSwgMTIyLCAxMjQsIDU5LCA2NSwgMTg0LCAx - ###NzQsIDIyLCA4NiwgMjI3LCAyNTAsIDI0MSw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jogIkQ5 + ##RkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZGRkZ + ##GRkZGRkZGRkZGRkZGRkYiLCAiSW52YWxpZCBZMTAiOiAiQ0RFQjdBN0MzQjQxQj + ##hBRTE2NTZFM0ZBRjE5RkM0NkFEQTA5OERFQjlDMzJCMUZEODY2MjA1MTY1RjQ5Q + ##jg4MCIsICJJbnZhbGlkIFkxMSI6ICI0QzlDOTVCQ0EzNTA4QzI0QjFEMEIxNTU5 + ##QzgzRUY1QjA0NDQ1Q0M0NTgxQzhFODZEODIyNEVEREQwOUYxMUQ3In0= ~~~ ## Test vector for CPace using group X448 and hash SHAKE-256 @@ -1665,52 +1586,31 @@ qb: 993c6ad11c4c29da9a56f7691fd0ff8d732e49de6250b6c2e80003ff4629a175 #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJIIjogIlNIQUtFLTI1NiIsICJILnNfaW5fYnl0ZXMiOiAxMzYsICJQUlMi - ###OiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAwXSwgIlpQ - ###QUQgbGVuZ3RoIjogMTE3LCAiRFNJIjogWzY3LCA4MCwgOTcsIDk5LCAxMDEs - ###IDUyLCA1MiwgNTZdLCAiQ0kiOiBbMTExLCA5OSwgMTEsIDY2LCA5NSwgMTE0 - ###LCAxMDEsIDExNSwgMTEyLCAxMTEsIDExMCwgMTAwLCAxMDEsIDExNCwgMTEs - ###IDY1LCA5NSwgMTA1LCAxMTAsIDEwNSwgMTE2LCAxMDUsIDk3LCAxMTYsIDEx - ###MSwgMTE0XSwgInNpZCI6IFs4MiwgMzUsIDIyNCwgMjA1LCAxOTYsIDkzLCAx - ###MDEsIDExNywgMTAyLCAxNDEsIDEwMCwgMTk3LCA4MiwgMCwgNjUsIDM2XSwg - ###ImdlbmVyYXRvcl9zdHJpbmcoRy5EU0ksUFJTLENJLHNpZCxILnNfaW5fYnl0 - ###ZXMpIjogW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2M0JEOEJFQTdENjlFNDc5RUJBRDA5RTMw + ##QUUwNjJFNUQwODlEQTdGMyIsICJkZWNvZGVkIGZpZWxkIGVsZW1lbnQgb2YgNDQ + ##4IGJpdHMiOiAiOThCNzEzRjg0NTI5MTk0RDcxOUE3RDg2Q0IwRjUwNEI4QUZFQj + ##A1MzU0RDY4NzQ3RTE4QjJFN0NDOEI2REE1MjYwODVFNDI2M0JEOEJFQTdENjlFN + ##Dc5RUJBRDA5RTMwQUUwNjJFNUQwODlEQTdGMyIsICJnZW5lcmF0b3IgZyI6ICJF + ##MjkzQjdDQ0Y2MUNBN0VCOTI4QTI2MzkxQ0YzOEI2NjBGODc0QTAwMUZERjBCRjN + ##BOTFGRDE4MkYyQjZEODNFNjFBOTM3N0VERTEyN0VCQTdFMEQ0QzA4NTkyRUFGRj + ##MzRDRBQTcwNUQ2Q0U1NEJCIn0= ~~~ @@ -1825,7 +1725,7 @@ qb: 993c6ad11c4c29da9a56f7691fd0ff8d732e49de6250b6c2e80003ff4629a175 ### Corresponding C programming language initializers -~~~ +~~~ c const unsigned char tc_PRS[] = { 0x50,0x61,0x73,0x73,0x77,0x6f,0x72,0x64, }; @@ -1931,79 +1831,40 @@ const unsigned char tc_sid_out_oc[] = { ### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJQUlMiOiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAw - ###XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAxLCAxMTUs - ###IDExMiwgMTExLCAxMTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwgOTUsIDEw - ###NSwgMTEwLCAxMDUsIDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDExNF0sICJz - ###aWQiOiBbODIsIDM1LCAyMjQsIDIwNSwgMTk2LCA5MywgMTAxLCAxMTcsIDEw - ###MiwgMTQxLCAxMDAsIDE5NywgODIsIDAsIDY1LCAzNl0sICJnIjogWzIyNiw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Qz + ##c1QzVDMEIxN0ZBRDdFQjcyNERBQTEyRjhGMTkwM0RENkMyQ0VERTYxMzVBIiwgI + ##klTS19JUiI6ICI1OTk4OTJBMjA3OEE4Qzk4ODE4MTYyNUUxRTVFNUY3QTYxNjNG + ##N0Q3MkYyMUI5M0VCRUZCQTBGMTdGRjdFQTNBQTA1OTRCRDU2OUNGNzQyNjQxNTd + ##CM0MwMDg3QkRDQ0YyRjU5Qzc3MTU2NjI4NDg3RjVDQTE2NDVCOEU5RDA1QiIsIC + ##JJU0tfU1kiOiAiM0FDNzNGMDMwMzAyOTZBQTU5MUYwMTMyNkIxOEFGQTQ3RTExO + ##DkxMjlDRDA2QUU4REZCMDVFNkVCMTMxMENERTk0OEI1OUVFRjA3NTUzNjVDMDZB + ##MzM5MjY2QUZFNTk0OTQ4QzU2QTUzOEQ5OEE2NTc2NzExMzkzOEE5QTc4RDgiLCA + ##ic2lkX291dHB1dF9pciI6ICIwMEEyMzMzQTc5NDgxQUJFNzFFRkQ2NTk0RDdCQk + ##FBQzU1QzgwODQ4MkU4NjlDOUI2NUM0QjUzRDcxMDBEM0RBOEYzQ0FCRDU5RkEwQ + ##zFGMjJENkQyRjlBQzBDMDkzOTYyMjkyNzk4RkNBMkMwQjkzMjY4OTc0Q0FENzVE + ##NTc1QSIsICJzaWRfb3V0cHV0X29jIjogIkExQ0U5MDUzN0E4RDUzQjA2RDc3RTc + ##5RkU3MTk0NjFDQzVFRDgzMDBEMjFEMTg2NkE1OUY5NjM4NjAxODMzRjU3QThCNU + ##U4OERCOUE1MkFCRkExQjRFOEE2NTFBNDAwQkM5MjA1MDgyQUFEODFFQjMxMUM0N + ##DM3M0I5QTE5RUZGIn0= ~~~ @@ -2091,73 +1952,39 @@ Test vectors for scalar_mult with nonzero outputs #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJJbnZhbGlkIFkxIjogWzAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAs - ###IDAsIDAsIDAsIDAs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wRDIxMEY0NEUxNDZERUM4OTI2Q + ##jE3NEFDQjNGOTQwQTBCODJDQUIiLCAicmVzX2N1cnZlIjogIjNCMEZBOUJDNDBB + ##NkZEQzc4QzlFMDZGRjdBNTRDMTQzQzVENTJGMzY1NjA3MDUzQkYwNjU2RjUxNDI + ##wNDk2Mjk1RjkxMEExMDFCMzhFREMxQUNEM0JEMjQwRkQ1NURDQjdBMzYwNTUzQj + ##hBNzYyN0UifSwgIlZhbGlkIChvbiB0d2lzdCkiOiB7InMiOiAiQUY4QTE0MjE4Q + ##kYyQTIwNjI5MjZEMkVBOUI4RkU0RThCNjgxNzM0OUI2RUQyRkVCMUU1RDY0RDdB + ##NDUyM0YxNUZDRUVDNzBGQjExMUU4NzBEQzU4RDE5MUU2NkExNEQzRTlENDgyRDA + ##0NDMyQ0FERCIsICJ1X3R3aXN0IjogIkM5ODFDRDFFMUY3MkQ5QzM1QzdEN0NGNk + ##JFNDI2NzU3QzBEQzgyMDZBMkZDRkE1NjRBOEU3NjE4QzAzQzBFNjFGOUEyRUIxQ + ##zNFMEREOTdENkU5QjEwMTBGNUVERDAzMzk3QTgzRjVBOTE0Q0IzRkYiLCAicmVz + ##X3R3aXN0IjogIkQwQTJCQjdFOUM1QzJDNjI3NzkzRDgzNDJGMjNCNzU5RkU3RDl + ##FMzMyMEE4NUNBNEZENjEzNzYzMzE1MEZGRDlBOTE0OEE5Qjc1QzM0OUZBQzQzRD + ##Y0QkVDNDlBNkUxMjZDQzkyQ0JGQkYzNTM5NjEifX0= ~~~ ## Test vector for CPace using group ristretto255 and hash SHA-512 @@ -2195,44 +2022,27 @@ Test vectors for scalar_mult with nonzero outputs #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJIIjogIlNIQS01MTIiLCAiSC5zX2luX2J5dGVzIjogMTI4LCAiUFJTIjog - ###WzgwLCA5NywgMTE1LCAxMTUsIDExOSwgMTExLCAxMTQsIDEwMF0sICJaUEFE - ###IGxlbmd0aCI6IDEwMCwgIkR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1 + ##RUU2MDk1NDVBRjFCRkQxRkY3N0M4RSIsICJlbmNvZGVkIGdlbmVyYXRvciBnIjo + ##gIkE2RkM4MkMzQjg5NjhGQkIyRTA2RkVFODFDQTg1ODU4NkRFQTUwRDI0OEYwQz + ##dDQTZBMThCMDkwMkEzMEIzNkIifQ== ~~~ @@ -2341,7 +2151,7 @@ Test vectors for scalar_mult with nonzero outputs ### Corresponding C programming language initializers -~~~ +~~~ c const unsigned char tc_PRS[] = { 0x50,0x61,0x73,0x73,0x77,0x6f,0x72,0x64, }; @@ -2435,64 +2245,34 @@ const unsigned char tc_sid_out_oc[] = { ### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJQUlMiOiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAw - ###XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAxLCAxMTUs - ###IDExMiwgMTExLCAxMTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwgOTUsIDEw - ###NSwgMTEwLCAxMDUsIDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDExNF0sICJz - ###aWQiOiBbMTI2LCA3NSwgNzEsIDE0NSwgMjE0LCAxNjgsIDIzOSwgMSwgMTU1 - ###LCAxNDcsIDEwOCwgMTIxLCAyNTEsIDEyNywgNDQsIDg3XSwgImciOiBbMTY2 - ###LCAyNTIsIDEzMCwgMTk1LCAxODQsIDE1MCwgMTQzLCAxODcsIDQ2LCA2LCAy - ###NTQsIDIzMiwgMjgsIDE2OCwgODgsIDg4LCAxMDksIDIzNCwgODAsIDIxMCwg - ###NzIsIDI0MCwgMTk5LCAyMDIsIDEwNiwgMjQsIDE3NiwgMTQ0LCA0MiwgNDgs - ###IDE3OSwgMTA3XSwgInlhIjogWzIxOCwgNjEsIDM1LCAxMTIsIDEwLCAxNTgs - ###IDg2LCAxNTMsIDM3LCAxMzgsIDIzOSwgMTQ4LCAyMjAsIDYsIDEzLCAyNTMs - ###I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Y5OS + ##IsICJzaWRfb3V0cHV0X29jIjogIkNBNEI1MDcwMEM0NjIwM0NDRDEwQkMwRTlGM + ##zEwOTVFNTA4MTg5Q0I1OTg1NzUzN0JFNTYxMDQ4RDM0QjlFRDlBOTY5N0FGMTFD + ##OTk4RjQ4NEMzRDc4M0IwQjUzMTQzNENBQTY4MzVENEMzMjM0NEZDRDE3MTYwQzl + ##DMzQ4RkM3In0= ~~~ @@ -2535,31 +2315,19 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJWYWxpZCI6IHsicyI6IFsxMjQsIDIwOCwgMjI0LCAxMTcsIDI1MCwgMTIx - ###LCA4NSwgMTg2LCA4MiwgMTkyLCAzOSwgODksIDE2NiwgMjAxLCAxMywgMTg3 - ###LCAyNTIsIDE2LCAyMzAsIDIxMiwgMTAsIDIzNCwgMTQxLCA0MCwgNjIsIDY0 - ###LCAxMjUsIDEzNiwgMjA3LCA4MywgMTM4LCA1XSwgIlgiOiBbNDQsIDYwLCAx - ###MDcsIDE0MCwgNzksIDU2LCAwLCAyMzEsIDE3NCwgMjQ2LCAxMzQsIDY0LCAz - ###NywgMTgwLCAyMzcsIDEyMSwgMTg5LCA4OSwgMTQ1LCAyMywgMjI4LCAzOSwg - ###MTk2LCAyNywgMjEyLCAxMjUsIDE0NywgMjE0LCA4NCwgMTgwLCAxNjUsIDI4 - ###XSwgIkcuc2NhbGFyX211bHQocyxkZWNvZGUoWCkpIjogWzEyNCwgMTksIDEw - ###MCwgOTUsIDIzMSwgMTQ0LCAxNjQsIDEwNCwgMjQ2LCA0NCwgNTcsIDE5MCwg - ###MTgzLCA1NiwgMTQyLCA4NCwgMjksIDEzMiwgNSwgMjA5LCAxNzMsIDIzMCwg - ###MTU3LCAyMywgMTIwLCAxOTcsIDI1NCwgNjIsIDEyNywgMTA3LCA5NiwgMTRd - ###LCAiRy5zY2FsYXJfbXVsdF92ZnkocyxYKSI6IFsxMjQ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ODhFNTQxRDg0MDVEMUFERTY5RDE3N + ##zhDNUZFM0U3RjZCNjAwRSJ9LCAiSW52YWxpZCBZMSI6ICIyQjNDNkI4QzRGMzgw + ##MEU3QUVGNjg2NDAyNUI0RUQ3OUJENTk5MTE3RTQyN0M0MUJENDdEOTNENjU0QjR + ##BNTFDIiwgIkludmFsaWQgWTIiOiAiMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD + ##AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMCJ9 ~~~ ## Test vector for CPace using group decaf448 and hash SHAKE-256 @@ -2598,52 +2366,30 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJIIjogIlNIQUtFLTI1NiIsICJILnNfaW5fYnl0ZXMiOiAxMzYsICJQUlMi - ###OiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAwXSwgIlpQ - ###QUQgbGVuZ3RoIjogMTEyLCAiRFNJIjogWzY3LCA4MCwgOTcsIDk5LCAxMDEs - ###IDY4LCAxMDEsIDk5LCA5NywgMTAyLCA1MiwgNTIsIDU2XSwgIkNJIjogWzEx - ###MSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAxLCAxMTUsIDExMiwgMTExLCAx - ###MTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwgOTUsIDEwNSwgMTEwLCAxMDUs - ###IDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDExNF0sICJzaWQiOiBbODIsIDM1 - ###LCAyMjQsIDIwNSwgMTk2LCA5MywgMTAxLCAxMTcsIDEwMiwgMTQxLCAxMDAs - ###IDE5NywgODIsIDAsIDY1LCAzNl0sICJnZW5lcmF0b3Jfc3RyaW5nKEcuRFNJ - ###LFBSUyxDSSxzaWQsSC5zX2luX2J5dGVzKSI6IFsxMywgNjcsIDgwLCA5Nywg - ###OTksIDEwMSwgNjgsIDEwMSwgO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EY4RDNBNjFDMzhCMEFGNzkxQzkyNzE + ##xMzdERjAxQjU3RDYzQjc5NzM0QkJDRTY5OTFFM0UyRTEwRkRDODA1QUJDOUU2RT + ##ZGM0RBRUZGNkZEMzQwOTNEMjZERTI0MEIzMjY3NjQyNTIiLCAiZW5jb2RlZCBnZ + ##W5lcmF0b3IgZyI6ICI5QTcwMEVDQzM3OEVCOThFNTczODdERjQ1NkQ1QjRCNEYx + ##RENFRUJCQjEzNzE1MjdFRUI3RTFCRkJBQjY0RUNDOUM5MzAzMzk2MTQ1QkEwNEY + ##1QjVBRUE1QkFFREZBNjFGMzFGMDBGQkM1RkQ1NjA2In0= ~~~ @@ -2758,7 +2504,7 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th ### Corresponding C programming language initializers -~~~ +~~~ c const unsigned char tc_PRS[] = { 0x50,0x61,0x73,0x73,0x77,0x6f,0x72,0x64, }; @@ -2864,79 +2610,40 @@ const unsigned char tc_sid_out_oc[] = { ### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJQUlMiOiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAw - ###XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAxLCAxMTUs - ###IDExMiwgMTExLCAxMTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwgOTUsIDEw - ###NSwgMTEwLCAxMDUsIDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDExNF0sICJz - ###aWQiOiBbODIsIDM1LCAyMjQsIDIwNSwgMTk2LCA5MywgMTAxLCAxMTcsIDEw - ###MiwgMTQxLCAxMDAsIDE5NywgODIsIDAsIDY1LCAzNl0sICJnIjogWzE1NCwg - ###MTEyLCAxNCwgMjA0LCA1NSwgMTQyLCAxODUsIDE0MiwgODcsIDU2LCAxMjUs - ###IDI0NCwgODYsIDIxMywgMTgwLCAxODAsIDI0MSwgMjIwLCAyMzgsIDE4Nywg - ###MTc3LCA1N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wMTlGQUI0QTBBQUJEOUQxN0MyQkE4OTU5OThDRkY2OThEODAxNzY + ##xQTAwMzUxMkMxQ0Y2N0QxNDRCMjFFMUNCNkQ2QjgyREE3MUQwREE3NkNBRCIsIC + ##JJU0tfU1kiOiAiNkQyMTc4RUQzMDQ4NzAzMDI1QjkwMDdFQzg0QzREOTY5RThEO + ##DEzNURGNDU1RTYwOEMxNkFBMTUyRTEyMTlDODZDRUE1NjMyNTQ0MjhBOUQ5Njk5 + ##MDNBRTM2NDlEMTA1MERBMUU2RTBDMUMwNjBFMUVCRjczMTZBN0U5OTMzODkiLCA + ##ic2lkX291dHB1dF9pciI6ICI2NUJGRkRFMTdCN0FDRjA3Q0ZENDM3QkRCOTczQT + ##hGNzM0MEJGOTExRDM5M0E2MTQ5OEMwQTUwRUYwRDY4QkNBMTAzRkJEQjBGNUI3O + ##Tk1MDU1NjJFNTk4MTFERjFCQzVEOUI0RjVGMEY3QzU3QzIyQ0Q3RUQ2REI0RDE1 + ##M0UzQSIsICJzaWRfb3V0cHV0X29jIjogIjdDRTI3MDQzRDFCMUQwRDBFMDJFMTY + ##5Nzk2MzdFMkEwMDU0N0VENkUxNUVBOTg4RjdEM0M5QjNDMjE1OUIyNkFCMzgzNE + ##JGRjdGRjg2MjQwMzIzRTI1MjE2QkEyRUU2RUE2RTE1ODI1MDIwMTdGOEU2RDY1R + ##jhDNEE1RTY1NTQzIn0= ~~~ @@ -2979,44 +2686,25 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJWYWxpZCI6IHsicyI6IFsyMjEsIDI3LCAxOTksIDEsIDkzLCAxNzAsIDE4 - ###NywgMTE4LCAxMTQsIDE4LCAxNTYsIDE5NSwgOTAsIDU5LCAxNjgsIDIxLCA3 - ###MiwgMTA3LCAxOSwgMTU3LCAyMzksIDI0OSwgMTg5LCAyMzYsIDE2NywgMTY0 - ###LCAyNTIsIDk3LCA1MiwgNTAsIDY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,38 +2736,23 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJIIjogIlNIQS0yNTYiLCAiSC5zX2luX2J5dGVzIjogNjQsICJQUlMiOiBb - ###ODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAwXSwgIlpQQUQg - ###bGVuZ3RoIjogMjMsICJEU0kiOiBbNjcsIDgwLCA5NywgOTksIDEwMSwgODAs - ###IDUwLCA1MywgNTQsIDk1LCA4OCwgNzcsIDY4LCA1OCwgODMsIDcyLCA2NSwg - ###NDUsIDUwLCA1MywgNTQsIDk1LCA4MywgODMsIDg3LCA4NSwgOTUsIDc4LCA4 - ###NSwgOTVdLCAiQ0kiOiBbMTExLCA5OSwgMTEsIDY2LCA5NSwgMTE0LCAxMDEs - ###IDExNSwgMTEyLCAxMTEsIDExMCwgMTAwLCAxMDEsIDExNCwgMTEsIDY1LCA5 - ###NSwgMTA1LCAxMTAsIDEwNSwgMTE2LCAxMDUsIDk3LCAxMTYsIDExMSwgMTE0 - ###XSwgInNpZCI6IFs1MiwgMTc5LCAxMDAsIDg0LCAyMDIsIDE3OCwgMjMxLCAx - ###MzIsIDQ0LCA1NiwgMTU5LCAxMjUsIDEzNiwgMjM2LCAxODMsIDIyM10sICJn - ###ZW5lcmF0b3Jfc3RyaW5nKEcuRFNJLFBSUyxDSSxzaWQsSC5zX2luX2J5dGVz - ###KSI6IFszMCwgNjcsIDgwLCA5NywgOTksIDEwMSwgODAsIDUwLCA1MywgNTQs - ###IDk1LCA4OCwgNzcsIDY4LCA1OCwgODMsIDcyLCA2NSwgNDUsIDUwLCA1Mywg - ###NTQsIDk1LCA4MywgODMsIDg3LCA4NSwgOTUsIDc4LCA4NSwgOTUsIDgsIDgw - ###LCA5NywgMTE1LCAxMTUsIDExOSwgMTExLCAxMTQsIDEwMCwgMjMsIDAsIDAs - ###IDAsIDAsIDAsIDAsIDAsIDAsIDAsIDAsIDA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GNzI2NTczNzA2RjZFNjQ2NTcy + ##MEI0MTVGNjk2RTY5NzQ2OTYxNzQ2RjcyIiwgInNpZCI6ICIzNEIzNjQ1NENBQjJ + ##FNzg0MkMzODlGN0Q4OEVDQjdERiIsICJnZW5lcmF0b3Jfc3RyaW5nKEcuRFNJLF + ##BSUyxDSSxzaWQsSC5zX2luX2J5dGVzKSI6ICIxRTQzNTA2MTYzNjU1MDMyMzUzN + ##jVGNTg0RDQ0M0E1MzQ4NDEyRDMyMzUzNjVGNTM1MzU3NTU1RjRFNTU1RjA4NTA2 + ##MTczNzM3NzZGNzI2NDE3MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA + ##wMDAwMDAwMDAwMDAwMDFBNkY2MzBCNDI1RjcyNjU3MzcwNkY2RTY0NjU3MjBCND + ##E1RjY5NkU2OTc0Njk2MTc0NkY3MjEwMzRCMzY0NTRDQUIyRTc4NDJDMzg5RjdEO + ##DhFQ0I3REYiLCAiZ2VuZXJhdG9yIGciOiAiMDRFRUU1NzczMjBCMUMyNDFBNzk0 + ##MTlGQ0RFNTcxOEMyQjYzRjgxRUY4NzE3RDU2QTU3RDJGQjI2QjY1QThCRUI2MzU + ##3M0I1MjYwNUVGQjMyRkY0Q0YzMUFBRUY5QTkyREY4NEU0RTg0MDhDQzZDN0NGMj + ##dBNTM1QUFEMkIzOEE1NiJ9 ~~~ @@ -3209,7 +2882,7 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th ### Corresponding C programming language initializers -~~~ +~~~ c const unsigned char tc_PRS[] = { 0x50,0x61,0x73,0x73,0x77,0x6f,0x72,0x64, }; @@ -3297,61 +2970,32 @@ const unsigned char tc_sid_out_oc[] = { ### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJQUlMiOiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAw - ###XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAxLCAxM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RTBFMkY4OTc2RkI4RDBE + ##RUVFMzBBRUY0QjVDRDM2MzFFRUQyNDlBRjMyRjUzRDBERDAwOUI1RDdCOEY2QjZ + ##DIiwgIklTS19JUiI6ICI5NTY1RUQyODZCNkUzQ0YxRjk0M0ZEMzE3NDZGOUEyMj + ##kzNTUzNzAyNUExMzI4RDQ5ODAwMDVCQTk4NEYwQzM5IiwgIklTS19TWSI6ICI2M + ##kE0NDVBNERBQTM1NDZERDAzMUM2NkVBRDJFNEUwMTVBQkJDQzgzQkRFMzFDOTBG + ##ODQxMTQ5RkQ0NDFDNThBIiwgInNpZF9vdXRwdXRfaXIiOiAiQTczODZEMUMyRUI + ##wNkU4MDU2RDdGRUNCQ0Y2OTFFMDhEMTg5RDk2MjM2MDIwRUYzMUI0MTQwNjk4QT + ##RCOTlGOSIsICJzaWRfb3V0cHV0X29jIjogIkQzMzdEQkMwREQ3OTdCNEU2RjJGM + ##TRFQTQ5MjVDNThFNUQ1NTIzODcxRThDQjQzQTNDMUIwRjJCMUExRkZERTMifQ== ~~~ @@ -3398,39 +3042,23 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJWYWxpZCI6IHsicyI6IFsyNDAsIDE4LCA4MCwgMjgsIDksIDMxLCAyNDks - ###IDE4NSwgMTU0LCAxOCwgNjMsIDI1NSwgMjI5LCAxMTMsIDIxNiwgMTg4LCAx - ###LCAyMzIsIDcsIDEyNiwgMjI5LCAxMjksIDU0LCA0NiwgMjcsIDIxMCwgMTks - ###IDE1MywgOCwgNTMsIDEwMCwgNTldLCAiWCI6IFs0LCAzNiwgMTAwLCAxNDIs - ###IDE4NSwgMTM0LCAxOTQsIDE5MCwgMTAsIDI0NiwgNTQsIDY5LCA5MiwgMjM5 - ###LCA1LCA4MCwgMTAzLCAyOSwgMTA3LCAyMDUsIDEzOCwgMTYyLCAxMTAsIDEz - ###LCAxMTQsIDI1NSwgMTYxLCAxNzcsIDI1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MzNCNzhDNzAxNz + ##UxMTU5RDU2QzU5RjNGRTkxMDVCNTcyMDY3MzQ3MEYzMDNBQjkifSwgIkludmFsa + ##WQgWTEiOiAiMDQyNDY0OEVCOTg2QzJCRTBBRjYzNjQ1NUNFRjA1NTA2NzFENkJD + ##RDhBQTI2RTBENzJGRkExQjFGRDEyQkE0RTBGNzhEQTJCNkQyMTg0RjMxQUYzOUU + ##1NjZBRUYxMjcwMTRCNjkzNkM5QTM3MzQ2RDEwQTRBQjI1MTRGQUVGNTg1NyIsIC + ##JJbnZhbGlkIFkyIjogIjAwIn0= ~~~ ## Test vector for CPace using group NIST P-384 and hash SHA-384 @@ -3466,45 +3094,27 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJIIjogIlNIQS0zODQiLCAiSC5zX2luX2J5dGVzIjogMTI4LCAiUFJTIjog - ###WzgwLCA5NywgMTE1LCAxMTUsIDExOSwgMTExLCAxMTQsIDEwMF0sICJaUEFE - ###IGxlbmd0aCI6IDg3LCAiRFNJIjogWzY3LCA4MCwgOTcsIDk5LCAxMDEsIDgw - ###LCA1MSwgNTYsIDUyLCA5NSwgODgsIDc3LCA2OCwgNTgsIDgzLCA3MiwgNjUs - ###IDQ1LCA1MSwgNTYsIDUyLCA5NSwgODMsIDgzLCA4NywgODUsIDk1LCA3OCwg - ###ODUsIDk1XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAx - ###LCAxMTUsIDExMiwgMTExLCAxMTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwg - ###OTUsIDEwNSwgMTEwLCAxMDUsIDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDEx - ###NF0sICJzaWQiOiBbOTEsIDU1LCAxMTUsIDE3MCwgMTQ0LCAyMzIsIDI0Miwg - ###NjAsIDk3LCA4NiwgNTgsIDc1LCAxMDAsIDkxLCAzOSwgMTA4XSwgImdlbmVy - ###YXR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4NEQ0NDNBNTM0ODQxMkQzMzM4MzQ1RjUzNTM1NzU1NUY0RTU1NUYwODUw + ##NjE3MzczNzc2RjcyNjQ1NzAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDA + ##wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMD + ##AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM + ##DAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAw + ##MDFBNkY2MzBCNDI1RjcyNjU3MzcwNkY2RTY0NjU3MjBCNDE1RjY5NkU2OTc0Njk + ##2MTc0NkY3MjEwNUIzNzczQUE5MEU4RjIzQzYxNTYzQTRCNjQ1QjI3NkMiLCAiZ2 + ##VuZXJhdG9yIGciOiAiMDRGRkUxQkRDMzI5M0ZEQkUzMUIyOTU5OTE2RTUyQzAxO + ##EU5MjNFQUM5OTgzNkJEOUExQ0JFRUM3OTRBOEQ0RDc4QkFBMzJDREFGQzk2ODVC + ##QzEwNjdBNzgwRjRBRDlDOEE2QzZFMTY0QUE0MjkwNkQxRTI3Rjc4MjU4MUFEQzh + ##FMDEwOTIxOTYyNkEyQjhGQkRDMzQ2MDJFNDA4NDU1NEJERDZDMEM2OThERDY1N0 + ##FDOEUzMUIyQkNDRTFDN0IwRDgifQ== ~~~ @@ -3647,7 +3257,7 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th ### Corresponding C programming language initializers -~~~ +~~~ c const unsigned char tc_PRS[] = { 0x50,0x61,0x73,0x73,0x77,0x6f,0x72,0x64, }; @@ -3752,83 +3362,41 @@ const unsigned char tc_sid_out_oc[] = { ### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJQUlMiOiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAw - ###XSwgIkNJIjogWz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DMUQ2QTE4MTQ0QTE1NDIxREMxNTVEMEIxRThBRUY5R + ##jlEOEMwRkU4NkU4NUQzQ0JFRTc3OTZGRjUwMTcxRjQyODAxQiIsICJzaWRfb3V0 + ##cHV0X2lyIjogIjhENUEwMzk0NkE2OUZGQTEyQ0Q2RUZENDY5RkU4NjcxQkJDMjV + ##GQUQ2REIyNjU2RjM5NjNDOTRFOUM5NDBCREVDQzJCRDU1NTQ3NEMyMTE4MTc3OD + ##dENUNGNzg3MEVEMSIsICJzaWRfb3V0cHV0X29jIjogIkMwNzI5REIyNURCNDBDN + ##DhBMzVGNzg3RDU0MTBCMkNCOUEyRDlGNUU5Q0YxQ0YxNTlFRDJGNjNDNkIyMTg1 + ##RTU5N0UxNzZDQzIyMTQyMkU5NDk2RUVEQTJCRjEyM0M4QiJ9 ~~~ @@ -3878,52 +3446,28 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJWYWxpZCI6IHsicyI6IFsxMTAsIDEzOCwgMTUzLCAxNjUsIDIwNSwgMjEy - ###LCA4LCAyMzQsIDIzMywgMTQyLCAyNywgMTM4LCAyMzcsIDQwLCAxMTAsIDEy - ###MywgMTgsIDE3MywgMTg3LCAyMTgsIDE5OSwgMjQyLCAxOTgsIDQwLCAyMTcs - ###IDYsIDEyLCAyMzMsIDQyLCAyMjQsIDIxNywgMTEsIDIxMywgMTIyLCA4Niwg - ###NzksIDIxMSwgODAsIDE1LCAxODgsIDIwNiwgNTIsIDM3LCAyMjAsIDE0OCwg - ###MTg2LCAxMCwgMjIyXSwgIlgiOiBbNCwgOTEsIDc2LCAyMTMsIDYwLCA2OSwg - ###NiwgMjA0LCA0LCAxODYsIDc2LCA2OCwgMjQyLCAxMTgsIDQ1LCA5MywgNTAs - ###IDE5NSwgMjI5LCA5MywgMjQyLCA5MSwgMTM5LCAxNzAsIDg1LCAxMTMsIDE3 - ###NywgMTAxLCAxMjIsIDIxNywgODcsI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##mFsaWQgWTEiOiAiMDQ1QjRDRDUzQzQ1MDZDQzA0QkE0QzQ0RjI3NjJENUQzMkMz + ##RTU1REYyNUI4QkFBNTU3MUIxNjU3QUQ5NTc2RUZFQTgyNTlGMDY4NERFMDY1QTQ + ##3MDU4NUI0QkU4NzY3NDhDNzc5NzA1NEYzREVGRUYyMUI3N0Y4M0Q1M0JBQzU3Qz + ##g5RDUyQUE0RDZERDU4NzJCRDI4MTk4OUIxMzgzNTk2OTgwMDlGOEFDMUYzMDE1M + ##zhCQURDQ0U5RDlGNDAzMDIiLCAiSW52YWxpZCBZMiI6ICIwMCJ9 ~~~ ## Test vector for CPace using group NIST P-521 and hash SHA-512 @@ -3960,49 +3504,28 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJIIjogIlNIQS01MTIiLCAiSC5zX2luX2J5dGVzIjogMTI4LCAiUFJTIjog - ###WzgwLCA5NywgMTE1LCAxMTUsIDExOSwgMTExLCAxMTQsIDEwMF0sICJaUEFE - ###IGxlbmd0aCI6IDg3LCAiRFNJIjogWzY3LCA4MCwgOTcsIDk5LCAxMDEsIDgw - ###LCA1MywgNTAsIDQ5LCA5NSwgODgsIDc3LCA2OCwgNTgsIDgzLCA3MiwgNjUs - ###IDQ1LCA1MywgNDksIDUwLCA5NSwgODMsIDgzLCA4NywgODUsIDk1LCA3OCwg - ###ODUsIDk1XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAx - ###LCAxMTUsIDExMiwgMTExLCAxMTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwg - ###OTUsIDEwNSwgMTEwLCAxMDUsIDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDEx - ###NF0sICJzaWQiOiBbMTI2LCA3NSwgNzEsIDE0NSwgMjE0LCAxNjgsIDIzOSwg - ###MSwgMTU1LCAxNDcsIDEwOCwgMTIxLCAyNTEsIDEyNywgNDQsIDg3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q1OTA3QURBRDg4MjRCQjEzMDdEQ0Y2QTU1QzExQThGMDFEOTc4OUIifQ== ~~~ @@ -4169,7 +3692,7 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th ### Corresponding C programming language initializers -~~~ +~~~ c const unsigned char tc_PRS[] = { 0x50,0x61,0x73,0x73,0x77,0x6f,0x72,0x64, }; @@ -4299,105 +3822,51 @@ const unsigned char tc_sid_out_oc[] = { ### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJQUlMiOiBbODAsIDk3LCAxMTUsIDExNSwgMTE5LCAxMTEsIDExNCwgMTAw - ###XSwgIkNJIjogWzExMSwgOTksIDExLCA2NiwgOTUsIDExNCwgMTAxLCAxMTUs - ###IDExMiwgMTExLCAxMTAsIDEwMCwgMTAxLCAxMTQsIDExLCA2NSwgOTUsIDEw - ###NSwgMTEwLCAxMDUsIDExNiwgMTA1LCA5NywgMTE2LCAxMTEsIDExNF0sICJz - ###aWQiOiBbMTI2LCA3NSwgNzEsIDE0NSwgMjE0LCAxNjgsIDIzOSwgMSwgMTU1 - ###LCAxNDcsIDEwOCwgMTIxLCAyNTEsIDEyNywgNDQsIDg3XSwgImciOiBbNCwg - ###MCwgMjI5LCAxMzgsIDE0MywgMTkxLCA4LCAxNzksIDE0MiwgNTIsIDE2Mywg - ###MTAzLCAxMTEsIDEwOSwgMTA1LCAxMSwgMjM3LCA4OCwgMTcwLCA2NSwgMjEs - ###IDI1NSwgNTAsIDE2NSwgMTI2LCAyMDAsIDExMywgMTE0LCAyNTIsIDQyLCAz - ###MSwgMTg0LCAxNTcsIDMsIDM3LCAxNDAsIDEwMCwgNDEsIDE5NiwgMTAwLCAx - ###NTIsIDI3LCA1MCwgMTMyLCAxODEsIDI1NCwgMjE5LCAyMDksIDM2LCA3NSwg - ###MjQyLCAxMTYsIDUwLCAwLCAxMzYsIDEwNCwgMTEyLCAxMDEsIDE4NSwgNywg - ###OTMsIDIxMywgODgsIDIyNSwgNzgsIDIxNCwgMTU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5QTBBMjk3MjZBREM3RUVBMjUxMEQ2RjdFMDA0QTEzN + ##UZBNjNBQzNDOUY5RTZDRTUzQ0JBNUQ1RTM3ODFBQ0VENTE1OTU2MDQxRTQzMzU4 + ##NDA5QTEzRUY5MEREQzNDMzZGRDhEN0Q4MTQyNEM4RTk0NTkyRTIxODU0MjYwQSI + ##sICJJU0tfU1kiOiAiRjJGM0JEOENENDQyQTRFMTY2NTlCNDdBN0I3QTg0RjI5Qk + ##U3NTg5M0VEMkU1Rjc3MkQ3QTNDOEI3NzlFQjBERjkzN0E0RUM1MEE0RjFGRjAxR + ##UJCQUE5N0Q4MEUwOTBFQTY5QjAwQTk1MjAwRUQyNThFNDhDNkY3RTlEOEZCQzIi + ##LCAic2lkX291dHB1dF9pciI6ICI1NkNDM0NEOEJFNzdDREM4NEMwRDE5MDZERTF + ##GRkM4RUY3Q0JCMzI2QTNGMDUyNjdCNkU4QzYzNDRFMjc4MUVCMjBFRjcyNUU4NE + ##NCMUJCNDU5Mjc0MzUwNTFCNEUwRkFFNzhFOTc1QkYxNTA5OUY5RTM4RDc1NTQxM + ##0VFRTJGRCIsICJzaWRfb3V0cHV0X29jIjogIkE0NkM3MTg5QkE2QTM2QzQ0NDc3 + ##NDFFMDU3REEzOUM4ODVCN0Q1OUUwOEJEMkRGMTg1MkE1MjcxRjJBOEEyRTlCMTg + ##3Q0NEMDczMjVBM0VFREU2NDZBREVFMEMwNkZFNThEQTc3Rjc0MTc3ODk2QjIxMD + ##UzQzVEMTA3REUwMDZEIn0= ~~~ @@ -4453,66 +3922,33 @@ For these test cases scalar\_mult\_vfy(y,.) MUST return the representation of th #### Testvectors as JSON file encoded as BASE64 -~~~ - - ###eyJWYWxpZCI6IHsicyI6IFsxLCAxMzAsIDIyMSwgMTIxLCAzNywgMjQxLCAx - ###MTcsIDUyLCAyNSwgMjI4LCAxOTEsIDEzMSwgNjYsIDE1MSwgOTksIDE3Miwg - ###MjExLCAxMjUsIDEwMCwgMCwgMTIsIDIx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c/CPace_coffee.sage b/poc/CPace_coffee.sage index d20b6a0..1f97137 100644 --- a/poc/CPace_coffee.sage +++ b/poc/CPace_coffee.sage @@ -83,19 +83,17 @@ class G_CoffeeEcosystem(): result_dict = {} result_dict["H"] = H.name result_dict["H.s_in_bytes"] = int(H.s_in_bytes) - result_dict["PRS"] = list (PRS) + result_dict["PRS"] = byte_string_to_json (PRS) result_dict["ZPAD length"] = int(len_zpad) - result_dict["DSI"] = list(self.DSI) - result_dict["CI"] = list(CI) - result_dict["sid"] = list(sid) - result_dict["generator_string(G.DSI,PRS,CI,sid,H.s_in_bytes)"] = list(gen_string) - result_dict["hash result"] = list(string_hash) - result_dict["encoded generator g"] = list(result.encode()) + result_dict["DSI"] = byte_string_to_json(self.DSI) + result_dict["CI"] = byte_string_to_json(CI) + result_dict["sid"] = byte_string_to_json(sid) + result_dict["generator_string(G.DSI,PRS,CI,sid,H.s_in_bytes)"] = byte_string_to_json(gen_string) + result_dict["hash result"] = byte_string_to_json(string_hash) + result_dict["encoded generator g"] = byte_string_to_json(result.encode()) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) @@ -120,10 +118,10 @@ def output_coffee_invalid_point_test_cases(G, file = sys.stdout): print ("~~~\n", file = file) dict_valid = {} - dict_valid["s"] = list(y) - dict_valid["X"] = list(X) - dict_valid["G.scalar_mult(s,decode(X))"] = list(Z) - dict_valid["G.scalar_mult_vfy(s,X)"] = list(K) + dict_valid["s"] = byte_string_to_json(y) + dict_valid["X"] = byte_string_to_json(X) + dict_valid["G.scalar_mult(s,decode(X))"] = byte_string_to_json(Z) + dict_valid["G.scalar_mult_vfy(s,X)"] = byte_string_to_json(K) result_dict["Valid"] = dict_valid @@ -147,13 +145,11 @@ def output_coffee_invalid_point_test_cases(G, file = sys.stdout): print (" G.scalar_mult_vfy(s,Y_i1) = G.scalar_mult_vfy(s,Y_i2) = G.I", file = file) print ("~~~\n", file = file) - result_dict["Invalid Y1"] = list(Y_inv1) - result_dict["Invalid Y2"] = list(G.I) + result_dict["Invalid Y1"] = byte_string_to_json(Y_inv1) + result_dict["Invalid Y2"] = byte_string_to_json(G.I) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) return result_dict diff --git a/poc/CPace_montgomery.sage b/poc/CPace_montgomery.sage index c5e35e6..62cc22b 100644 --- a/poc/CPace_montgomery.sage +++ b/poc/CPace_montgomery.sage @@ -34,7 +34,7 @@ class G_Montgomery: ## Decoding and Encoding functions according to RFC7748 -~~~ +~~~ python def decodeLittleEndian(b, bits): return sum([b[i] << 8*i for i in range((bits+7)/8)]) @@ -60,7 +60,7 @@ class G_Montgomery: The Elligator 2 map requires a non-square field element Z which shall be calculated as follows. -~~~ +~~~ python def find_z_ell2(F): # Find nonsquare for Elligator2 # Argument: F, a field object, e.g., F = GF(2^255 - 19) @@ -80,7 +80,7 @@ results in a value of Z = 2 for Curve25519 and Z=-1 for Ed448. The following code maps a field element r to an encoded field element which is a valid u-coordinate of a Montgomery curve with curve parameter A. -~~~ +~~~ python def elligator2(r, q, A, field_size_bits): # Inputs: field element r, field order q, # curve parameter A and field size in bits @@ -157,20 +157,18 @@ is a valid u-coordinate of a Montgomery curve with curve parameter A. result_dict = {} result_dict["H"] = H.name result_dict["H.s_in_bytes"] = int(H.s_in_bytes) - result_dict["PRS"] = list (PRS) + result_dict["PRS"] = byte_string_to_json (PRS) result_dict["ZPAD length"] = int(len_zpad) - result_dict["DSI"] = list(self.DSI) - result_dict["CI"] = list(CI) - result_dict["sid"] = list(sid) - result_dict["generator_string(G.DSI,PRS,CI,sid,H.s_in_bytes)"] = list(gen_string) - result_dict["hash generator string"] = list(string_hash) - result_dict["decoded field element of %i bits" % self.field_size_bits] = list(IntegerToByteArray(u,self.field_size_bytes)) - result_dict["generator g"] = list(result) + result_dict["DSI"] = byte_string_to_json(self.DSI) + result_dict["CI"] = byte_string_to_json(CI) + result_dict["sid"] = byte_string_to_json(sid) + result_dict["generator_string(G.DSI,PRS,CI,sid,H.s_in_bytes)"] = byte_string_to_json(gen_string) + result_dict["hash generator string"] = byte_string_to_json(string_hash) + result_dict["decoded field element of %i bits" % self.field_size_bits] = byte_string_to_json(IntegerToByteArray(u,self.field_size_bytes)) + result_dict["generator g"] = byte_string_to_json(result) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) return result diff --git a/poc/CPace_string_utils.sage b/poc/CPace_string_utils.sage index 605282c..23e6725 100644 --- a/poc/CPace_string_utils.sage +++ b/poc/CPace_string_utils.sage @@ -68,20 +68,22 @@ def tv_output_byte_array(data, test_vector_name = "", line_prefix = " ", max_le print("\n",end="",file=file) return -def tv_output_python_dictionary_as_json_base64(dictionary, line_prefix = " ", max_len = 60, file = sys.stdout): +def byte_string_to_json(bytestring): + return base64.b16encode(bytestring).decode("ASCII") + +def tv_output_python_dictionary_as_json_base64(dictionary, line_prefix = " ", max_len = 63, file = sys.stdout): json_text = json.dumps(dictionary).encode("ASCII") json_string = base64.standard_b64encode(json_text).decode("ASCII") - result = "\n" - base64_header = line_prefix + "###" - base64_trailer = "\n" + result = "\n~~~ test-vectors" + base64_header = "\n" + line_prefix + "##" offset = 0; while offset < len(json_string): next_chunk_len = min(len(json_string), max_len) - result += base64_header + json_string[offset:(offset+next_chunk_len)] + base64_trailer + result += base64_header + json_string[offset:(offset+next_chunk_len)] offset += next_chunk_len - result += "\n" + result += "\n~~~\n\n" print(result,end="",file=file) @@ -150,7 +152,7 @@ def generate_testvectors_string_functions(file = sys.stdout): print ( """ -~~~ +~~~ python def prepend_len(data): "prepend LEB128 encoding of length" length = len(data) @@ -187,23 +189,21 @@ def prepend_len(data): print ("~~~", file = file) result_dict = {} - result_dict["prepend_len(b"")"] = list(prepend_len(b"")) - result_dict['b"1234"'] = list(b"1234") - result_dict['prepend_len(b"1234")'] = list(prepend_len(b"1234")) - result_dict["prepend_len(bytes(range(127)))"] = list(prepend_len(bytes(range(127)))) - result_dict["prepend_len(bytes(range(128)))"] = list(prepend_len(bytes(range(128)))) + result_dict["prepend_len(b"")"] = byte_string_to_json(prepend_len(b"")) + result_dict['b"1234"'] = byte_string_to_json(b"1234") + result_dict['prepend_len(b"1234")'] = byte_string_to_json(prepend_len(b"1234")) + result_dict["prepend_len(bytes(range(127)))"] = byte_string_to_json(prepend_len(bytes(range(127)))) + result_dict["prepend_len(bytes(range(128)))"] = byte_string_to_json(prepend_len(bytes(range(128)))) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) print ("\n\n### lv\\_cat function\n", file = file) print ( """ -~~~ +~~~ python def lv_cat(*args): result = b"" for arg in args: @@ -222,20 +222,18 @@ def prepend_len(data): print ("~~~", file = file) result_dict = {} - result_dict["ba1"] = list(b"1234") - result_dict["ba2"] = list(b"5") - result_dict["ba3"] = list(b"6789") - result_dict["lv_cat(ba1,ba2,ba3)"] = list(lv_cat(b"1234",b"5",b"",b"6789")) + result_dict["ba1"] = byte_string_to_json(b"1234") + result_dict["ba2"] = byte_string_to_json(b"5") + result_dict["ba3"] = byte_string_to_json(b"6789") + result_dict["lv_cat(ba1,ba2,ba3)"] = byte_string_to_json(lv_cat(b"1234",b"5",b"",b"6789")) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) print ("\n## Definition of generator\\_string function.\n\n" + """ -~~~ +~~~ python def generator_string(DSI,PRS,CI,sid,s_in_bytes): # Concat all input fields with prepended length information. # Add zero padding in the first hash block after DSI and PRS. @@ -252,7 +250,7 @@ def generator_string(DSI,PRS,CI,sid,s_in_bytes): print ("\nFor ordered concatenation lexiographical ordering of byte sequences is used:\n\n" + """ -~~~ +~~~ python def lexiographically_larger(bytes1,bytes2): "Returns True if bytes1 > bytes2 using lexiographical ordering." min_len = min (len(bytes1), len(bytes2)) @@ -271,7 +269,7 @@ With the above definition of lexiographical ordering ordered concatenation is sp """ + "\n\n", file = file) - print ("~~~", file = file) + print ("~~~ python", file = file) print (" def o_cat(bytes1,bytes2):", file = file); print (" if lexiographically_larger(bytes1,bytes2):", file = file); print (' return b"oc" + bytes1 + bytes2', file = file); @@ -300,23 +298,21 @@ With the above definition of lexiographical ordering ordered concatenation is sp print ("~~~", file = file) result_dict = {} - result_dict['b"ABCD"'] = list(b"ABCD") - result_dict['b"BCD"'] = list(b"BCD") - result_dict['b"ABCDE"'] = list(b"ABCDE") - result_dict['o_cat(b"ABCD",b"BCD")'] = list(o_cat(b"ABCD",b"BCD")) - result_dict['o_cat(b"BCD",b"ABCDE")'] = list(o_cat(b"BCD",b"ABCDE")) + result_dict['b"ABCD"'] = byte_string_to_json(b"ABCD") + result_dict['b"BCD"'] = byte_string_to_json(b"BCD") + result_dict['b"ABCDE"'] = byte_string_to_json(b"ABCDE") + result_dict['o_cat(b"ABCD",b"BCD")'] = byte_string_to_json(o_cat(b"ABCD",b"BCD")) + result_dict['o_cat(b"BCD",b"ABCDE")'] = byte_string_to_json(o_cat(b"BCD",b"ABCDE")) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) print (""" ### Definitions for transcript\\_ir function -~~~ +~~~ python def transcript_ir(Ya,ADa,Yb,ADb): result = lv_cat(Ya,ADa) + lv_cat(Yb,ADb) return result @@ -336,26 +332,24 @@ def transcript_ir(Ya,ADa,Yb,ADb): print ("~~~", file = file) result_dict = {} - result_dict['b"123"'] = list(b"123") - result_dict['b"234"'] = list(b"234") - result_dict['b"PartyA"'] = list(b"PartyA") - result_dict['b"PartyB"'] = list(b"PartyB") - result_dict['b"3456"'] = list(b"3456") - result_dict['b"2345"'] = list(b"2345") - result_dict['transcript_ir(b"123",b"PartyA",b"234",b"PartyB")'] = list(transcript_ir(b"123",b"PartyA",b"234",b"PartyB")) - result_dict['transcript_ir(b"3456",b"PartyA",b"2345",b"PartyB")'] = list(transcript_ir(b"3456",b"PartyA",b"2345",b"PartyB")) + result_dict['b"123"'] = byte_string_to_json(b"123") + result_dict['b"234"'] = byte_string_to_json(b"234") + result_dict['b"PartyA"'] = byte_string_to_json(b"PartyA") + result_dict['b"PartyB"'] = byte_string_to_json(b"PartyB") + result_dict['b"3456"'] = byte_string_to_json(b"3456") + result_dict['b"2345"'] = byte_string_to_json(b"2345") + result_dict['transcript_ir(b"123",b"PartyA",b"234",b"PartyB")'] = byte_string_to_json(transcript_ir(b"123",b"PartyA",b"234",b"PartyB")) + result_dict['transcript_ir(b"3456",b"PartyA",b"2345",b"PartyB")'] = byte_string_to_json(transcript_ir(b"3456",b"PartyA",b"2345",b"PartyB")) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) print (""" ### Definitions for transcript\\_oc function -~~~ +~~~ python def transcript_oc(Ya,ADa,Yb,ADb): result = o_cat(lv_cat(Ya,ADa),lv_cat(Yb,ADb)) return result @@ -374,19 +368,17 @@ def transcript_oc(Ya,ADa,Yb,ADb): print ("~~~", file = file) result_dict = {} - result_dict['b"123"'] = list(b"123") - result_dict['b"234"'] = list(b"234") - result_dict['b"PartyA"'] = list(b"PartyA") - result_dict['b"PartyB"'] = list(b"PartyB") - result_dict['b"3456"'] = list(b"3456") - result_dict['b"2345"'] = list(b"2345") - result_dict['transcript_oc(b"123",b"PartyA",b"234",b"PartyB")'] = list(transcript_oc(b"123",b"PartyA",b"234",b"PartyB")) - result_dict['transcript_oc(b"3456",b"PartyA",b"2345",b"PartyB")'] = list(transcript_oc(b"3456",b"PartyA",b"2345",b"PartyB")) + result_dict['b"123"'] = byte_string_to_json(b"123") + result_dict['b"234"'] = byte_string_to_json(b"234") + result_dict['b"PartyA"'] = byte_string_to_json(b"PartyA") + result_dict['b"PartyB"'] = byte_string_to_json(b"PartyB") + result_dict['b"3456"'] = byte_string_to_json(b"3456") + result_dict['b"2345"'] = byte_string_to_json(b"2345") + result_dict['transcript_oc(b"123",b"PartyA",b"234",b"PartyB")'] = byte_string_to_json(transcript_oc(b"123",b"PartyA",b"234",b"PartyB")) + result_dict['transcript_oc(b"3456",b"PartyA",b"2345",b"PartyB")'] = byte_string_to_json(transcript_oc(b"3456",b"PartyA",b"2345",b"PartyB")) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) diff --git a/poc/CPace_testvectors.sage b/poc/CPace_testvectors.sage index 755eff7..3115b9c 100644 --- a/poc/CPace_testvectors.sage +++ b/poc/CPace_testvectors.sage @@ -132,7 +132,7 @@ def generate_test_vector(H,G, with_ANSI_C_initializers = True,file=sys.stdout, p if with_ANSI_C_initializers: print ("\n### Corresponding C programming language initializers\n", file=file) - print ("~~~", file=file) + print ("~~~ c", file=file) print (ByteArrayToCInitializer(PRS, "tc_PRS"), file=file) print (ByteArrayToCInitializer(CI, "tc_CI"), file=file) print (ByteArrayToCInitializer(sid, "tc_sid"), file=file) @@ -153,27 +153,25 @@ def generate_test_vector(H,G, with_ANSI_C_initializers = True,file=sys.stdout, p dictionary = {} - dictionary["PRS"] = list(PRS) - dictionary["CI"] = list(CI) - dictionary["sid"] = list(sid) - dictionary["g"] = list(g) - dictionary["ya"] = list(ya) - dictionary["ADa"] = list(ADa) - dictionary["Ya"] = list(Ya) - dictionary["yb"] = list(yb) - dictionary["ADb"] = list(ADb) - dictionary["Yb"] = list(Yb) - dictionary["K"] = list(K) - dictionary["ISK_IR"] = list(ISK_IR) - dictionary["ISK_SY"] = list(ISK_SY) - dictionary["sid_output_ir"] = list(sid_output_ir) - dictionary["sid_output_oc"] = list(sid_output_oc) + dictionary["PRS"] = byte_string_to_json(PRS) + dictionary["CI"] = byte_string_to_json(CI) + dictionary["sid"] = byte_string_to_json(sid) + dictionary["g"] = byte_string_to_json(g) + dictionary["ya"] = byte_string_to_json(ya) + dictionary["ADa"] = byte_string_to_json(ADa) + dictionary["Ya"] = byte_string_to_json(Ya) + dictionary["yb"] = byte_string_to_json(yb) + dictionary["ADb"] = byte_string_to_json(ADb) + dictionary["Yb"] = byte_string_to_json(Yb) + dictionary["K"] = byte_string_to_json(K) + dictionary["ISK_IR"] = byte_string_to_json(ISK_IR) + dictionary["ISK_SY"] = byte_string_to_json(ISK_SY) + dictionary["sid_output_ir"] = byte_string_to_json(sid_output_ir) + dictionary["sid_output_oc"] = byte_string_to_json(sid_output_oc) print ("\n### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(dictionary,file=file) - print ("~~~\n", file=file) return dictionary diff --git a/poc/CPace_weierstrass.sage b/poc/CPace_weierstrass.sage index ea2270d..4b55a26 100644 --- a/poc/CPace_weierstrass.sage +++ b/poc/CPace_weierstrass.sage @@ -129,18 +129,16 @@ class G_ShortWeierstrass(): result_dict = {} result_dict["H"] = H.name result_dict["H.s_in_bytes"] = int(H.s_in_bytes) - result_dict["PRS"] = list (PRS) + result_dict["PRS"] = byte_string_to_json (PRS) result_dict["ZPAD length"] = int(len_zpad) - result_dict["DSI"] = list(self.DSI) - result_dict["CI"] = list(CI) - result_dict["sid"] = list(sid) - result_dict["generator_string(G.DSI,PRS,CI,sid,H.s_in_bytes)"] = list(gen_string) - result_dict["generator g"] = list(self.point_to_octets(result)) + result_dict["DSI"] = byte_string_to_json(self.DSI) + result_dict["CI"] = byte_string_to_json(CI) + result_dict["sid"] = byte_string_to_json(sid) + result_dict["generator_string(G.DSI,PRS,CI,sid,H.s_in_bytes)"] = byte_string_to_json(gen_string) + result_dict["generator g"] = byte_string_to_json(self.point_to_octets(result)) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) return self.point_to_octets(result) @@ -163,10 +161,10 @@ def output_weierstrass_invalid_point_test_cases(G, file = sys.stdout): line_prefix = " ", max_len = 60, file = file) print ("~~~\n", file = file) dict_valid = {} - dict_valid["s"] = list(y) - dict_valid["X"] = list(X) - dict_valid["G.scalar_mult(s,X) (full coordinates)"] = list(Z) - dict_valid["G.scalar_mult_vfy(s,X) (only X-coordinate)"] = list(K) + dict_valid["s"] = byte_string_to_json(y) + dict_valid["X"] = byte_string_to_json(X) + dict_valid["G.scalar_mult(s,X) (full coordinates)"] = byte_string_to_json(Z) + dict_valid["G.scalar_mult_vfy(s,X) (only X-coordinate)"] = byte_string_to_json(K) result_dict["Valid"] = dict_valid Y_inv1 = bytearray(X) @@ -188,13 +186,11 @@ def output_weierstrass_invalid_point_test_cases(G, file = sys.stdout): print (" G.scalar_mult_vfy(s,Y_i1) = G.scalar_mult_vfy(s,Y_i2) = G.I", file = file) print ("~~~\n", file = file) - result_dict["Invalid Y1"] = list(Y_inv1) - result_dict["Invalid Y2"] = list(Y_inv2) + result_dict["Invalid Y1"] = byte_string_to_json(Y_inv1) + result_dict["Invalid Y2"] = byte_string_to_json(Y_inv2) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) return result_dict diff --git a/poc/test_vectors_X448_X25519.sage b/poc/test_vectors_X448_X25519.sage index c4e5ff7..d93bd34 100644 --- a/poc/test_vectors_X448_X25519.sage +++ b/poc/test_vectors_X448_X25519.sage @@ -34,12 +34,12 @@ def output_test_vectors_for_weak_points_255(file = sys.stdout): weakp = [] for wp in weak_pts255: weakp.append(decodeUCoordinate(wp,255)) - result_dict["Invalid Y" + str(ctr)] = list(wp) + result_dict["Invalid Y" + str(ctr)] = byte_string_to_json(wp) ctr += 1 for wp in nc_weak_pts255: weakp.append(decodeUCoordinate(wp,256)) - result_dict["Invalid Y" + str(ctr)] = list(wp) + result_dict["Invalid Y" + str(ctr)] = byte_string_to_json(wp) ctr += 1 ctr=0; @@ -75,9 +75,7 @@ def output_test_vectors_for_weak_points_255(file = sys.stdout): print ("~~~\n", file = file) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) return result_dict @@ -116,7 +114,7 @@ def output_test_vectors_for_weak_points_448(file = sys.stdout): test_vector_name = 'u%i' % ctr, line_prefix = " ", max_len = 60, file = file); ctr += 1; - result_dict["Invalid Y" + str(ctr)] = list(x) + result_dict["Invalid Y" + str(ctr)] = byte_string_to_json(x) print ("~~~", file = file) print ("\nWeak points for X448 larger or equal to the field prime (non-canonical)\n",file = file) print ("~~~", file = file) @@ -125,7 +123,7 @@ def output_test_vectors_for_weak_points_448(file = sys.stdout): test_vector_name = 'u%i' % ctr, line_prefix = " ", max_len = 60, file = file); ctr += 1; - result_dict["Invalid Y" + str(ctr)] = list(x) + result_dict["Invalid Y" + str(ctr)] = byte_string_to_json(x) print ("\nAll of the above points u0 ... u4 MUST trigger the abort case", file = file) print ("when included in the protocol messages from A or B.", file = file) @@ -176,9 +174,9 @@ def output_test_vectors_for_weak_points_448(file = sys.stdout): line_prefix = " ", max_len = 60, file = file); dict_example = {} - dict_example["s"] = list(s) - dict_example["u_curve"] = list(u_curve) - dict_example["res_curve"] = list(res_curve) + dict_example["s"] = byte_string_to_json(s) + dict_example["u_curve"] = byte_string_to_json(u_curve) + dict_example["res_curve"] = byte_string_to_json(res_curve) result_dict["Valid (on curve)"] = dict_example print ("", file = file) @@ -195,17 +193,15 @@ def output_test_vectors_for_weak_points_448(file = sys.stdout): line_prefix = " ", max_len = 60, file = file); dict_example_tw = {} - dict_example_tw["s"] = list(s) - dict_example_tw["u_twist"] = list(u_twist) - dict_example_tw["res_twist"] = list(res_twist) + dict_example_tw["s"] = byte_string_to_json(s) + dict_example_tw["u_twist"] = byte_string_to_json(u_twist) + dict_example_tw["res_twist"] = byte_string_to_json(res_twist) result_dict["Valid (on twist)"] = dict_example_tw print ("~~~\n", file = file) print ("\n#### Testvectors as JSON file encoded as BASE64\n", file=file) - print ("~~~", file=file) tv_output_python_dictionary_as_json_base64(result_dict,line_prefix = " ",file=file) - print ("~~~\n", file=file) return result_dict diff --git a/testvectors.json b/testvectors.json index b0802f3..cd6c6ce 100644 --- a/testvectors.json +++ b/testvectors.json @@ -1,7439 +1,202 @@ { "G_25519": { - "PRS": [ - 80, - 97, - 115, - 115, - 119, - 111, - 114, - 100 - ], - "CI": [ - 111, - 99, - 11, - 66, - 95, - 114, - 101, - 115, - 112, - 111, - 110, - 100, - 101, - 114, - 11, - 65, - 95, - 105, - 110, - 105, - 116, - 105, - 97, - 116, - 111, - 114 - ], - "sid": [ - 126, - 75, - 71, - 145, - 214, - 168, - 239, - 1, - 155, - 147, - 108, - 121, - 251, - 127, - 44, - 87 - ], - "g": [ - 100, - 232, - 9, - 158, - 62, - 166, - 130, - 207, - 220, - 92, - 182, - 101, - 192, - 87, - 235, - 181, - 20, - 208, - 107, - 242, - 62, - 188, - 159, - 116, - 59, - 81, - 184, - 34, - 66, - 50, - 112, - 116 - ], - "ya": [ - 33, - 180, - 244, - 189, - 158, - 100, - 237, - 53, - 92, - 62, - 182, - 118, - 162, - 142, - 190, - 218, - 246, - 216, - 241, - 123, - 220, - 54, - 89, - 149, - 179, - 25, - 9, - 113, - 83, - 4, - 64, - 128 - ], - "ADa": [ - 65, - 68, - 97 - ], - "Ya": [ - 27, - 2, - 218, - 214, - 219, - 210, - 154, - 7, - 182, - 210, - 140, - 158, - 4, - 203, - 47, - 24, - 79, - 7, - 52, - 53, - 14, - 50, - 187, - 126, - 98, - 255, - 157, - 188, - 253, - 182, - 61, - 21 - ], - "yb": [ - 132, - 139, - 7, - 121, - 255, - 65, - 95, - 10, - 244, - 234, - 20, - 223, - 157, - 209, - 211, - 194, - 154, - 196, - 29, - 131, - 108, - 120, - 8, - 137, - 108, - 78, - 186, - 25, - 197, - 26, - 196, - 10 - ], - "ADb": [ - 65, - 68, - 98 - ], - "Yb": [ - 32, - 205, - 165, - 149, - 95, - 130, - 196, - 147, - 21, - 69, - 188, - 191, - 64, - 117, - 140, - 225, - 1, - 13, - 125, - 180, - 219, - 42, - 144, - 112, - 19, - 215, - 156, - 122, - 143, - 207, - 149, - 127 - ], - "K": [ - 249, - 127, - 223, - 207, - 255, - 28, - 152, - 62, - 214, - 40, - 56, - 86, - 164, - 1, - 222, - 49, - 145, - 202, - 145, - 153, - 2, - 179, - 35, - 197, - 249, - 80, - 201, - 112, - 61, - 247, - 41, - 122 - ], - "ISK_IR": [ - 160, - 81, - 238, - 94, - 226, - 73, - 157, - 22, - 218, - 63, - 105, - 244, - 48, - 33, - 139, - 142, - 169, - 74, - 24, - 164, - 91, - 103, - 249, - 232, - 100, - 149, - 179, - 130, - 195, - 61, - 20, - 165, - 195, - 140, - 236, - 192, - 204, - 131, - 79, - 150, - 14, - 57, - 224, - 209, - 191, - 125, - 118, - 185, - 239, - 93, - 84, - 238, - 204, - 94, - 15, - 56, - 108, - 151, - 173, - 18, - 218, - 140, - 61, - 95 - ], - "ISK_SY": [ - 92, - 194, - 126, - 73, - 103, - 148, - 35, - 248, - 26, - 55, - 215, - 82, - 29, - 159, - 177, - 50, - 124, - 132, - 13, - 46, - 164, - 161, - 84, - 54, - 82, - 231, - 222, - 92, - 171, - 184, - 158, - 186, - 210, - 125, - 36, - 118, - 27, - 50, - 136, - 163, - 253, - 87, - 100, - 180, - 65, - 236, - 183, - 141, - 48, - 171, - 194, - 97, - 97, - 255, - 69, - 234, - 41, - 123, - 179, - 17, - 221, - 224, - 71, - 39 - ], - "sid_output_ir": [ - 247, - 174, - 17, - 172, - 62, - 232, - 92, - 60, - 66, - 216, - 189, - 81, - 186, - 130, - 63, - 190, - 23, - 21, - 143, - 67, - 211, - 74, - 18, - 150, - 241, - 203, - 37, - 103, - 188, - 199, - 29, - 200, - 178, - 1, - 161, - 52, - 181, - 102, - 180, - 104, - 170, - 216, - 253, - 4, - 240, - 47, - 150, - 227, - 202, - 249, - 213, - 96, - 31, - 126, - 215, - 96, - 160, - 169, - 81, - 165, - 168, - 97, - 181, - 231 - ], - "sid_output_oc": [ - 163, - 131, - 137, - 227, - 79, - 164, - 146, - 120, - 140, - 29, - 244, - 59, - 6, - 180, - 39, - 113, - 4, - 145, - 23, - 78, - 83, - 195, - 59, - 1, - 54, - 42, - 73, - 13, - 17, - 111, - 225, - 183, - 232, - 112, - 170, - 110, - 42, - 127, - 192, - 24, - 114, - 94, - 59, - 127, - 150, - 159, - 117, - 8, - 4, - 46, - 68, - 205, - 56, - 99, - 243, - 154, - 167, - 80, - 38, - 161, - 144, - 209, - 144, - 43 - ] + "PRS": "50617373776F7264", + "CI": "6F630B425F726573706F6E6465720B415F696E69746961746F72", + "sid": "7E4B4791D6A8EF019B936C79FB7F2C57", + "g": "64E8099E3EA682CFDC5CB665C057EBB514D06BF23EBC9F743B51B82242327074", + "ya": "21B4F4BD9E64ED355C3EB676A28EBEDAF6D8F17BDC365995B319097153044080", + "ADa": "414461", + "Ya": "1B02DAD6DBD29A07B6D28C9E04CB2F184F0734350E32BB7E62FF9DBCFDB63D15", + "yb": "848B0779FF415F0AF4EA14DF9DD1D3C29AC41D836C7808896C4EBA19C51AC40A", + "ADb": "414462", + "Yb": "20CDA5955F82C4931545BCBF40758CE1010D7DB4DB2A907013D79C7A8FCF957F", + "K": "F97FDFCFFF1C983ED6283856A401DE3191CA919902B323C5F950C9703DF7297A", + "ISK_IR": "A051EE5EE2499D16DA3F69F430218B8EA94A18A45B67F9E86495B382C33D14A5C38CECC0CC834F960E39E0D1BF7D76B9EF5D54EECC5E0F386C97AD12DA8C3D5F", + "ISK_SY": "5CC27E49679423F81A37D7521D9FB1327C840D2EA4A1543652E7DE5CABB89EBAD27D24761B3288A3FD5764B441ECB78D30ABC26161FF45EA297BB311DDE04727", + "sid_output_ir": "F7AE11AC3EE85C3C42D8BD51BA823FBE17158F43D34A1296F1CB2567BCC71DC8B201A134B566B468AAD8FD04F02F96E3CAF9D5601F7ED760A0A951A5A861B5E7", + "sid_output_oc": "A38389E34FA492788C1DF43B06B427710491174E53C33B01362A490D116FE1B7E870AA6E2A7FC018725E3B7F969F7508042E44CD3863F39AA75026A190D1902B" }, "X25519_points": { - "Invalid Y0": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "Invalid Y1": [ - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "Invalid Y2": [ - 236, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 127 - ], - "Invalid Y3": [ - 224, - 235, - 122, - 124, - 59, - 65, - 184, - 174, - 22, - 86, - 227, - 250, - 241, - 159, - 196, - 106, - 218, - 9, - 141, - 235, - 156, - 50, - 177, - 253, - 134, - 98, - 5, - 22, - 95, - 73, - 184, - 0 - ], - "Invalid Y4": [ - 95, - 156, - 149, - 188, - 163, - 80, - 140, - 36, - 177, - 208, - 177, - 85, - 156, - 131, - 239, - 91, - 4, - 68, - 92, - 196, - 88, - 28, - 142, - 134, - 216, - 34, - 78, - 221, - 208, - 159, - 17, - 87 - ], - "Invalid Y5": [ - 237, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 127 - ], - "Invalid Y6": [ - 218, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255 - ], - "Invalid Y7": [ - 238, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 127 - ], - "Invalid Y8": [ - 219, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255 - ], - "Invalid Y9": [ - 217, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255 - ], - "Invalid Y10": [ - 205, - 235, - 122, - 124, - 59, - 65, - 184, - 174, - 22, - 86, - 227, - 250, - 241, - 159, - 196, - 106, - 218, - 9, - 141, - 235, - 156, - 50, - 177, - 253, - 134, - 98, - 5, - 22, - 95, - 73, - 184, - 128 - ], - "Invalid Y11": [ - 76, - 156, - 149, - 188, - 163, - 80, - 140, - 36, - 177, - 208, - 177, - 85, - 156, - 131, - 239, - 91, - 4, - 68, - 92, - 196, - 88, - 28, - 142, - 134, - 216, - 34, - 78, - 221, - 208, - 159, - 17, - 215 - ] + "Invalid Y0": "0000000000000000000000000000000000000000000000000000000000000000", + "Invalid Y1": "0100000000000000000000000000000000000000000000000000000000000000", + "Invalid Y2": "ECFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7F", + "Invalid Y3": "E0EB7A7C3B41B8AE1656E3FAF19FC46ADA098DEB9C32B1FD866205165F49B800", + "Invalid Y4": "5F9C95BCA3508C24B1D0B1559C83EF5B04445CC4581C8E86D8224EDDD09F1157", + "Invalid Y5": "EDFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7F", + "Invalid Y6": "DAFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", + "Invalid Y7": "EEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7F", + "Invalid Y8": "DBFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", + "Invalid Y9": "D9FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", + "Invalid Y10": "CDEB7A7C3B41B8AE1656E3FAF19FC46ADA098DEB9C32B1FD866205165F49B880", + "Invalid Y11": "4C9C95BCA3508C24B1D0B1559C83EF5B04445CC4581C8E86D8224EDDD09F11D7" }, "G_448": { - "PRS": [ - 80, - 97, - 115, - 115, - 119, - 111, - 114, - 100 - ], - "CI": [ - 111, - 99, - 11, - 66, - 95, - 114, - 101, - 115, - 112, - 111, - 110, - 100, - 101, - 114, - 11, - 65, - 95, - 105, - 110, - 105, - 116, - 105, - 97, - 116, - 111, - 114 - ], - "sid": [ - 82, - 35, - 224, - 205, - 196, - 93, - 101, - 117, - 102, - 141, - 100, - 197, - 82, - 0, - 65, - 36 - ], - "g": [ - 226, - 147, - 183, - 204, - 246, - 28, - 167, - 235, - 146, - 138, - 38, - 57, - 28, - 243, - 139, - 102, - 15, - 135, - 74, - 0, - 31, - 223, - 11, - 243, - 169, - 31, - 209, - 130, - 242, - 182, - 216, - 62, - 97, - 169, - 55, - 126, - 222, - 18, - 126, - 186, - 126, - 13, - 76, - 8, - 89, - 46, - 175, - 243, - 61, - 74, - 167, - 5, - 214, - 206, - 84, - 187 - ], - "ya": [ - 33, - 180, - 244, - 189, - 158, - 100, - 237, - 53, - 92, - 62, - 182, - 118, - 162, - 142, - 190, - 218, - 246, - 216, - 241, - 123, - 220, - 54, - 89, - 149, - 179, - 25, - 9, - 113, - 83, - 4, - 64, - 128, - 81, - 107, - 208, - 131, - 191, - 204, - 230, - 97, - 33, - 163, - 7, - 38, - 70, - 153, - 76, - 132, - 48, - 204, - 56, - 43, - 141, - 197, - 67, - 232 - ], - "ADa": [ - 65, - 68, - 97 - ], - "Ya": [ - 127, - 100, - 87, - 114, - 204, - 32, - 155, - 249, - 253, - 157, - 118, - 219, - 177, - 2, - 131, - 190, - 167, - 27, - 18, - 35, - 94, - 59, - 178, - 24, - 120, - 213, - 229, - 106, - 112, - 80, - 110, - 22, - 87, - 67, - 166, - 50, - 222, - 152, - 236, - 169, - 147, - 44, - 93, - 46, - 254, - 54, - 80, - 10, - 89, - 178, - 253, - 174, - 208, - 216, - 161, - 72 - ], - "yb": [ - 132, - 139, - 7, - 121, - 255, - 65, - 95, - 10, - 244, - 234, - 20, - 223, - 157, - 209, - 211, - 194, - 154, - 196, - 29, - 131, - 108, - 120, - 8, - 137, - 108, - 78, - 186, - 25, - 197, - 26, - 196, - 10, - 67, - 156, - 175, - 94, - 97, - 236, - 136, - 195, - 7, - 199, - 214, - 25, - 25, - 82, - 41, - 65, - 46, - 170, - 115, - 251, - 42, - 94, - 162, - 13 - ], - "ADb": [ - 65, - 68, - 98 - ], - "Yb": [ - 164, - 105, - 10, - 7, - 80, - 196, - 43, - 40, - 141, - 221, - 11, - 160, - 142, - 63, - 73, - 2, - 223, - 231, - 11, - 174, - 92, - 158, - 44, - 110, - 233, - 88, - 68, - 222, - 242, - 105, - 43, - 231, - 118, - 70, - 178, - 13, - 59, - 66, - 159, - 141, - 160, - 13, - 33, - 67, - 62, - 224, - 137, - 28, - 102, - 118, - 88, - 216, - 208, - 196, - 142, - 56 - ], - "K": [ - 219, - 63, - 255, - 157, - 165, - 149, - 118, - 113, - 91, - 4, - 212, - 223, - 141, - 200, - 209, - 141, - 178, - 67, - 14, - 87, - 187, - 237, - 51, - 125, - 190, - 238, - 91, - 178, - 214, - 171, - 108, - 237, - 220, - 156, - 117, - 197, - 192, - 177, - 127, - 173, - 126, - 183, - 36, - 218, - 161, - 47, - 143, - 25, - 3, - 221, - 108, - 44, - 237, - 230, - 19, - 90 - ], - "ISK_IR": [ - 89, - 152, - 146, - 162, - 7, - 138, - 140, - 152, - 129, - 129, - 98, - 94, - 30, - 94, - 95, - 122, - 97, - 99, - 247, - 215, - 47, - 33, - 185, - 62, - 190, - 251, - 160, - 241, - 127, - 247, - 234, - 58, - 160, - 89, - 75, - 213, - 105, - 207, - 116, - 38, - 65, - 87, - 179, - 192, - 8, - 123, - 220, - 207, - 47, - 89, - 199, - 113, - 86, - 98, - 132, - 135, - 245, - 202, - 22, - 69, - 184, - 233, - 208, - 91 - ], - "ISK_SY": [ - 58, - 199, - 63, - 3, - 3, - 2, - 150, - 170, - 89, - 31, - 1, - 50, - 107, - 24, - 175, - 164, - 126, - 17, - 137, - 18, - 156, - 208, - 106, - 232, - 223, - 176, - 94, - 110, - 177, - 49, - 12, - 222, - 148, - 139, - 89, - 238, - 240, - 117, - 83, - 101, - 192, - 106, - 51, - 146, - 102, - 175, - 229, - 148, - 148, - 140, - 86, - 165, - 56, - 217, - 138, - 101, - 118, - 113, - 19, - 147, - 138, - 154, - 120, - 216 - ], - "sid_output_ir": [ - 0, - 162, - 51, - 58, - 121, - 72, - 26, - 190, - 113, - 239, - 214, - 89, - 77, - 123, - 186, - 172, - 85, - 200, - 8, - 72, - 46, - 134, - 156, - 155, - 101, - 196, - 181, - 61, - 113, - 0, - 211, - 218, - 143, - 60, - 171, - 213, - 159, - 160, - 193, - 242, - 45, - 109, - 47, - 154, - 192, - 192, - 147, - 150, - 34, - 146, - 121, - 143, - 202, - 44, - 11, - 147, - 38, - 137, - 116, - 202, - 215, - 93, - 87, - 90 - ], - "sid_output_oc": [ - 161, - 206, - 144, - 83, - 122, - 141, - 83, - 176, - 109, - 119, - 231, - 159, - 231, - 25, - 70, - 28, - 197, - 237, - 131, - 0, - 210, - 29, - 24, - 102, - 165, - 159, - 150, - 56, - 96, - 24, - 51, - 245, - 122, - 139, - 94, - 136, - 219, - 154, - 82, - 171, - 250, - 27, - 78, - 138, - 101, - 26, - 64, - 11, - 201, - 32, - 80, - 130, - 170, - 216, - 30, - 179, - 17, - 196, - 67, - 115, - 185, - 161, - 158, - 255 - ] + "PRS": "50617373776F7264", + "CI": "6F630B425F726573706F6E6465720B415F696E69746961746F72", + "sid": "5223E0CDC45D6575668D64C552004124", + "g": "E293B7CCF61CA7EB928A26391CF38B660F874A001FDF0BF3A91FD182F2B6D83E61A9377EDE127EBA7E0D4C08592EAFF33D4AA705D6CE54BB", + "ya": "21B4F4BD9E64ED355C3EB676A28EBEDAF6D8F17BDC365995B319097153044080516BD083BFCCE66121A3072646994C8430CC382B8DC543E8", + "ADa": "414461", + "Ya": "7F645772CC209BF9FD9D76DBB10283BEA71B12235E3BB21878D5E56A70506E165743A632DE98ECA9932C5D2EFE36500A59B2FDAED0D8A148", + "yb": "848B0779FF415F0AF4EA14DF9DD1D3C29AC41D836C7808896C4EBA19C51AC40A439CAF5E61EC88C307C7D619195229412EAA73FB2A5EA20D", + "ADb": "414462", + "Yb": "A4690A0750C42B288DDD0BA08E3F4902DFE70BAE5C9E2C6EE95844DEF2692BE77646B20D3B429F8DA00D21433EE0891C667658D8D0C48E38", + "K": "DB3FFF9DA59576715B04D4DF8DC8D18DB2430E57BBED337DBEEE5BB2D6AB6CEDDC9C75C5C0B17FAD7EB724DAA12F8F1903DD6C2CEDE6135A", + "ISK_IR": "599892A2078A8C988181625E1E5E5F7A6163F7D72F21B93EBEFBA0F17FF7EA3AA0594BD569CF74264157B3C0087BDCCF2F59C77156628487F5CA1645B8E9D05B", + "ISK_SY": "3AC73F03030296AA591F01326B18AFA47E1189129CD06AE8DFB05E6EB1310CDE948B59EEF0755365C06A339266AFE594948C56A538D98A65767113938A9A78D8", + "sid_output_ir": "00A2333A79481ABE71EFD6594D7BBAAC55C808482E869C9B65C4B53D7100D3DA8F3CABD59FA0C1F22D6D2F9AC0C093962292798FCA2C0B93268974CAD75D575A", + "sid_output_oc": "A1CE90537A8D53B06D77E79FE719461CC5ED8300D21D1866A59F9638601833F57A8B5E88DB9A52ABFA1B4E8A651A400BC9205082AAD81EB311C44373B9A19EFF" }, "X448_points": { - "Invalid Y1": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "Invalid Y2": [ - 1, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ], - "Invalid Y3": [ - 254, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 254, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255 - ], - "Invalid Y4": [ - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 254, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255 - ], - "Invalid Y5": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255, - 255 - ], + "Invalid Y1": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "Invalid Y2": "0100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", + "Invalid Y3": "FEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", + "Invalid Y4": "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", + "Invalid Y5": "00000000000000000000000000000000000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", "Valid (on curve)": { - "s": [ - 175, - 138, - 20, - 33, - 139, - 242, - 162, - 6, - 41, - 38, - 210, - 234, - 155, - 143, - 228, - 232, - 182, - 129, - 115, - 73, - 182, - 237, - 47, - 235, - 30, - 93, - 100, - 215, - 164, - 82, - 63, - 21, - 252, - 238, - 199, - 15, - 177, - 17, - 232, - 112, - 220, - 88, - 209, - 145, - 230, - 106, - 20, - 211, - 233, - 212, - 130, - 208, - 68, - 50, - 202, - 221 - ], - "u_curve": [ - 171, - 12, - 104, - 215, - 114, - 236, - 46, - 185, - 222, - 37, - 196, - 151, - 0, - 228, - 109, - 99, - 37, - 230, - 109, - 106, - 163, - 157, - 123, - 101, - 235, - 132, - 166, - 140, - 85, - 105, - 212, - 123, - 215, - 27, - 65, - 243, - 224, - 210, - 16, - 244, - 78, - 20, - 109, - 236, - 137, - 38, - 177, - 116, - 172, - 179, - 249, - 64, - 160, - 184, - 44, - 171 - ], - "res_curve": [ - 59, - 15, - 169, - 188, - 64, - 166, - 253, - 199, - 140, - 158, - 6, - 255, - 122, - 84, - 193, - 67, - 197, - 213, - 47, - 54, - 86, - 7, - 5, - 59, - 240, - 101, - 111, - 81, - 66, - 4, - 150, - 41, - 95, - 145, - 10, - 16, - 27, - 56, - 237, - 193, - 172, - 211, - 189, - 36, - 15, - 213, - 93, - 203, - 122, - 54, - 5, - 83, - 184, - 167, - 98, - 126 - ] + "s": "AF8A14218BF2A2062926D2EA9B8FE4E8B6817349B6ED2FEB1E5D64D7A4523F15FCEEC70FB111E870DC58D191E66A14D3E9D482D04432CADD", + "u_curve": "AB0C68D772EC2EB9DE25C49700E46D6325E66D6AA39D7B65EB84A68C5569D47BD71B41F3E0D210F44E146DEC8926B174ACB3F940A0B82CAB", + "res_curve": "3B0FA9BC40A6FDC78C9E06FF7A54C143C5D52F365607053BF0656F51420496295F910A101B38EDC1ACD3BD240FD55DCB7A360553B8A7627E" }, "Valid (on twist)": { - "s": [ - 175, - 138, - 20, - 33, - 139, - 242, - 162, - 6, - 41, - 38, - 210, - 234, - 155, - 143, - 228, - 232, - 182, - 129, - 115, - 73, - 182, - 237, - 47, - 235, - 30, - 93, - 100, - 215, - 164, - 82, - 63, - 21, - 252, - 238, - 199, - 15, - 177, - 17, - 232, - 112, - 220, - 88, - 209, - 145, - 230, - 106, - 20, - 211, - 233, - 212, - 130, - 208, - 68, - 50, - 202, - 221 - ], - "u_twist": [ - 201, - 129, - 205, - 30, - 31, - 114, - 217, - 195, - 92, - 125, - 124, - 246, - 190, - 66, - 103, - 87, - 192, - 220, - 130, - 6, - 162, - 252, - 250, - 86, - 74, - 142, - 118, - 24, - 192, - 60, - 14, - 97, - 249, - 162, - 235, - 28, - 62, - 13, - 217, - 125, - 110, - 155, - 16, - 16, - 245, - 237, - 208, - 51, - 151, - 168, - 63, - 90, - 145, - 76, - 179, - 255 - ], - "res_twist": [ - 208, - 162, - 187, - 126, - 156, - 92, - 44, - 98, - 119, - 147, - 216, - 52, - 47, - 35, - 183, - 89, - 254, - 125, - 158, - 51, - 32, - 168, - 92, - 164, - 253, - 97, - 55, - 99, - 49, - 80, - 255, - 217, - 169, - 20, - 138, - 155, - 117, - 195, - 73, - 250, - 196, - 61, - 100, - 190, - 196, - 154, - 110, - 18, - 108, - 201, - 44, - 191, - 191, - 53, - 57, - 97 - ] + "s": "AF8A14218BF2A2062926D2EA9B8FE4E8B6817349B6ED2FEB1E5D64D7A4523F15FCEEC70FB111E870DC58D191E66A14D3E9D482D04432CADD", + "u_twist": "C981CD1E1F72D9C35C7D7CF6BE426757C0DC8206A2FCFA564A8E7618C03C0E61F9A2EB1C3E0DD97D6E9B1010F5EDD03397A83F5A914CB3FF", + "res_twist": "D0A2BB7E9C5C2C627793D8342F23B759FE7D9E3320A85CA4FD6137633150FFD9A9148A9B75C349FAC43D64BEC49A6E126CC92CBFBF353961" } }, "G_Coffee25519": { - "PRS": [ - 80, - 97, - 115, - 115, - 119, - 111, - 114, - 100 - ], - "CI": [ - 111, - 99, - 11, - 66, - 95, - 114, - 101, - 115, - 112, - 111, - 110, - 100, - 101, - 114, - 11, - 65, - 95, - 105, - 110, - 105, - 116, - 105, - 97, - 116, - 111, - 114 - ], - "sid": [ - 126, - 75, - 71, - 145, - 214, - 168, - 239, - 1, - 155, - 147, - 108, - 121, - 251, - 127, - 44, - 87 - ], - "g": [ - 166, - 252, - 130, - 195, - 184, - 150, - 143, - 187, - 46, - 6, - 254, - 232, - 28, - 168, - 88, - 88, - 109, - 234, - 80, - 210, - 72, - 240, - 199, - 202, - 106, - 24, - 176, - 144, - 42, - 48, - 179, - 107 - ], - "ya": [ - 218, - 61, - 35, - 112, - 10, - 158, - 86, - 153, - 37, - 138, - 239, - 148, - 220, - 6, - 13, - 253, - 165, - 235, - 182, - 31, - 2, - 165, - 234, - 119, - 250, - 213, - 63, - 79, - 240, - 151, - 109, - 8 - ], - "ADa": [ - 65, - 68, - 97 - ], - "Ya": [ - 212, - 15, - 178, - 101, - 167, - 171, - 234, - 238, - 121, - 57, - 217, - 26, - 88, - 95, - 229, - 159, - 112, - 83, - 249, - 130, - 194, - 150, - 236, - 65, - 60, - 98, - 76, - 102, - 147, - 8, - 248, - 122 - ], - "yb": [ - 210, - 49, - 107, - 69, - 71, - 24, - 195, - 83, - 98, - 216, - 61, - 105, - 223, - 99, - 32, - 243, - 133, - 120, - 237, - 89, - 132, - 101, - 20, - 53, - 226, - 148, - 151, - 98, - 217, - 0, - 184, - 13 - ], - "ADb": [ - 65, - 68, - 98 - ], - "Yb": [ - 8, - 188, - 246, - 233, - 119, - 122, - 156, - 49, - 58, - 61, - 182, - 218, - 165, - 16, - 242, - 211, - 152, - 64, - 51, - 25, - 194, - 52, - 27, - 213, - 6, - 169, - 46, - 103, - 46, - 183, - 227, - 7 - ], - "K": [ - 226, - 43, - 30, - 247, - 120, - 143, - 102, - 20, - 120, - 243, - 205, - 221, - 76, - 96, - 7, - 116, - 252, - 15, - 65, - 230, - 183, - 17, - 86, - 145, - 144, - 255, - 136, - 250, - 14, - 96, - 126, - 9 - ], - "ISK_IR": [ - 76, - 84, - 105, - 161, - 107, - 35, - 100, - 196, - 185, - 68, - 235, - 193, - 167, - 158, - 81, - 209, - 103, - 74, - 212, - 125, - 178, - 110, - 135, - 24, - 21, - 79, - 89, - 250, - 235, - 250, - 165, - 45, - 131, - 70, - 243, - 10, - 165, - 131, - 119, - 17, - 126, - 178, - 13, - 82, - 127, - 44, - 188, - 92, - 118, - 56, - 31, - 127, - 211, - 114, - 232, - 157, - 248, - 35, - 159, - 135, - 242, - 224, - 46, - 209 - ], - "ISK_SY": [ - 152, - 13, - 204, - 90, - 28, - 82, - 206, - 234, - 3, - 30, - 117, - 243, - 142, - 210, - 102, - 88, - 102, - 22, - 72, - 140, - 92, - 87, - 128, - 40, - 95, - 203, - 207, - 121, - 8, - 124, - 123, - 205, - 189, - 153, - 53, - 2, - 238, - 230, - 6, - 183, - 24, - 186, - 49, - 232, - 64, - 160, - 0, - 167, - 183, - 190, - 254, - 21, - 234, - 66, - 124, - 92, - 254, - 136, - 52, - 79, - 161, - 35, - 127, - 53 - ], - "sid_output_ir": [ - 42, - 118, - 211, - 187, - 196, - 153, - 223, - 220, - 77, - 202, - 204, - 159, - 240, - 66, - 244, - 225, - 165, - 78, - 56, - 67, - 37, - 142, - 16, - 12, - 205, - 124, - 96, - 240, - 165, - 65, - 249, - 211, - 235, - 240, - 37, - 230, - 138, - 70, - 13, - 222, - 33, - 139, - 211, - 159, - 7, - 17, - 188, - 111, - 161, - 20, - 9, - 201, - 215, - 182, - 157, - 140, - 207, - 107, - 50, - 252, - 81, - 221, - 182, - 153 - ], - "sid_output_oc": [ - 202, - 75, - 80, - 112, - 12, - 70, - 32, - 60, - 205, - 16, - 188, - 14, - 159, - 49, - 9, - 94, - 80, - 129, - 137, - 203, - 89, - 133, - 117, - 55, - 190, - 86, - 16, - 72, - 211, - 75, - 158, - 217, - 169, - 105, - 122, - 241, - 28, - 153, - 143, - 72, - 76, - 61, - 120, - 59, - 11, - 83, - 20, - 52, - 202, - 166, - 131, - 93, - 76, - 50, - 52, - 79, - 205, - 23, - 22, - 12, - 156, - 52, - 143, - 199 - ] + "PRS": "50617373776F7264", + "CI": "6F630B425F726573706F6E6465720B415F696E69746961746F72", + "sid": "7E4B4791D6A8EF019B936C79FB7F2C57", + "g": "A6FC82C3B8968FBB2E06FEE81CA858586DEA50D248F0C7CA6A18B0902A30B36B", + "ya": "DA3D23700A9E5699258AEF94DC060DFDA5EBB61F02A5EA77FAD53F4FF0976D08", + "ADa": "414461", + "Ya": "D40FB265A7ABEAEE7939D91A585FE59F7053F982C296EC413C624C669308F87A", + "yb": "D2316B454718C35362D83D69DF6320F38578ED5984651435E2949762D900B80D", + "ADb": "414462", + "Yb": "08BCF6E9777A9C313A3DB6DAA510F2D398403319C2341BD506A92E672EB7E307", + "K": "E22B1EF7788F661478F3CDDD4C600774FC0F41E6B711569190FF88FA0E607E09", + "ISK_IR": "4C5469A16B2364C4B944EBC1A79E51D1674AD47DB26E8718154F59FAEBFAA52D8346F30AA58377117EB20D527F2CBC5C76381F7FD372E89DF8239F87F2E02ED1", + "ISK_SY": "980DCC5A1C52CEEA031E75F38ED266586616488C5C5780285FCBCF79087C7BCDBD993502EEE606B718BA31E840A000A7B7BEFE15EA427C5CFE88344FA1237F35", + "sid_output_ir": "2A76D3BBC499DFDC4DCACC9FF042F4E1A54E3843258E100CCD7C60F0A541F9D3EBF025E68A460DDE218BD39F0711BC6FA11409C9D7B69D8CCF6B32FC51DDB699", + "sid_output_oc": "CA4B50700C46203CCD10BC0E9F31095E508189CB59857537BE561048D34B9ED9A9697AF11C998F484C3D783B0B531434CAA6835D4C32344FCD17160C9C348FC7" }, "G_Coffee25519_points": { "Valid": { - "s": [ - 124, - 208, - 224, - 117, - 250, - 121, - 85, - 186, - 82, - 192, - 39, - 89, - 166, - 201, - 13, - 187, - 252, - 16, - 230, - 212, - 10, - 234, - 141, - 40, - 62, - 64, - 125, - 136, - 207, - 83, - 138, - 5 - ], - "X": [ - 44, - 60, - 107, - 140, - 79, - 56, - 0, - 231, - 174, - 246, - 134, - 64, - 37, - 180, - 237, - 121, - 189, - 89, - 145, - 23, - 228, - 39, - 196, - 27, - 212, - 125, - 147, - 214, - 84, - 180, - 165, - 28 - ], - "G.scalar_mult(s,decode(X))": [ - 124, - 19, - 100, - 95, - 231, - 144, - 164, - 104, - 246, - 44, - 57, - 190, - 183, - 56, - 142, - 84, - 29, - 132, - 5, - 209, - 173, - 230, - 157, - 23, - 120, - 197, - 254, - 62, - 127, - 107, - 96, - 14 - ], - "G.scalar_mult_vfy(s,X)": [ - 124, - 19, - 100, - 95, - 231, - 144, - 164, - 104, - 246, - 44, - 57, - 190, - 183, - 56, - 142, - 84, - 29, - 132, - 5, - 209, - 173, - 230, - 157, - 23, - 120, - 197, - 254, - 62, - 127, - 107, - 96, - 14 - ] + "s": "7CD0E075FA7955BA52C02759A6C90DBBFC10E6D40AEA8D283E407D88CF538A05", + "X": "2C3C6B8C4F3800E7AEF6864025B4ED79BD599117E427C41BD47D93D654B4A51C", + "G.scalar_mult(s,decode(X))": "7C13645FE790A468F62C39BEB7388E541D8405D1ADE69D1778C5FE3E7F6B600E", + "G.scalar_mult_vfy(s,X)": "7C13645FE790A468F62C39BEB7388E541D8405D1ADE69D1778C5FE3E7F6B600E" }, - "Invalid Y1": [ - 43, - 60, - 107, - 140, - 79, - 56, - 0, - 231, - 174, - 246, - 134, - 64, - 37, - 180, - 237, - 121, - 189, - 89, - 145, - 23, - 228, - 39, - 196, - 27, - 212, - 125, - 147, - 214, - 84, - 180, - 165, - 28 - ], - "Invalid Y2": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] + "Invalid Y1": "2B3C6B8C4F3800E7AEF6864025B4ED79BD599117E427C41BD47D93D654B4A51C", + "Invalid Y2": "0000000000000000000000000000000000000000000000000000000000000000" }, "G_Coffee448": { - "PRS": [ - 80, - 97, - 115, - 115, - 119, - 111, - 114, - 100 - ], - "CI": [ - 111, - 99, - 11, - 66, - 95, - 114, - 101, - 115, - 112, - 111, - 110, - 100, - 101, - 114, - 11, - 65, - 95, - 105, - 110, - 105, - 116, - 105, - 97, - 116, - 111, - 114 - ], - "sid": [ - 82, - 35, - 224, - 205, - 196, - 93, - 101, - 117, - 102, - 141, - 100, - 197, - 82, - 0, - 65, - 36 - ], - "g": [ - 154, - 112, - 14, - 204, - 55, - 142, - 185, - 142, - 87, - 56, - 125, - 244, - 86, - 213, - 180, - 180, - 241, - 220, - 238, - 187, - 177, - 55, - 21, - 39, - 238, - 183, - 225, - 191, - 186, - 182, - 78, - 204, - 156, - 147, - 3, - 57, - 97, - 69, - 186, - 4, - 245, - 181, - 174, - 165, - 186, - 237, - 250, - 97, - 243, - 31, - 0, - 251, - 197, - 253, - 86, - 6 - ], - "ya": [ - 51, - 213, - 97, - 241, - 60, - 252, - 13, - 202, - 39, - 156, - 48, - 232, - 205, - 232, - 149, - 23, - 93, - 194, - 84, - 131, - 137, - 40, - 25, - 235, - 161, - 50, - 213, - 140, - 19, - 192, - 70, - 42, - 142, - 176, - 215, - 63, - 218, - 148, - 25, - 80, - 89, - 75, - 239, - 81, - 145, - 216, - 57, - 70, - 145, - 248, - 110, - 223, - 252, - 173, - 108, - 30 - ], - "ADa": [ - 65, - 68, - 97 - ], - "Ya": [ - 98, - 127, - 139, - 178, - 174, - 148, - 94, - 42, - 81, - 137, - 103, - 223, - 155, - 0, - 175, - 241, - 146, - 83, - 211, - 8, - 99, - 152, - 242, - 236, - 24, - 190, - 132, - 108, - 192, - 209, - 242, - 134, - 194, - 206, - 60, - 175, - 29, - 166, - 57, - 133, - 156, - 205, - 42, - 106, - 1, - 169, - 55, - 42, - 23, - 230, - 107, - 183, - 0, - 110, - 87, - 27 - ], - "yb": [ - 37, - 35, - 201, - 105, - 246, - 143, - 162, - 178, - 174, - 162, - 148, - 194, - 83, - 158, - 243, - 110, - 177, - 224, - 85, - 138, - 189, - 20, - 113, - 42, - 120, - 40, - 241, - 106, - 133, - 237, - 44, - 126, - 119, - 226, - 189, - 212, - 24, - 153, - 68, - 5, - 251, - 27, - 87, - 182, - 187, - 170, - 221, - 102, - 132, - 152, - 146, - 170, - 201, - 216, - 20, - 2 - ], - "ADb": [ - 65, - 68, - 98 - ], - "Yb": [ - 142, - 152, - 17, - 228, - 64, - 47, - 172, - 9, - 135, - 67, - 202, - 123, - 43, - 80, - 155, - 145, - 179, - 140, - 140, - 241, - 54, - 12, - 198, - 202, - 179, - 1, - 24, - 113, - 112, - 25, - 120, - 43, - 127, - 88, - 165, - 145, - 198, - 61, - 156, - 146, - 71, - 183, - 116, - 230, - 176, - 224, - 184, - 38, - 255, - 79, - 131, - 153, - 249, - 71, - 114, - 219 - ], - "K": [ - 148, - 244, - 174, - 73, - 79, - 78, - 139, - 7, - 173, - 227, - 53, - 71, - 38, - 238, - 228, - 156, - 85, - 24, - 179, - 99, - 205, - 165, - 68, - 245, - 180, - 84, - 27, - 151, - 50, - 131, - 11, - 227, - 126, - 160, - 230, - 63, - 200, - 63, - 84, - 190, - 40, - 13, - 234, - 7, - 71, - 160, - 67, - 199, - 109, - 71, - 62, - 1, - 104, - 154, - 247, - 127 - ], - "ISK_IR": [ - 156, - 39, - 38, - 166, - 205, - 161, - 23, - 147, - 73, - 203, - 195, - 143, - 49, - 118, - 94, - 171, - 100, - 106, - 42, - 95, - 23, - 111, - 48, - 25, - 250, - 180, - 160, - 170, - 189, - 157, - 23, - 194, - 186, - 137, - 89, - 152, - 207, - 246, - 152, - 216, - 1, - 118, - 26, - 0, - 53, - 18, - 193, - 207, - 103, - 209, - 68, - 178, - 30, - 28, - 182, - 214, - 184, - 45, - 167, - 29, - 13, - 167, - 108, - 173 - ], - "ISK_SY": [ - 109, - 33, - 120, - 237, - 48, - 72, - 112, - 48, - 37, - 185, - 0, - 126, - 200, - 76, - 77, - 150, - 158, - 141, - 129, - 53, - 223, - 69, - 94, - 96, - 140, - 22, - 170, - 21, - 46, - 18, - 25, - 200, - 108, - 234, - 86, - 50, - 84, - 66, - 138, - 157, - 150, - 153, - 3, - 174, - 54, - 73, - 209, - 5, - 13, - 161, - 230, - 224, - 193, - 192, - 96, - 225, - 235, - 247, - 49, - 106, - 126, - 153, - 51, - 137 - ], - "sid_output_ir": [ - 101, - 191, - 253, - 225, - 123, - 122, - 207, - 7, - 207, - 212, - 55, - 189, - 185, - 115, - 168, - 247, - 52, - 11, - 249, - 17, - 211, - 147, - 166, - 20, - 152, - 192, - 165, - 14, - 240, - 214, - 139, - 202, - 16, - 63, - 189, - 176, - 245, - 183, - 153, - 80, - 85, - 98, - 229, - 152, - 17, - 223, - 27, - 197, - 217, - 180, - 245, - 240, - 247, - 197, - 124, - 34, - 205, - 126, - 214, - 219, - 77, - 21, - 62, - 58 - ], - "sid_output_oc": [ - 124, - 226, - 112, - 67, - 209, - 177, - 208, - 208, - 224, - 46, - 22, - 151, - 150, - 55, - 226, - 160, - 5, - 71, - 237, - 110, - 21, - 234, - 152, - 143, - 125, - 60, - 155, - 60, - 33, - 89, - 178, - 106, - 179, - 131, - 75, - 255, - 127, - 248, - 98, - 64, - 50, - 62, - 37, - 33, - 107, - 162, - 238, - 110, - 166, - 225, - 88, - 37, - 2, - 1, - 127, - 142, - 109, - 101, - 248, - 196, - 165, - 230, - 85, - 67 - ] + "PRS": "50617373776F7264", + "CI": "6F630B425F726573706F6E6465720B415F696E69746961746F72", + "sid": "5223E0CDC45D6575668D64C552004124", + "g": "9A700ECC378EB98E57387DF456D5B4B4F1DCEEBBB1371527EEB7E1BFBAB64ECC9C9303396145BA04F5B5AEA5BAEDFA61F31F00FBC5FD5606", + "ya": "33D561F13CFC0DCA279C30E8CDE895175DC25483892819EBA132D58C13C0462A8EB0D73FDA941950594BEF5191D8394691F86EDFFCAD6C1E", + "ADa": "414461", + "Ya": "627F8BB2AE945E2A518967DF9B00AFF19253D3086398F2EC18BE846CC0D1F286C2CE3CAF1DA639859CCD2A6A01A9372A17E66BB7006E571B", + "yb": "2523C969F68FA2B2AEA294C2539EF36EB1E0558ABD14712A7828F16A85ED2C7E77E2BDD418994405FB1B57B6BBAADD66849892AAC9D81402", + "ADb": "414462", + "Yb": "8E9811E4402FAC098743CA7B2B509B91B38C8CF1360CC6CAB30118717019782B7F58A591C63D9C9247B774E6B0E0B826FF4F8399F94772DB", + "K": "94F4AE494F4E8B07ADE3354726EEE49C5518B363CDA544F5B4541B9732830BE37EA0E63FC83F54BE280DEA0747A043C76D473E01689AF77F", + "ISK_IR": "9C2726A6CDA1179349CBC38F31765EAB646A2A5F176F3019FAB4A0AABD9D17C2BA895998CFF698D801761A003512C1CF67D144B21E1CB6D6B82DA71D0DA76CAD", + "ISK_SY": "6D2178ED3048703025B9007EC84C4D969E8D8135DF455E608C16AA152E1219C86CEA563254428A9D969903AE3649D1050DA1E6E0C1C060E1EBF7316A7E993389", + "sid_output_ir": "65BFFDE17B7ACF07CFD437BDB973A8F7340BF911D393A61498C0A50EF0D68BCA103FBDB0F5B799505562E59811DF1BC5D9B4F5F0F7C57C22CD7ED6DB4D153E3A", + "sid_output_oc": "7CE27043D1B1D0D0E02E16979637E2A00547ED6E15EA988F7D3C9B3C2159B26AB3834BFF7FF86240323E25216BA2EE6EA6E1582502017F8E6D65F8C4A5E65543" }, "G_Coffee448_points": { "Valid": { - "s": [ - 221, - 27, - 199, - 1, - 93, - 170, - 187, - 118, - 114, - 18, - 156, - 195, - 90, - 59, - 168, - 21, - 72, - 107, - 19, - 157, - 239, - 249, - 189, - 236, - 167, - 164, - 252, - 97, - 52, - 50, - 61, - 52, - 101, - 135, - 97, - 233, - 15, - 240, - 121, - 151, - 42, - 124, - 168, - 170, - 86, - 6, - 73, - 143, - 79, - 79, - 14, - 188, - 9, - 51, - 168, - 25 - ], - "X": [ - 96, - 20, - 49, - 213, - 229, - 31, - 67, - 212, - 34, - 169, - 45, - 63, - 178, - 55, - 59, - 222, - 40, - 33, - 122, - 171, - 66, - 82, - 76, - 52, - 26, - 164, - 4, - 234, - 186, - 90, - 165, - 84, - 31, - 112, - 66, - 219, - 179, - 37, - 60, - 228, - 201, - 15, - 119, - 43, - 3, - 138, - 65, - 61, - 203, - 58, - 15, - 107, - 243, - 174, - 158, - 33 - ], - "G.scalar_mult(s,decode(X))": [ - 56, - 139, - 53, - 198, - 14, - 180, - 27, - 102, - 8, - 90, - 33, - 24, - 49, - 98, - 24, - 104, - 29, - 120, - 151, - 157, - 102, - 119, - 2, - 222, - 16, - 95, - 220, - 31, - 33, - 255, - 232, - 132, - 165, - 119, - 215, - 149, - 244, - 86, - 145, - 120, - 19, - 144, - 162, - 41, - 163, - 189, - 123, - 82, - 126, - 131, - 19, - 128, - 242, - 245, - 133, - 164 - ], - "G.scalar_mult_vfy(s,X)": [ - 56, - 139, - 53, - 198, - 14, - 180, - 27, - 102, - 8, - 90, - 33, - 24, - 49, - 98, - 24, - 104, - 29, - 120, - 151, - 157, - 102, - 119, - 2, - 222, - 16, - 95, - 220, - 31, - 33, - 255, - 232, - 132, - 165, - 119, - 215, - 149, - 244, - 86, - 145, - 120, - 19, - 144, - 162, - 41, - 163, - 189, - 123, - 82, - 126, - 131, - 19, - 128, - 242, - 245, - 133, - 164 - ] + "s": "DD1BC7015DAABB7672129CC35A3BA815486B139DEFF9BDECA7A4FC6134323D34658761E90FF079972A7CA8AA5606498F4F4F0EBC0933A819", + "X": "601431D5E51F43D422A92D3FB2373BDE28217AAB42524C341AA404EABA5AA5541F7042DBB3253CE4C90F772B038A413DCB3A0F6BF3AE9E21", + "G.scalar_mult(s,decode(X))": "388B35C60EB41B66085A2118316218681D78979D667702DE105FDC1F21FFE884A577D795F45691781390A229A3BD7B527E831380F2F585A4", + "G.scalar_mult_vfy(s,X)": "388B35C60EB41B66085A2118316218681D78979D667702DE105FDC1F21FFE884A577D795F45691781390A229A3BD7B527E831380F2F585A4" }, - "Invalid Y1": [ - 95, - 20, - 49, - 213, - 229, - 31, - 67, - 212, - 34, - 169, - 45, - 63, - 178, - 55, - 59, - 222, - 40, - 33, - 122, - 171, - 66, - 82, - 76, - 52, - 26, - 164, - 4, - 234, - 186, - 90, - 165, - 84, - 31, - 112, - 66, - 219, - 179, - 37, - 60, - 228, - 201, - 15, - 119, - 43, - 3, - 138, - 65, - 61, - 203, - 58, - 15, - 107, - 243, - 174, - 158, - 33 - ], - "Invalid Y2": [ - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0, - 0 - ] + "Invalid Y1": "5F1431D5E51F43D422A92D3FB2373BDE28217AAB42524C341AA404EABA5AA5541F7042DBB3253CE4C90F772B038A413DCB3A0F6BF3AE9E21", + "Invalid Y2": "0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" }, "G_NistP256": { - "PRS": [ - 80, - 97, - 115, - 115, - 119, - 111, - 114, - 100 - ], - "CI": [ - 111, - 99, - 11, - 66, - 95, - 114, - 101, - 115, - 112, - 111, - 110, - 100, - 101, - 114, - 11, - 65, - 95, - 105, - 110, - 105, - 116, - 105, - 97, - 116, - 111, - 114 - ], - "sid": [ - 52, - 179, - 100, - 84, - 202, - 178, - 231, - 132, - 44, - 56, - 159, - 125, - 136, - 236, - 183, - 223 - ], - "g": [ - 4, - 238, - 229, - 119, - 50, - 11, - 28, - 36, - 26, - 121, - 65, - 159, - 205, - 229, - 113, - 140, - 43, - 99, - 248, - 30, - 248, - 113, - 125, - 86, - 165, - 125, - 47, - 178, - 107, - 101, - 168, - 190, - 182, - 53, - 115, - 181, - 38, - 5, - 239, - 179, - 47, - 244, - 207, - 49, - 170, - 239, - 154, - 146, - 223, - 132, - 228, - 232, - 64, - 140, - 198, - 199, - 207, - 39, - 165, - 53, - 170, - 210, - 179, - 138, - 86 - ], - "ya": [ - 55, - 87, - 76, - 251, - 241, - 185, - 95, - 246, - 168, - 226, - 215, - 190, - 70, - 45, - 77, - 1, - 230, - 221, - 226, - 97, - 143, - 52, - 244, - 222, - 157, - 248, - 105, - 178, - 79, - 83, - 44, - 93 - ], - "ADa": [ - 65, - 68, - 97 - ], - "Ya": [ - 4, - 31, - 18, - 173, - 95, - 198, - 80, - 16, - 162, - 79, - 192, - 76, - 134, - 25, - 113, - 9, - 163, - 109, - 240, - 233, - 206, - 133, - 167, - 71, - 158, - 30, - 19, - 100, - 105, - 47, - 218, - 206, - 23, - 234, - 90, - 99, - 78, - 25, - 194, - 7, - 165, - 213, - 46, - 173, - 108, - 104, - 23, - 161, - 99, - 207, - 47, - 47, - 227, - 64, - 108, - 93, - 253, - 252, - 46, - 205, - 248, - 228, - 44, - 94, - 22 - ], - "yb": [ - 229, - 103, - 47, - 201, - 235, - 78, - 114, - 31, - 65, - 216, - 1, - 129, - 236, - 76, - 159, - 217, - 136, - 102, - 104, - 172, - 196, - 128, - 36, - 211, - 60, - 130, - 187, - 16, - 42, - 236, - 186, - 82 - ], - "ADb": [ - 65, - 68, - 98 - ], - "Yb": [ - 4, - 106, - 81, - 24, - 11, - 110, - 186, - 186, - 245, - 237, - 10, - 248, - 205, - 120, - 104, - 134, - 217, - 51, - 66, - 188, - 174, - 76, - 21, - 140, - 225, - 97, - 122, - 10, - 204, - 142, - 195, - 84, - 72, - 111, - 158, - 210, - 233, - 33, - 9, - 19, - 32, - 109, - 30, - 63, - 94, - 70, - 61, - 45, - 50, - 12, - 79, - 31, - 92, - 232, - 182, - 119, - 167, - 227, - 138, - 38, - 247, - 82, - 191, - 143, - 132 - ], - "K": [ - 62, - 14, - 47, - 137, - 118, - 251, - 141, - 13, - 238, - 227, - 10, - 239, - 75, - 92, - 211, - 99, - 30, - 237, - 36, - 154, - 243, - 47, - 83, - 208, - 221, - 0, - 155, - 93, - 123, - 143, - 107, - 108 - ], - "ISK_IR": [ - 149, - 101, - 237, - 40, - 107, - 110, - 60, - 241, - 249, - 67, - 253, - 49, - 116, - 111, - 154, - 34, - 147, - 85, - 55, - 2, - 90, - 19, - 40, - 212, - 152, - 0, - 5, - 186, - 152, - 79, - 12, - 57 - ], - "ISK_SY": [ - 98, - 164, - 69, - 164, - 218, - 163, - 84, - 109, - 208, - 49, - 198, - 110, - 173, - 46, - 78, - 1, - 90, - 187, - 204, - 131, - 189, - 227, - 28, - 144, - 248, - 65, - 20, - 159, - 212, - 65, - 197, - 138 - ], - "sid_output_ir": [ - 167, - 56, - 109, - 28, - 46, - 176, - 110, - 128, - 86, - 215, - 254, - 203, - 207, - 105, - 30, - 8, - 209, - 137, - 217, - 98, - 54, - 2, - 14, - 243, - 27, - 65, - 64, - 105, - 138, - 75, - 153, - 249 - ], - "sid_output_oc": [ - 211, - 55, - 219, - 192, - 221, - 121, - 123, - 78, - 111, - 47, - 20, - 234, - 73, - 37, - 197, - 142, - 93, - 85, - 35, - 135, - 30, - 140, - 180, - 58, - 60, - 27, - 15, - 43, - 26, - 31, - 253, - 227 - ] + "PRS": "50617373776F7264", + "CI": "6F630B425F726573706F6E6465720B415F696E69746961746F72", + "sid": "34B36454CAB2E7842C389F7D88ECB7DF", + "g": "04EEE577320B1C241A79419FCDE5718C2B63F81EF8717D56A57D2FB26B65A8BEB63573B52605EFB32FF4CF31AAEF9A92DF84E4E8408CC6C7CF27A535AAD2B38A56", + "ya": "37574CFBF1B95FF6A8E2D7BE462D4D01E6DDE2618F34F4DE9DF869B24F532C5D", + "ADa": "414461", + "Ya": "041F12AD5FC65010A24FC04C86197109A36DF0E9CE85A7479E1E1364692FDACE17EA5A634E19C207A5D52EAD6C6817A163CF2F2FE3406C5DFDFC2ECDF8E42C5E16", + "yb": "E5672FC9EB4E721F41D80181EC4C9FD9886668ACC48024D33C82BB102AECBA52", + "ADb": "414462", + "Yb": "046A51180B6EBABAF5ED0AF8CD786886D93342BCAE4C158CE1617A0ACC8EC354486F9ED2E9210913206D1E3F5E463D2D320C4F1F5CE8B677A7E38A26F752BF8F84", + "K": "3E0E2F8976FB8D0DEEE30AEF4B5CD3631EED249AF32F53D0DD009B5D7B8F6B6C", + "ISK_IR": "9565ED286B6E3CF1F943FD31746F9A22935537025A1328D4980005BA984F0C39", + "ISK_SY": "62A445A4DAA3546DD031C66EAD2E4E015ABBCC83BDE31C90F841149FD441C58A", + "sid_output_ir": "A7386D1C2EB06E8056D7FECBCF691E08D189D96236020EF31B4140698A4B99F9", + "sid_output_oc": "D337DBC0DD797B4E6F2F14EA4925C58E5D5523871E8CB43A3C1B0F2B1A1FFDE3" }, "G_NistP256_points": { "Valid": { - "s": [ - 240, - 18, - 80, - 28, - 9, - 31, - 249, - 185, - 154, - 18, - 63, - 255, - 229, - 113, - 216, - 188, - 1, - 232, - 7, - 126, - 229, - 129, - 54, - 46, - 27, - 210, - 19, - 153, - 8, - 53, - 100, - 59 - ], - "X": [ - 4, - 36, - 100, - 142, - 185, - 134, - 194, - 190, - 10, - 246, - 54, - 69, - 92, - 239, - 5, - 80, - 103, - 29, - 107, - 205, - 138, - 162, - 110, - 13, - 114, - 255, - 161, - 177, - 253, - 18, - 186, - 78, - 15, - 120, - 218, - 43, - 109, - 33, - 132, - 243, - 26, - 243, - 158, - 86, - 106, - 239, - 18, - 112, - 20, - 182, - 147, - 108, - 154, - 55, - 52, - 109, - 16, - 164, - 171, - 37, - 20, - 250, - 239, - 88, - 49 - ], - "G.scalar_mult(s,X) (full coordinates)": [ - 4, - 245, - 161, - 145, - 240, - 120, - 200, - 124, - 54, - 99, - 59, - 120, - 199, - 1, - 117, - 17, - 89, - 213, - 108, - 89, - 243, - 254, - 145, - 5, - 181, - 114, - 6, - 115, - 71, - 15, - 48, - 58, - 185, - 37, - 182, - 167, - 253, - 28, - 221, - 143, - 100, - 154, - 33, - 207, - 54, - 182, - 141, - 158, - 156, - 74, - 17, - 145, - 154, - 149, - 24, - 146, - 81, - 151, - 134, - 16, - 75, - 39, - 3, - 55, - 87 - ], - "G.scalar_mult_vfy(s,X) (only X-coordinate)": [ - 245, - 161, - 145, - 240, - 120, - 200, - 124, - 54, - 99, - 59, - 120, - 199, - 1, - 117, - 17, - 89, - 213, - 108, - 89, - 243, - 254, - 145, - 5, - 181, - 114, - 6, - 115, - 71, - 15, - 48, - 58, - 185 - ] + "s": "F012501C091FF9B99A123FFFE571D8BC01E8077EE581362E1BD213990835643B", + "X": "0424648EB986C2BE0AF636455CEF0550671D6BCD8AA26E0D72FFA1B1FD12BA4E0F78DA2B6D2184F31AF39E566AEF127014B6936C9A37346D10A4AB2514FAEF5831", + "G.scalar_mult(s,X) (full coordinates)": "04F5A191F078C87C36633B78C701751159D56C59F3FE9105B5720673470F303AB925B6A7FD1CDD8F649A21CF36B68D9E9C4A11919A951892519786104B27033757", + "G.scalar_mult_vfy(s,X) (only X-coordinate)": "F5A191F078C87C36633B78C701751159D56C59F3FE9105B5720673470F303AB9" }, - "Invalid Y1": [ - 4, - 36, - 100, - 142, - 185, - 134, - 194, - 190, - 10, - 246, - 54, - 69, - 92, - 239, - 5, - 80, - 103, - 29, - 107, - 205, - 138, - 162, - 110, - 13, - 114, - 255, - 161, - 177, - 253, - 18, - 186, - 78, - 15, - 120, - 218, - 43, - 109, - 33, - 132, - 243, - 26, - 243, - 158, - 86, - 106, - 239, - 18, - 112, - 20, - 182, - 147, - 108, - 154, - 55, - 52, - 109, - 16, - 164, - 171, - 37, - 20, - 250, - 239, - 88, - 87 - ], - "Invalid Y2": [ - 0 - ] + "Invalid Y1": "0424648EB986C2BE0AF636455CEF0550671D6BCD8AA26E0D72FFA1B1FD12BA4E0F78DA2B6D2184F31AF39E566AEF127014B6936C9A37346D10A4AB2514FAEF5857", + "Invalid Y2": "00" }, "G_NistP384": { - "PRS": [ - 80, - 97, - 115, - 115, - 119, - 111, - 114, - 100 - ], - "CI": [ - 111, - 99, - 11, - 66, - 95, - 114, - 101, - 115, - 112, - 111, - 110, - 100, - 101, - 114, - 11, - 65, - 95, - 105, - 110, - 105, - 116, - 105, - 97, - 116, - 111, - 114 - ], - "sid": [ - 91, - 55, - 115, - 170, - 144, - 232, - 242, - 60, - 97, - 86, - 58, - 75, - 100, - 91, - 39, - 108 - ], - "g": [ - 4, - 255, - 225, - 189, - 195, - 41, - 63, - 219, - 227, - 27, - 41, - 89, - 145, - 110, - 82, - 192, - 24, - 233, - 35, - 234, - 201, - 152, - 54, - 189, - 154, - 28, - 190, - 236, - 121, - 74, - 141, - 77, - 120, - 186, - 163, - 44, - 218, - 252, - 150, - 133, - 188, - 16, - 103, - 167, - 128, - 244, - 173, - 156, - 138, - 108, - 110, - 22, - 74, - 164, - 41, - 6, - 209, - 226, - 127, - 120, - 37, - 129, - 173, - 200, - 224, - 16, - 146, - 25, - 98, - 106, - 43, - 143, - 189, - 195, - 70, - 2, - 228, - 8, - 69, - 84, - 189, - 214, - 192, - 198, - 152, - 221, - 101, - 122, - 200, - 227, - 27, - 43, - 204, - 225, - 199, - 176, - 216 - ], - "ya": [ - 239, - 67, - 61, - 213, - 173, - 20, - 44, - 134, - 14, - 124, - 182, - 64, - 13, - 211, - 21, - 211, - 136, - 213, - 236, - 84, - 32, - 197, - 80, - 233, - 214, - 240, - 144, - 127, - 55, - 93, - 152, - 139, - 196, - 215, - 4, - 131, - 126, - 67, - 86, - 28, - 73, - 126, - 125, - 217, - 62, - 220, - 219, - 157 - ], - "ADa": [ - 65, - 68, - 97 - ], - "Ya": [ - 4, - 52, - 160, - 77, - 161, - 33, - 153, - 93, - 129, - 215, - 197, - 222, - 208, - 44, - 242, - 231, - 9, - 84, - 220, - 164, - 144, - 89, - 72, - 94, - 163, - 131, - 16, - 183, - 59, - 150, - 250, - 30, - 199, - 134, - 25, - 197, - 161, - 229, - 36, - 71, - 39, - 120, - 51, - 31, - 190, - 0, - 159, - 161, - 86, - 74, - 50, - 3, - 228, - 41, - 147, - 163, - 98, - 133, - 250, - 84, - 230, - 194, - 65, - 132, - 253, - 34, - 116, - 88, - 200, - 119, - 129, - 190, - 22, - 255, - 244, - 109, - 188, - 151, - 12, - 193, - 177, - 119, - 0, - 80, - 169, - 77, - 104, - 38, - 213, - 47, - 33, - 27, - 35, - 71, - 146, - 230, - 109 - ], - "yb": [ - 80, - 176, - 227, - 107, - 149, - 162, - 237, - 250, - 168, - 52, - 43, - 132, - 61, - 221, - 201, - 11, - 23, - 83, - 48, - 242, - 57, - 156, - 27, - 54, - 88, - 109, - 237, - 218, - 60, - 37, - 89, - 117, - 243, - 11, - 230, - 167, - 80, - 249, - 64, - 79, - 204, - 198, - 42, - 99, - 35, - 181, - 228, - 113 - ], - "ADb": [ - 65, - 68, - 98 - ], - "Yb": [ - 4, - 10, - 101, - 89, - 20, - 127, - 212, - 146, - 173, - 116, - 171, - 31, - 77, - 239, - 97, - 150, - 253, - 99, - 153, - 84, - 14, - 132, - 112, - 98, - 39, - 161, - 249, - 13, - 16, - 76, - 218, - 235, - 99, - 11, - 124, - 92, - 24, - 116, - 141, - 235, - 37, - 101, - 58, - 210, - 164, - 203, - 94, - 98, - 116, - 132, - 28, - 173, - 50, - 139, - 176, - 49, - 38, - 40, - 185, - 177, - 245, - 27, - 234, - 114, - 184, - 198, - 16, - 153, - 154, - 103, - 48, - 247, - 82, - 100, - 146, - 5, - 174, - 133, - 196, - 82, - 239, - 131, - 249, - 139, - 231, - 21, - 205, - 1, - 3, - 24, - 104, - 116, - 176, - 124, - 240, - 32, - 116 - ], - "K": [ - 169, - 172, - 174, - 169, - 86, - 146, - 166, - 68, - 98, - 6, - 127, - 232, - 228, - 50, - 31, - 47, - 202, - 151, - 147, - 168, - 160, - 66, - 15, - 14, - 37, - 62, - 208, - 214, - 219, - 133, - 143, - 225, - 97, - 222, - 117, - 118, - 32, - 106, - 138, - 53, - 189, - 74, - 96, - 224, - 7, - 36, - 253, - 62 - ], - "ISK_IR": [ - 209, - 183, - 67, - 117, - 199, - 214, - 61, - 125, - 226, - 70, - 203, - 243, - 252, - 43, - 48, - 146, - 100, - 92, - 115, - 160, - 170, - 129, - 105, - 137, - 192, - 222, - 96, - 72, - 237, - 78, - 206, - 106, - 84, - 223, - 130, - 208, - 93, - 43, - 227, - 73, - 140, - 185, - 40, - 139, - 231, - 189, - 189, - 185 - ], - "ISK_SY": [ - 160, - 81, - 212, - 83, - 44, - 169, - 251, - 103, - 116, - 224, - 151, - 235, - 172, - 105, - 193, - 214, - 161, - 129, - 68, - 161, - 84, - 33, - 220, - 21, - 93, - 11, - 30, - 138, - 239, - 159, - 157, - 140, - 15, - 232, - 110, - 133, - 211, - 203, - 238, - 119, - 150, - 255, - 80, - 23, - 31, - 66, - 128, - 27 - ], - "sid_output_ir": [ - 141, - 90, - 3, - 148, - 106, - 105, - 255, - 161, - 44, - 214, - 239, - 212, - 105, - 254, - 134, - 113, - 187, - 194, - 95, - 173, - 109, - 178, - 101, - 111, - 57, - 99, - 201, - 78, - 156, - 148, - 11, - 222, - 204, - 43, - 213, - 85, - 71, - 76, - 33, - 24, - 23, - 120, - 125, - 92, - 247, - 135, - 14, - 209 - ], - "sid_output_oc": [ - 192, - 114, - 157, - 178, - 93, - 180, - 12, - 72, - 163, - 95, - 120, - 125, - 84, - 16, - 178, - 203, - 154, - 45, - 159, - 94, - 156, - 241, - 207, - 21, - 158, - 210, - 246, - 60, - 107, - 33, - 133, - 229, - 151, - 225, - 118, - 204, - 34, - 20, - 34, - 233, - 73, - 110, - 237, - 162, - 191, - 18, - 60, - 139 - ] + "PRS": "50617373776F7264", + "CI": "6F630B425F726573706F6E6465720B415F696E69746961746F72", + "sid": "5B3773AA90E8F23C61563A4B645B276C", + "g": "04FFE1BDC3293FDBE31B2959916E52C018E923EAC99836BD9A1CBEEC794A8D4D78BAA32CDAFC9685BC1067A780F4AD9C8A6C6E164AA42906D1E27F782581ADC8E0109219626A2B8FBDC34602E4084554BDD6C0C698DD657AC8E31B2BCCE1C7B0D8", + "ya": "EF433DD5AD142C860E7CB6400DD315D388D5EC5420C550E9D6F0907F375D988BC4D704837E43561C497E7DD93EDCDB9D", + "ADa": "414461", + "Ya": "0434A04DA121995D81D7C5DED02CF2E70954DCA49059485EA38310B73B96FA1EC78619C5A1E524472778331FBE009FA1564A3203E42993A36285FA54E6C24184FD227458C87781BE16FFF46DBC970CC1B1770050A94D6826D52F211B234792E66D", + "yb": "50B0E36B95A2EDFAA8342B843DDDC90B175330F2399C1B36586DEDDA3C255975F30BE6A750F9404FCCC62A6323B5E471", + "ADb": "414462", + "Yb": "040A6559147FD492AD74AB1F4DEF6196FD6399540E84706227A1F90D104CDAEB630B7C5C18748DEB25653AD2A4CB5E6274841CAD328BB0312628B9B1F51BEA72B8C610999A6730F752649205AE85C452EF83F98BE715CD0103186874B07CF02074", + "K": "A9ACAEA95692A64462067FE8E4321F2FCA9793A8A0420F0E253ED0D6DB858FE161DE7576206A8A35BD4A60E00724FD3E", + "ISK_IR": "D1B74375C7D63D7DE246CBF3FC2B3092645C73A0AA816989C0DE6048ED4ECE6A54DF82D05D2BE3498CB9288BE7BDBDB9", + "ISK_SY": "A051D4532CA9FB6774E097EBAC69C1D6A18144A15421DC155D0B1E8AEF9F9D8C0FE86E85D3CBEE7796FF50171F42801B", + "sid_output_ir": "8D5A03946A69FFA12CD6EFD469FE8671BBC25FAD6DB2656F3963C94E9C940BDECC2BD555474C211817787D5CF7870ED1", + "sid_output_oc": "C0729DB25DB40C48A35F787D5410B2CB9A2D9F5E9CF1CF159ED2F63C6B2185E597E176CC221422E9496EEDA2BF123C8B" }, "G_NistP384_points": { "Valid": { - "s": [ - 110, - 138, - 153, - 165, - 205, - 212, - 8, - 234, - 233, - 142, - 27, - 138, - 237, - 40, - 110, - 123, - 18, - 173, - 187, - 218, - 199, - 242, - 198, - 40, - 217, - 6, - 12, - 233, - 42, - 224, - 217, - 11, - 213, - 122, - 86, - 79, - 211, - 80, - 15, - 188, - 206, - 52, - 37, - 220, - 148, - 186, - 10, - 222 - ], - "X": [ - 4, - 91, - 76, - 213, - 60, - 69, - 6, - 204, - 4, - 186, - 76, - 68, - 242, - 118, - 45, - 93, - 50, - 195, - 229, - 93, - 242, - 91, - 139, - 170, - 85, - 113, - 177, - 101, - 122, - 217, - 87, - 110, - 254, - 168, - 37, - 159, - 6, - 132, - 222, - 6, - 90, - 71, - 5, - 133, - 180, - 190, - 135, - 103, - 72, - 199, - 121, - 112, - 84, - 243, - 222, - 254, - 242, - 27, - 119, - 248, - 61, - 83, - 186, - 197, - 124, - 137, - 213, - 42, - 164, - 214, - 221, - 88, - 114, - 189, - 40, - 25, - 137, - 177, - 56, - 53, - 150, - 152, - 0, - 159, - 138, - 193, - 243, - 1, - 83, - 139, - 173, - 204, - 233, - 217, - 244, - 3, - 110 - ], - "G.scalar_mult(s,X) (full coordinates)": [ - 4, - 101, - 194, - 141, - 176, - 95, - 217, - 249, - 169, - 54, - 81, - 197, - 204, - 49, - 234, - 228, - 156, - 78, - 82, - 70, - 180, - 100, - 137, - 184, - 246, - 16, - 88, - 115, - 49, - 115, - 160, - 51, - 205, - 167, - 108, - 62, - 62, - 165, - 53, - 43, - 128, - 78, - 103, - 253, - 190, - 46, - 51, - 75, - 232, - 36, - 93, - 173, - 92, - 140, - 153, - 62, - 99, - 186, - 207, - 4, - 86, - 71, - 143, - 41, - 183, - 27, - 108, - 133, - 159, - 19, - 103, - 111, - 132, - 255, - 21, - 13, - 39, - 65, - 240, - 40, - 245, - 96, - 88, - 74, - 11, - 219, - 161, - 154, - 99, - 223, - 98, - 192, - 137, - 73, - 194, - 253, - 109 - ], - "G.scalar_mult_vfy(s,X) (only X-coordinate)": [ - 101, - 194, - 141, - 176, - 95, - 217, - 249, - 169, - 54, - 81, - 197, - 204, - 49, - 234, - 228, - 156, - 78, - 82, - 70, - 180, - 100, - 137, - 184, - 246, - 16, - 88, - 115, - 49, - 115, - 160, - 51, - 205, - 167, - 108, - 62, - 62, - 165, - 53, - 43, - 128, - 78, - 103, - 253, - 190, - 46, - 51, - 75, - 232 - ] + "s": "6E8A99A5CDD408EAE98E1B8AED286E7B12ADBBDAC7F2C628D9060CE92AE0D90BD57A564FD3500FBCCE3425DC94BA0ADE", + "X": "045B4CD53C4506CC04BA4C44F2762D5D32C3E55DF25B8BAA5571B1657AD9576EFEA8259F0684DE065A470585B4BE876748C7797054F3DEFEF21B77F83D53BAC57C89D52AA4D6DD5872BD281989B138359698009F8AC1F301538BADCCE9D9F4036E", + "G.scalar_mult(s,X) (full coordinates)": "0465C28DB05FD9F9A93651C5CC31EAE49C4E5246B46489B8F61058733173A033CDA76C3E3EA5352B804E67FDBE2E334BE8245DAD5C8C993E63BACF0456478F29B71B6C859F13676F84FF150D2741F028F560584A0BDBA19A63DF62C08949C2FD6D", + "G.scalar_mult_vfy(s,X) (only X-coordinate)": "65C28DB05FD9F9A93651C5CC31EAE49C4E5246B46489B8F61058733173A033CDA76C3E3EA5352B804E67FDBE2E334BE8" }, - "Invalid Y1": [ - 4, - 91, - 76, - 213, - 60, - 69, - 6, - 204, - 4, - 186, - 76, - 68, - 242, - 118, - 45, - 93, - 50, - 195, - 229, - 93, - 242, - 91, - 139, - 170, - 85, - 113, - 177, - 101, - 122, - 217, - 87, - 110, - 254, - 168, - 37, - 159, - 6, - 132, - 222, - 6, - 90, - 71, - 5, - 133, - 180, - 190, - 135, - 103, - 72, - 199, - 121, - 112, - 84, - 243, - 222, - 254, - 242, - 27, - 119, - 248, - 61, - 83, - 186, - 197, - 124, - 137, - 213, - 42, - 164, - 214, - 221, - 88, - 114, - 189, - 40, - 25, - 137, - 177, - 56, - 53, - 150, - 152, - 0, - 159, - 138, - 193, - 243, - 1, - 83, - 139, - 173, - 204, - 233, - 217, - 244, - 3, - 2 - ], - "Invalid Y2": [ - 0 - ] + "Invalid Y1": "045B4CD53C4506CC04BA4C44F2762D5D32C3E55DF25B8BAA5571B1657AD9576EFEA8259F0684DE065A470585B4BE876748C7797054F3DEFEF21B77F83D53BAC57C89D52AA4D6DD5872BD281989B138359698009F8AC1F301538BADCCE9D9F40302", + "Invalid Y2": "00" }, "G_NistP521": { - "PRS": [ - 80, - 97, - 115, - 115, - 119, - 111, - 114, - 100 - ], - "CI": [ - 111, - 99, - 11, - 66, - 95, - 114, - 101, - 115, - 112, - 111, - 110, - 100, - 101, - 114, - 11, - 65, - 95, - 105, - 110, - 105, - 116, - 105, - 97, - 116, - 111, - 114 - ], - "sid": [ - 126, - 75, - 71, - 145, - 214, - 168, - 239, - 1, - 155, - 147, - 108, - 121, - 251, - 127, - 44, - 87 - ], - "g": [ - 4, - 0, - 229, - 138, - 143, - 191, - 8, - 179, - 142, - 52, - 163, - 103, - 111, - 109, - 105, - 11, - 237, - 88, - 170, - 65, - 21, - 255, - 50, - 165, - 126, - 200, - 113, - 114, - 252, - 42, - 31, - 184, - 157, - 3, - 37, - 140, - 100, - 41, - 196, - 100, - 152, - 27, - 50, - 132, - 181, - 254, - 219, - 209, - 36, - 75, - 242, - 116, - 50, - 0, - 136, - 104, - 112, - 101, - 185, - 7, - 93, - 213, - 88, - 225, - 78, - 214, - 153, - 1, - 210, - 22, - 45, - 177, - 186, - 58, - 73, - 201, - 125, - 202, - 124, - 144, - 44, - 177, - 185, - 107, - 171, - 226, - 26, - 49, - 148, - 33, - 20, - 200, - 96, - 102, - 91, - 53, - 196, - 107, - 130, - 19, - 246, - 222, - 23, - 25, - 77, - 229, - 76, - 68, - 16, - 131, - 221, - 17, - 99, - 213, - 144, - 122, - 218, - 216, - 130, - 75, - 177, - 48, - 125, - 207, - 106, - 85, - 193, - 26, - 143, - 1, - 217, - 120, - 155 - ], - "ya": [ - 0, - 99, - 103, - 233, - 194, - 174, - 255, - 159, - 29, - 177, - 154, - 246, - 0, - 204, - 167, - 51, - 67, - 212, - 124, - 190, - 68, - 108, - 235, - 189, - 28, - 205, - 120, - 63, - 130, - 117, - 90, - 135, - 45, - 168, - 111, - 208, - 112, - 126, - 179, - 118, - 124, - 97, - 20, - 241, - 128, - 61, - 235, - 98, - 214, - 59, - 221, - 30, - 97, - 63, - 103, - 230, - 62, - 140, - 20, - 30, - 229, - 49, - 14, - 62, - 232, - 25 - ], - "ADa": [ - 65, - 68, - 97 - ], - "Ya": [ - 4, - 0, - 194, - 191, - 215, - 148, - 70, - 127, - 68, - 56, - 39, - 126, - 133, - 164, - 46, - 16, - 31, - 164, - 6, - 30, - 30, - 246, - 224, - 95, - 129, - 229, - 56, - 31, - 48, - 231, - 59, - 52, - 29, - 215, - 38, - 8, - 156, - 182, - 166, - 187, - 229, - 165, - 9, - 250, - 208, - 9, - 133, - 116, - 136, - 219, - 113, - 48, - 255, - 118, - 128, - 144, - 115, - 18, - 235, - 114, - 76, - 221, - 180, - 220, - 206, - 103, - 91, - 0, - 152, - 173, - 64, - 15, - 239, - 128, - 225, - 222, - 180, - 188, - 23, - 86, - 196, - 57, - 97, - 239, - 96, - 184, - 95, - 45, - 98, - 237, - 69, - 132, - 84, - 225, - 22, - 22, - 165, - 209, - 223, - 30, - 88, - 9, - 99, - 104, - 33, - 167, - 54, - 98, - 249, - 241, - 34, - 84, - 230, - 249, - 149, - 13, - 208, - 31, - 168, - 226, - 106, - 139, - 32, - 115, - 111, - 182, - 60, - 99, - 200, - 16, - 148, - 246, - 129 - ], - "yb": [ - 0, - 146, - 39, - 191, - 141, - 199, - 65, - 218, - 204, - 148, - 34, - 248, - 191, - 60, - 14, - 150, - 252, - 233, - 88, - 123, - 197, - 98, - 234, - 175, - 224, - 220, - 95, - 111, - 130, - 242, - 133, - 148, - 228, - 166, - 249, - 133, - 83, - 86, - 12, - 98, - 183, - 95, - 164, - 171, - 177, - 152, - 206, - 203, - 187, - 134, - 235, - 212, - 27, - 14, - 160, - 37, - 76, - 222, - 120, - 172, - 104, - 211, - 154, - 36, - 10, - 231 - ], - "ADb": [ - 65, - 68, - 98 - ], - "Yb": [ - 4, - 0, - 112, - 110, - 166, - 155, - 43, - 113, - 103, - 119, - 50, - 72, - 234, - 110, - 105, - 165, - 116, - 233, - 221, - 47, - 248, - 163, - 208, - 74, - 110, - 7, - 247, - 12, - 112, - 152, - 105, - 202, - 72, - 104, - 39, - 213, - 159, - 146, - 144, - 89, - 157, - 28, - 249, - 78, - 26, - 3, - 252, - 36, - 46, - 43, - 19, - 22, - 175, - 226, - 250, - 33, - 139, - 250, - 235, - 62, - 31, - 253, - 159, - 25, - 191, - 6, - 45, - 1, - 246, - 177, - 92, - 156, - 54, - 81, - 190, - 76, - 8, - 186, - 240, - 30, - 236, - 37, - 200, - 24, - 238, - 18, - 198, - 237, - 196, - 98, - 6, - 68, - 177, - 217, - 124, - 242, - 79, - 134, - 135, - 50, - 213, - 111, - 228, - 92, - 231, - 142, - 48, - 44, - 34, - 28, - 146, - 244, - 3, - 224, - 250, - 50, - 7, - 222, - 139, - 180, - 27, - 56, - 141, - 129, - 4, - 106, - 41, - 142, - 216, - 221, - 172, - 155, - 42 - ], - "K": [ - 1, - 142, - 14, - 126, - 154, - 222, - 116, - 145, - 124, - 17, - 192, - 246, - 181, - 47, - 149, - 237, - 135, - 30, - 171, - 35, - 84, - 55, - 203, - 238, - 139, - 92, - 37, - 9, - 81, - 110, - 120, - 122, - 128, - 232, - 37, - 237, - 93, - 83, - 159, - 166, - 160, - 236, - 50, - 196, - 143, - 168, - 250, - 190, - 133, - 128, - 157, - 0, - 13, - 12, - 253, - 48, - 131, - 44, - 35, - 212, - 119, - 201, - 145, - 190, - 168, - 229 - ], - "ISK_IR": [ - 22, - 105, - 160, - 162, - 151, - 38, - 173, - 199, - 238, - 162, - 81, - 13, - 111, - 126, - 0, - 74, - 19, - 95, - 166, - 58, - 195, - 201, - 249, - 230, - 206, - 83, - 203, - 165, - 213, - 227, - 120, - 26, - 206, - 213, - 21, - 149, - 96, - 65, - 228, - 51, - 88, - 64, - 154, - 19, - 239, - 144, - 221, - 195, - 195, - 111, - 216, - 215, - 216, - 20, - 36, - 200, - 233, - 69, - 146, - 226, - 24, - 84, - 38, - 10 - ], - "ISK_SY": [ - 242, - 243, - 189, - 140, - 212, - 66, - 164, - 225, - 102, - 89, - 180, - 122, - 123, - 122, - 132, - 242, - 155, - 231, - 88, - 147, - 237, - 46, - 95, - 119, - 45, - 122, - 60, - 139, - 119, - 158, - 176, - 223, - 147, - 122, - 78, - 197, - 10, - 79, - 31, - 240, - 30, - 187, - 170, - 151, - 216, - 14, - 9, - 14, - 166, - 155, - 0, - 169, - 82, - 0, - 237, - 37, - 142, - 72, - 198, - 247, - 233, - 216, - 251, - 194 - ], - "sid_output_ir": [ - 86, - 204, - 60, - 216, - 190, - 119, - 205, - 200, - 76, - 13, - 25, - 6, - 222, - 31, - 252, - 142, - 247, - 203, - 179, - 38, - 163, - 240, - 82, - 103, - 182, - 232, - 198, - 52, - 78, - 39, - 129, - 235, - 32, - 239, - 114, - 94, - 132, - 203, - 27, - 180, - 89, - 39, - 67, - 80, - 81, - 180, - 224, - 250, - 231, - 142, - 151, - 91, - 241, - 80, - 153, - 249, - 227, - 141, - 117, - 84, - 19, - 238, - 226, - 253 - ], - "sid_output_oc": [ - 164, - 108, - 113, - 137, - 186, - 106, - 54, - 196, - 68, - 119, - 65, - 224, - 87, - 218, - 57, - 200, - 133, - 183, - 213, - 158, - 8, - 189, - 45, - 241, - 133, - 42, - 82, - 113, - 242, - 168, - 162, - 233, - 177, - 135, - 204, - 208, - 115, - 37, - 163, - 238, - 222, - 100, - 106, - 222, - 224, - 192, - 111, - 229, - 141, - 167, - 127, - 116, - 23, - 120, - 150, - 178, - 16, - 83, - 197, - 209, - 7, - 222, - 0, - 109 - ] + "PRS": "50617373776F7264", + "CI": "6F630B425F726573706F6E6465720B415F696E69746961746F72", + "sid": "7E4B4791D6A8EF019B936C79FB7F2C57", + "g": "0400E58A8FBF08B38E34A3676F6D690BED58AA4115FF32A57EC87172FC2A1FB89D03258C6429C464981B3284B5FEDBD1244BF274320088687065B9075DD558E14ED69901D2162DB1BA3A49C97DCA7C902CB1B96BABE21A31942114C860665B35C46B8213F6DE17194DE54C441083DD1163D5907ADAD8824BB1307DCF6A55C11A8F01D9789B", + "ya": "006367E9C2AEFF9F1DB19AF600CCA73343D47CBE446CEBBD1CCD783F82755A872DA86FD0707EB3767C6114F1803DEB62D63BDD1E613F67E63E8C141EE5310E3EE819", + "ADa": "414461", + "Ya": "0400C2BFD794467F4438277E85A42E101FA4061E1EF6E05F81E5381F30E73B341DD726089CB6A6BBE5A509FAD009857488DB7130FF7680907312EB724CDDB4DCCE675B0098AD400FEF80E1DEB4BC1756C43961EF60B85F2D62ED458454E11616A5D1DF1E5809636821A73662F9F12254E6F9950DD01FA8E26A8B20736FB63C63C81094F681", + "yb": "009227BF8DC741DACC9422F8BF3C0E96FCE9587BC562EAAFE0DC5F6F82F28594E4A6F98553560C62B75FA4ABB198CECBBB86EBD41B0EA0254CDE78AC68D39A240AE7", + "ADb": "414462", + "Yb": "0400706EA69B2B7167773248EA6E69A574E9DD2FF8A3D04A6E07F70C709869CA486827D59F9290599D1CF94E1A03FC242E2B1316AFE2FA218BFAEB3E1FFD9F19BF062D01F6B15C9C3651BE4C08BAF01EEC25C818EE12C6EDC4620644B1D97CF24F868732D56FE45CE78E302C221C92F403E0FA3207DE8BB41B388D81046A298ED8DDAC9B2A", + "K": "018E0E7E9ADE74917C11C0F6B52F95ED871EAB235437CBEE8B5C2509516E787A80E825ED5D539FA6A0EC32C48FA8FABE85809D000D0CFD30832C23D477C991BEA8E5", + "ISK_IR": "1669A0A29726ADC7EEA2510D6F7E004A135FA63AC3C9F9E6CE53CBA5D5E3781ACED515956041E43358409A13EF90DDC3C36FD8D7D81424C8E94592E21854260A", + "ISK_SY": "F2F3BD8CD442A4E16659B47A7B7A84F29BE75893ED2E5F772D7A3C8B779EB0DF937A4EC50A4F1FF01EBBAA97D80E090EA69B00A95200ED258E48C6F7E9D8FBC2", + "sid_output_ir": "56CC3CD8BE77CDC84C0D1906DE1FFC8EF7CBB326A3F05267B6E8C6344E2781EB20EF725E84CB1BB45927435051B4E0FAE78E975BF15099F9E38D755413EEE2FD", + "sid_output_oc": "A46C7189BA6A36C4447741E057DA39C885B7D59E08BD2DF1852A5271F2A8A2E9B187CCD07325A3EEDE646ADEE0C06FE58DA77F74177896B21053C5D107DE006D" }, "G_NistP521_points": { "Valid": { - "s": [ - 1, - 130, - 221, - 121, - 37, - 241, - 117, - 52, - 25, - 228, - 191, - 131, - 66, - 151, - 99, - 172, - 211, - 125, - 100, - 0, - 12, - 213, - 161, - 117, - 237, - 245, - 58, - 21, - 135, - 221, - 152, - 107, - 201, - 90, - 204, - 21, - 6, - 153, - 23, - 2, - 182, - 186, - 26, - 158, - 226, - 69, - 143, - 238, - 142, - 252, - 0, - 25, - 140, - 240, - 8, - 140, - 72, - 9, - 101, - 239, - 101, - 255, - 32, - 72, - 184, - 86 - ], - "X": [ - 4, - 0, - 220, - 80, - 120, - 178, - 76, - 74, - 241, - 98, - 12, - 193, - 15, - 190, - 204, - 108, - 216, - 207, - 28, - 171, - 11, - 1, - 30, - 251, - 115, - 199, - 130, - 242, - 38, - 220, - 33, - 199, - 202, - 126, - 180, - 6, - 190, - 116, - 166, - 158, - 203, - 165, - 180, - 168, - 124, - 7, - 207, - 198, - 230, - 135, - 180, - 190, - 202, - 154, - 110, - 218, - 201, - 89, - 64, - 163, - 180, - 18, - 5, - 115, - 178, - 106, - 128, - 0, - 94, - 105, - 120, - 51, - 176, - 186, - 40, - 95, - 206, - 123, - 63, - 31, - 37, - 36, - 48, - 8, - 134, - 11, - 143, - 29, - 231, - 16, - 160, - 220, - 192, - 91, - 13, - 32, - 52, - 30, - 254, - 144, - 235, - 43, - 204, - 162, - 103, - 151, - 194, - 216, - 90, - 230, - 202, - 116, - 192, - 6, - 150, - 203, - 27, - 19, - 228, - 11, - 218, - 21, - 178, - 121, - 100, - 215, - 103, - 5, - 118, - 100, - 123, - 250, - 185 - ], - "G.scalar_mult(s,X) (full coordinates)": [ - 4, - 1, - 34, - 248, - 140, - 231, - 62, - 197, - 170, - 45, - 28, - 140, - 93, - 4, - 20, - 135, - 96, - 195, - 217, - 123, - 168, - 125, - 170, - 16, - 216, - 203, - 139, - 183, - 199, - 60, - 246, - 233, - 81, - 252, - 146, - 39, - 33, - 191, - 20, - 55, - 153, - 92, - 251, - 19, - 225, - 50, - 167, - 139, - 235, - 134, - 56, - 158, - 96, - 211, - 81, - 124, - 223, - 109, - 153, - 168, - 162, - 214, - 219, - 25, - 239, - 39, - 189, - 0, - 85, - 175, - 158, - 141, - 220, - 243, - 55, - 206, - 10, - 124, - 34, - 169, - 200, - 9, - 155, - 196, - 164, - 79, - 174, - 222, - 209, - 235, - 114, - 239, - 253, - 38, - 228, - 243, - 34, - 33, - 123, - 103, - 214, - 11, - 148, - 75, - 38, - 123, - 61, - 245, - 4, - 96, - 120, - 253, - 87, - 127, - 23, - 133, - 114, - 143, - 73, - 178, - 65, - 253, - 94, - 140, - 131, - 34, - 58, - 153, - 74, - 45, - 33, - 146, - 129 - ], - "G.scalar_mult_vfy(s,X) (only X-coordinate)": [ - 1, - 34, - 248, - 140, - 231, - 62, - 197, - 170, - 45, - 28, - 140, - 93, - 4, - 20, - 135, - 96, - 195, - 217, - 123, - 168, - 125, - 170, - 16, - 216, - 203, - 139, - 183, - 199, - 60, - 246, - 233, - 81, - 252, - 146, - 39, - 33, - 191, - 20, - 55, - 153, - 92, - 251, - 19, - 225, - 50, - 167, - 139, - 235, - 134, - 56, - 158, - 96, - 211, - 81, - 124, - 223, - 109, - 153, - 168, - 162, - 214, - 219, - 25, - 239, - 39, - 189 - ] + "s": "0182DD7925F1753419E4BF83429763ACD37D64000CD5A175EDF53A1587DD986BC95ACC1506991702B6BA1A9EE2458FEE8EFC00198CF0088C480965EF65FF2048B856", + "X": "0400DC5078B24C4AF1620CC10FBECC6CD8CF1CAB0B011EFB73C782F226DC21C7CA7EB406BE74A69ECBA5B4A87C07CFC6E687B4BECA9A6EDAC95940A3B4120573B26A80005E697833B0BA285FCE7B3F1F25243008860B8F1DE710A0DCC05B0D20341EFE90EB2BCCA26797C2D85AE6CA74C00696CB1B13E40BDA15B27964D7670576647BFAB9", + "G.scalar_mult(s,X) (full coordinates)": "040122F88CE73EC5AA2D1C8C5D04148760C3D97BA87DAA10D8CB8BB7C73CF6E951FC922721BF1437995CFB13E132A78BEB86389E60D3517CDF6D99A8A2D6DB19EF27BD0055AF9E8DDCF337CE0A7C22A9C8099BC4A44FAEDED1EB72EFFD26E4F322217B67D60B944B267B3DF5046078FD577F1785728F49B241FD5E8C83223A994A2D219281", + "G.scalar_mult_vfy(s,X) (only X-coordinate)": "0122F88CE73EC5AA2D1C8C5D04148760C3D97BA87DAA10D8CB8BB7C73CF6E951FC922721BF1437995CFB13E132A78BEB86389E60D3517CDF6D99A8A2D6DB19EF27BD" }, - "Invalid Y1": [ - 4, - 0, - 220, - 80, - 120, - 178, - 76, - 74, - 241, - 98, - 12, - 193, - 15, - 190, - 204, - 108, - 216, - 207, - 28, - 171, - 11, - 1, - 30, - 251, - 115, - 199, - 130, - 242, - 38, - 220, - 33, - 199, - 202, - 126, - 180, - 6, - 190, - 116, - 166, - 158, - 203, - 165, - 180, - 168, - 124, - 7, - 207, - 198, - 230, - 135, - 180, - 190, - 202, - 154, - 110, - 218, - 201, - 89, - 64, - 163, - 180, - 18, - 5, - 115, - 178, - 106, - 128, - 0, - 94, - 105, - 120, - 51, - 176, - 186, - 40, - 95, - 206, - 123, - 63, - 31, - 37, - 36, - 48, - 8, - 134, - 11, - 143, - 29, - 231, - 16, - 160, - 220, - 192, - 91, - 13, - 32, - 52, - 30, - 254, - 144, - 235, - 43, - 204, - 162, - 103, - 151, - 194, - 216, - 90, - 230, - 202, - 116, - 192, - 6, - 150, - 203, - 27, - 19, - 228, - 11, - 218, - 21, - 178, - 121, - 100, - 215, - 103, - 5, - 118, - 100, - 123, - 250, - 249 - ], - "Invalid Y2": [ - 0 - ] + "Invalid Y1": "0400DC5078B24C4AF1620CC10FBECC6CD8CF1CAB0B011EFB73C782F226DC21C7CA7EB406BE74A69ECBA5B4A87C07CFC6E687B4BECA9A6EDAC95940A3B4120573B26A80005E697833B0BA285FCE7B3F1F25243008860B8F1DE710A0DCC05B0D20341EFE90EB2BCCA26797C2D85AE6CA74C00696CB1B13E40BDA15B27964D7670576647BFAF9", + "Invalid Y2": "00" } }