This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 151
draft-irtf-cfrg-vrf-06 #1346
Closed
Closed
draft-irtf-cfrg-vrf-06 #1346
Changes from 26 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
bf421c2
WIP: draft-irtf-cfrg-vrf-05
gdbelvin 1df4f01
wip
gdbelvin c30f1ee
HashToCurveTryAndIncrement working :-)
gdbelvin 3d41a02
Check hash lengths
gdbelvin eff889a
file rename
gdbelvin ff2dc5c
GenerateNonceRFC6979
gdbelvin 94bd812
SuiteString
gdbelvin 591bc75
U and V test vectors
gdbelvin f39dded
Working VRF Prove
gdbelvin c2bd679
Give hash points it's own file
gdbelvin 45093bf
Proof2Hash
gdbelvin cb5aa9b
Verify
gdbelvin 82e6f7b
Refactor inito cleaner API
gdbelvin d0bfb55
linter nits
gdbelvin 77ebd78
Use int2octets
gdbelvin 105d5e4
StringToPoint returns error
gdbelvin f806a65
Bump version
gdbelvin 8a01ceb
SEG1Decode docs
gdbelvin 7167a61
doc string
gdbelvin 200e0bb
Use byte for int_to_string(ctr, 1)
gdbelvin 37e0276
IntToString with *big.Int
gdbelvin 06bbd36
ecvrf_p256_sha256_swu
gdbelvin 572c2de
BenchmarkTests
gdbelvin b2f4aa4
Fuzzer
gdbelvin b036215
go-fuzz-build corpus
gdbelvin 2c6168a
license
gdbelvin bf15966
Fix Prooving bug
gdbelvin ba1d238
more corpus
d24974d
more corpus
gdbelvin ff37f82
Merge branch 'vrf' of github.com:gdbelvin/keytransparency into vrf
0a2f299
more corpus
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
// Copyright 2020 Google Inc. All Rights Reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package vrf | ||
|
||
import ( | ||
"bytes" | ||
"crypto/elliptic" | ||
"math/big" | ||
) | ||
|
||
// I2OSP converts a nonnegative integer to an octet string of a specified length. | ||
// RFC8017 section-4.1 (big endian representation) | ||
func I2OSP(x *big.Int, rLen uint) []byte { | ||
// 1. If x >= 256^rLen, output "integer too large" and stop. | ||
one := big.NewInt(1) | ||
if x.Cmp(new(big.Int).Lsh(one, rLen*8)) >= 0 { | ||
panic("integer too large") | ||
} | ||
// 2. Write the integer x in its unique rLen-digit representation in base 256: | ||
// x = x_(rLen-1) 256^(rLen-1) + x_(rLen-2) 256^(rLen-2) + ... + x_1 256 + x_0, | ||
// where 0 <= x_i < 256 | ||
// (note that one or more leading digits will be zero if x is less than 256^(rLen-1)). | ||
// 3. Let the octet X_i have the integer value x_(rLen-i) for 1 <= i <= rLen. | ||
// Output the octet string X = X_1 X_2 ... X_rLen. | ||
|
||
var b bytes.Buffer | ||
xLen := (uint(x.BitLen()) + 7) >> 3 | ||
if rLen > xLen { | ||
b.Write(make([]byte, rLen-xLen)) // prepend 0s | ||
} | ||
b.Write(x.Bytes()) | ||
return b.Bytes()[uint(b.Len())-rLen:] // The rightmost rLen bytes. | ||
} | ||
|
||
// SECG1EncodeCompressed converts an EC point to an octet string according to | ||
// the encoding specified in Section 2.3.3 of [SECG1] with point compression | ||
// on. This implies ptLen = 2n + 1 = 33. | ||
// | ||
// SECG1 Section 2.3.3 https://www.secg.org/sec1-v1.99.dif.pdf | ||
// | ||
// (Note that certain software implementations do not introduce a separate | ||
// elliptic curve point type and instead directly treat the EC point as an | ||
// octet string per above encoding. When using such an implementation, the | ||
// point_to_string function can be treated as the identity function.) | ||
func SECG1EncodeCompressed(curve elliptic.Curve, x, y *big.Int) []byte { | ||
byteLen := (curve.Params().BitSize + 7) >> 3 | ||
ret := make([]byte, 1+byteLen) | ||
ret[0] = 2 // compressed point | ||
|
||
xBytes := x.Bytes() | ||
copy(ret[1+byteLen-len(xBytes):], xBytes) | ||
ret[0] += byte(y.Bit(0)) | ||
return ret | ||
} | ||
|
||
// This file implements compressed point unmarshaling. Preferably this | ||
// functionality would be in a standard library. Code borrowed from: | ||
// https://go-review.googlesource.com/#/c/1883/2/src/crypto/elliptic/elliptic.go | ||
|
||
// SECG1Decode decodes a EC point, given as a compressed string. | ||
// If the decoding fails x and y will be nil. | ||
// | ||
// http://www.secg.org/sec1-v2.pdf | ||
// https://tools.ietf.org/html/rfc8032#section-5.1.3 | ||
func SECG1Decode(curve elliptic.Curve, data []byte) (x, y *big.Int) { | ||
byteLen := (curve.Params().BitSize + 7) >> 3 | ||
if (data[0] &^ 1) != 2 { | ||
return // unrecognized point encoding | ||
} | ||
if len(data) != 1+byteLen { | ||
return | ||
} | ||
|
||
// Based on Routine 2.2.4 in NIST Mathematical routines paper | ||
params := curve.Params() | ||
tx := new(big.Int).SetBytes(data[1 : 1+byteLen]) | ||
y2 := y2(params, tx) | ||
sqrt := defaultSqrt | ||
ty := sqrt(y2, params.P) | ||
if ty == nil { | ||
return // "y^2" is not a square: invalid point | ||
} | ||
var y2c big.Int | ||
y2c.Mul(ty, ty).Mod(&y2c, params.P) | ||
if y2c.Cmp(y2) != 0 { | ||
return // sqrt(y2)^2 != y2: invalid point | ||
} | ||
if ty.Bit(0) != uint(data[0]&1) { | ||
ty.Sub(params.P, ty) | ||
} | ||
|
||
x, y = tx, ty // valid point: return it | ||
return | ||
} | ||
|
||
// Use the curve equation to calculate y² given x. | ||
// only applies to curves of the form y² = x³ - 3x + b. | ||
func y2(curve *elliptic.CurveParams, x *big.Int) *big.Int { | ||
// y² = x³ - 3x + b | ||
x3 := new(big.Int).Mul(x, x) | ||
x3.Mul(x3, x) | ||
|
||
threeX := new(big.Int).Lsh(x, 1) | ||
threeX.Add(threeX, x) | ||
|
||
x3.Sub(x3, threeX) | ||
x3.Add(x3, curve.B) | ||
x3.Mod(x3, curve.P) | ||
return x3 | ||
} | ||
|
||
func defaultSqrt(x, p *big.Int) *big.Int { | ||
var r big.Int | ||
if nil == r.ModSqrt(x, p) { | ||
return nil // x is not a square | ||
} | ||
return &r | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
// Copyright 2020 Google Inc. All Rights Reserved. | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
package vrf | ||
|
||
import ( | ||
"bytes" | ||
"fmt" | ||
"math/big" | ||
"testing" | ||
) | ||
|
||
func TestI2OSP(t *testing.T) { | ||
for i, tc := range []struct { | ||
x int64 | ||
xLen uint | ||
want []byte | ||
wantPanic bool | ||
}{ | ||
{x: 1, xLen: 1, want: []byte{0x01}}, | ||
{x: 2, xLen: 1, want: []byte{0x02}}, | ||
{x: 2, xLen: 2, want: []byte{0, 2}}, | ||
{x: 256, xLen: 8, want: []byte{0, 0, 0, 0, 0, 0, 1, 0}}, | ||
{x: 256, xLen: 1, wantPanic: true}, | ||
{x: 255, xLen: 1, want: []byte{0xff}}, | ||
} { | ||
t.Run(fmt.Sprintf("%v", i), func(t *testing.T) { | ||
defer func() { | ||
r := recover() | ||
if panicked := r != nil; panicked != tc.wantPanic { | ||
t.Errorf("Panicked: %v, wantPanic %v", r, tc.wantPanic) | ||
} | ||
}() | ||
|
||
if got := I2OSP(big.NewInt(tc.x), tc.xLen); !bytes.Equal(got, tc.want) { | ||
t.Errorf("I2OSP(%v, %v): %v, want %v", tc.x, tc.xLen, got, tc.want) | ||
} | ||
}) | ||
} | ||
} |
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/06be27f56c8764d70293272d2a4d68ac84cb65b8-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sizeofC�( |
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/07b5a698a98fcb03d442aed98d1e969ae0c42614-5
Binary file not shown.
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/0c6c19752ad51371430998c738fa0f319113a725-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
,�AA�{$̌;��? *l諹}�I�P�����;:��<hU��)Q~��i��"�o�f�^���A&IY��K�q���W"ӣ>�ſ�+�^јdExample of ECDSA | ||
|
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/0c9d035a048b0eef821e5524b105f524dc4b5f9d-5
Binary file not shown.
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/106372d959f3375d54435e49766637dff6292a6a-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
,�AA�{$̌;��? *l諹}�I�P�����;:��<hU��)Q~��i��"�o�f�^���A&IY��K�q���W"ӣ��H$X���ç�a���nqu�yme�sa | ||
|
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/1318edc7d246491be747a6dba3036c624fcd1b06-3
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/1988bfe34fd8eb8224925a2b34b7a107947344d9-6
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/1d2eb55f24e2ff0291e1b3ccf8141016b0048c02-5
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/2b1e45c75ec54aedf6234f40c098a76579ca07c0-3
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
core/crypto/draft-irtf-cfrg-vrf-06/corpus/2d3b3ff03c97c05448fc829258b427ace6deeb75-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!����,���f�k�{V����g�@�rV��K�T���ҳ���O�,��[RM�ī | ||
|Tg J�K����T��⺠�te |
2 changes: 2 additions & 0 deletions
2
core/crypto/draft-irtf-cfrg-vrf-06/corpus/31144b803a2a8cc570a71667eabb23ee0d465d2f-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�:�,���f�k�{V����g�@�rV��K�T���ҳ���O�,��[RM�ī | ||
|Tg J�K����T��⺠�te |
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/3290db747cd8fcc07d7a9bc5e31fbedc7d53d1d6-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!ܤ�9�}���/�����~��V���W�$4�l͇�>�����������H$X�H��ç�a���nqu�yme�sa | ||
|
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/3605eb13a05ede6e1bde0e6109e3598a6b45983e-4
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/397314ca04554dd9924ce5bcc70dc46ab7b33d55-2
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/3cf63d82c0a8db50a71306742948d13b8b2dac82-4
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
core/crypto/draft-irtf-cfrg-vrf-06/corpus/402c53475cc49edffec322cd25aacd778667d25e-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�:�,���f�k�{V����g�@�rV��K�T���ҳ���O�,��[RM�īc | ||
|T J�K���T��⺠��te |
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/4455dff266f6cfbd042c457904a74df95d9e9c9d-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
,�AA�{$̌;��? *l諹}�I�P�����;:��<h{/Fp&IY��K�q���W"ӣ>�ſ�+�^јdExample of ECDSA with ansip256r1 an | ||
|
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/463049e67f20c471c3fa940cacb5f0eb472d9593-3
Binary file not shown.
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/4920277009f5bb9a1402ce49cd137e05721c3867-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
,�AA�{$̌;��? *l諹}�I�P�����;:��<hUGoStr<-chaning��"�o�f�^���A&IY��K�q���W"ӣ>�ſ�+�^јdExample of | ||
|
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/4f1ffecc7a17b9970554eec7a5d5c0e4517fe652-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
���E�uk\!Wg�֓NP��6�{�b+g!�ܤ�9�}���/�����~��V���W�$4�l͇�>�����������H$X�H��ç�a���nqu�yme�sa | ||
|
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/5003e18b02ac61e7735651e0cd7ef2072dcfda4f-6
Binary file not shown.
Binary file added
BIN
+100 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/577edc6f819e629bf02d5fcc72c6f085c8655fa3-1
Binary file not shown.
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/58e2a863659d3e8a837a6b6ccb549dbce2c0ce39-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
,�AA�{$̌;��? *l諹}�I�P�����;:��<hU��)Q~��i��"�o�f�^��AZh6��?lyn6{/Fp&IY��K�q���W"ӣ>�ſ�+�^јdEx | ||
|
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/5991897423aae9ef7d98fab0d463612d7ce680e7-3
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/5fb9bec459641f1f87223624f9fc8dc1cddf28e2-6
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/6104421aef42c064c247415472a1bdd657957130-6
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
core/crypto/draft-irtf-cfrg-vrf-06/corpus/61d5a9c7cb26e21591adaaf677fdecd028632170-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�:�,���f�k�{V����g�@�rV��K�T�������O�,��[RM�īc | ||
|Tg J�K����T��⺠�te |
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/6e394bf2c74c54f8a9ce8bdd82734374655c1184-3
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/70b000d3e8ed5915c1f4bef09dd8ac3637849bc4-2
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/71d03645e221f0eecd4b18ffba8214eb117572c4-2
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/722932c344fc6f7514fd46d8fe63c0db79b5d1d4-5
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
core/crypto/draft-irtf-cfrg-vrf-06/corpus/76c75cfed7ada9d03b40290c9d42603f1e2aa65d-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�:�,���f�k�{V��V��K�T���ҳ���g�@�rV��K�T���ҳ���O�,��[RM�īc | ||
|Tg J�K�� |
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/781d3992f2f1baaef27f282caaf8ef6ec17c92a9-5
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/7c9462ae9ae5b57940c16f247d8bc3b27b5f53cf-5
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/7e163ecef26aec6ad186412dcbb11c4d47257e3e-2
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/7f081125be5cc4fe34113061e3a0ccc4c2a3d610-4
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/8aad4b4f7aa77c77b32a67b1a2530b2be952e972-5
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/91b3d001e27b1b38f0966b1d21c07f10a1f0511d-7
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/91cabadc409ddfddb8717eeee85c042361de5e5a-6
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/942fbf5a7632986b924dcc7df5fe0b2d80fd392b-7
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
core/crypto/draft-irtf-cfrg-vrf-06/corpus/9b32ed7380e4dccea15f86aaa274beca7073e7f8-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�:�,���f�k�{V��V��K�T���ҳ���g�@�rV��K�T���ҳ���O�,��[RM�īU | ||
|Tg J�K�� |
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/9c60c083091aab4620048dec4785a32a814860ea-2
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/9ed4ea9f748d612a6a28a732a3556060db286f0b-5
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/a1a44fdfb73301d03d0866514231677e797655db-6
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/a293f296167a6c49533545a30dcab62581c7609d-6
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/b0d3632f8620811f3bfe9a93481525f63d682ed7-5
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/b4c5bc9ef52217a19140c3b6f124a55064f2c75b-6
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/b5c1970d87ad049171298991514c6c05550cd37a-1
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/bb1fb85e0321ef635e899a561d691417028ba827-4
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/bbe39b5262e375d49b555d287d979da590f045a3-6
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/bda127692ab7763a5e13ca5234dc22707f946345-6
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/be3e4a16b65a0126348745b1a0695496a7d02555-1
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/be9b80d5b2d8537889e0b63126b1775e09dda723-4
Binary file not shown.
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/c22c0b3952620c0cd0b6863ec1f282ea9866c93a-2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�ܤ�9�}���/�����~��V���W�$4�l͇�M�����������H$X���ç�a���nqu�yme�sa | ||
|
1 change: 1 addition & 0 deletions
1
core/crypto/draft-irtf-cfrg-vrf-06/corpus/c6ee9f77dacd44076f2664f3cfec26df020fa844-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�ܤ�9�}���/�����~��V���W�$4�l͇�>�����������H$X���ç�a���nqu�yme�sa | ||
|
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/ce28bb133370d7de2da362fc1d7be5d97900c9cd-1
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/d44cfdf96afb1dcfcac2446379757eb2f97c6c4f-7
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/e27f62ca6a86be946adcba705cba3630bf0886be-5
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/e2a8b0c9744b3d8b087c79d9b57fa92fc1f8cd5e-5
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/e675eb96706f099dd9479e9717004847a21f470b-5
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/ecf447327ca19a7d09e485bf33d623e398f6eb78-2
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/ef0e65e06264e5ee278e734b664dc1f91d072025-4
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/f0feb5a44a3080d0cb3c8047080e2391b3df8811-5
Binary file not shown.
Binary file added
BIN
+81 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/f69440f505c29cedb8ed9b4684d024a943e926b3-4
Binary file not shown.
Binary file added
BIN
+114 Bytes
core/crypto/draft-irtf-cfrg-vrf-06/corpus/ff9dbec56689079b6dea84c89846aae12ab2228d-3
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�ܤ�9�}���/�����~��V���W�$4�l͇�>�����������H$X�H��ç�a���nqu�yme�sample | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
ɯ��E�uk\!Wg�֓NP��6�{�b+g!�:�,���f�k�{V����g�@�rV��K�T���ҳ���O�,��[RM�īc | ||
|Tg J�K����T��⺠�test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
65-94 lines are duplicate of
core/crypto/vrf/p256/unmarshal.go:27-56
(fromdupl
)