debug

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 5, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package debug provides tools to help debugging.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadElementEncoding

func BadElementEncoding(g ecc.Group) []byte

BadElementEncoding returns a bad encoding of an element. Its decoding must return an error.

func BadElementOffCurve

func BadElementOffCurve(g ecc.Group) []byte

BadElementOffCurve returns an encoding of an Element that is not on the group's underlying curve. Its decoding must return an error.

func BadScalarHigh

func BadScalarHigh(g ecc.Group) []byte

BadScalarHigh returns an encoding of a Scalar above the group's order. Its decoding must return an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL