• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dedis / kyber
81%
master: 79%

Build:
Build:
LAST BUILD BRANCH: int32-reviewed
DEFAULT BRANCH: master
Repo Added 01 Mar 2017 03:14PM UTC
Files 123
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH g2zero
branch: g2zero
CHANGE BRANCH
x
Reset
  • g2zero
  • 4to3
  • add_blake2s
  • another_stable
  • another_stable2
  • bdn_agg_reference
  • better_cosi_test
  • bls
  • bn256-addmul-test
  • bn256_available
  • bn256_fix-String
  • bn256_fixbuf
  • bn256_marshal
  • bn256_register
  • bn256_register_2
  • bn256_register_3
  • bn256_suite_read
  • bn256_up
  • byzgen_poc
  • ci_update
  • clean_exp
  • cosi-extension
  • cosi_api
  • cosi_error
  • cosi_master
  • cosi_policy
  • cosi_v1
  • debug_thresh
  • dkg_compatible
  • dkg_index
  • dkg_private_poly
  • doc
  • doc152
  • docs
  • drand
  • dss
  • ecies
  • ed25519_checks
  • ed25519_new_key_351
  • eddsa_in_cosi
  • feature/neff-shuffle-sequences
  • fix-package-in-asm-generator
  • fix-todo-edwards25519
  • fixString
  • fix_193_bls
  • fix_193_pbc
  • fix_193_pedersen
  • fix_193_share
  • fix_210
  • fix_docs
  • fix_empty_checks
  • fix_race_bn256_340
  • fix_vss_status
  • fixbuf_import
  • fixing_master_stable
  • g2zero2
  • ginfo
  • go15
  • group_info
  • group_register
  • hash_to_point
  • ineiti-patch-1
  • int32-repro
  • int32-repro-cpy
  • int32-reviewed
  • issue117
  • issue203
  • issue231
  • issue239
  • issue245
  • issue247
  • issue250
  • issue274
  • issue282
  • issue335
  • issue400
  • issue400_fix
  • issue406
  • issue436
  • issue85
  • jeffallen-patch-1
  • keypair
  • kyber_doc
  • kyber_doc_backport
  • marshal_g2
  • marshalid_g2
  • master
  • master_dev
  • mod
  • mod2
  • modint
  • move_policy_1675
  • newkey
  • noexp
  • norand
  • norandproof
  • norandsuite
  • nov2
  • pairing
  • pairing-scalar
  • pedersen-example
  • pedersen_timeout
  • poly
  • polyfix
  • polyfix_again
  • portFixesFromv1
  • prep_v2
  • property_based_test_312
  • pubpoly
  • rabin_timeout
  • redist
  • redist2
  • refresh_dkg
  • remove_var_tag
  • rename_asms_bdn_1675
  • req_constant
  • rm_dbg
  • safe-verify
  • schnorr_checks
  • sec
  • share_mv
  • share_mv2
  • sign_bls2_scheme
  • simplify_makefile
  • stable
  • stable3
  • stableRand
  • stable_shuffle
  • tbls
  • tbls_sig
  • test-ci
  • test_ci
  • trv
  • use-upstream-makefile
  • v1
  • v2
  • v2.0.3
  • v2_merge
  • v3.0.0
  • v3.0.0-pre1
  • v3.0.0-pre2
  • v3.0.0-pre4
  • v3.0.1
  • v3.0.10
  • v3.0.11
  • v3.0.12
  • v3.0.13
  • v3.0.2
  • v3.0.3
  • v3.0.3-pre1
  • v3.0.3-pre2
  • v3.0.3-pre3
  • v3.0.4
  • v3.0.5
  • v3.0.6
  • v3.0.7
  • v3.0.8
  • v3.0.9
  • v3.0.x
  • v3.1.0-alpha
  • v4.0.0-alpha
  • v4.0.0-alpha.1
  • v4.0.0-pre1
  • v4.0.0-pre2
  • v4_initial_commit
  • vartime
  • vss_bytes
  • vss_marshal
  • xof
  • xof2

17 Jan 2019 03:47PM UTC coverage: 81.038% (+0.06%) from 80.979%
1444

Pull #353

travis-ci

web-flow
Properly marshal/unmarshal zero G2 points

After commit 09d88ea559cff, a round-trip encode/decode
of a zero point was failing. TestG2Marshal would have
discovered this 1 time in 2^256 runs, but in order to speed
up testing, add a new TestG2MarshalZero which always fails.

The solution is to follow the previous code patch from where a zero point
was detected, i.e. run p.g.SetInfinity(). This is still compatible
with golang.org/x/crypto/bn256, which also marshals infinity
as all zeros. (Checked this via printf-debugging on it.)
Pull Request #353: Properly marshal/unmarshal zero G2 points

8 of 8 new or added lines in 1 file covered. (100.0%)

8744 of 10790 relevant lines covered (81.04%)

212114.63 hits per line

Relevant lines Covered
Build:
Build:
10790 RELEVANT LINES 8744 COVERED LINES
212114.63 HITS PER LINE
Source Files on g2zero
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1444 g2zero Properly marshal/unmarshal zero G2 points After commit 09d88ea559cff, a round-trip encode/decode of a zero point was failing. TestG2Marshal would have discovered this 1 time in 2^256 runs, but in order to speed up testing, add a new TestG2Marshal... Pull #353 17 Jan 2019 03:56PM UTC web-flow travis-ci
81.04
1443 g2zero Properly marshal/unmarshal zero G2 points After commit 09d88ea559cff, a round-trip encode/decode of a zero point was failing. TestG2Marshal would have discovered this 1 time in 2^256 runs, but in order to speed up testing, add a new TestG2Marshal... push 17 Jan 2019 03:54PM UTC jeffallen travis-ci
81.06
See All Builds (1076)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc