subtle

package
v0.0.0-...-1f23a7b Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConstantTimeCompareByte

func ConstantTimeCompareByte(a, b byte) int

func ConstantTimeCompareBytes

func ConstantTimeCompareBytes(a, b []byte) int

func ConstantTimeSelectByte

func ConstantTimeSelectByte(choice int, a, b byte) byte

func ConstantTimeSelectUint32

func ConstantTimeSelectUint32(choice int, a, b uint32) uint32

func ConstantTimeSelectUint64

func ConstantTimeSelectUint64(choice int, a, b uint64) uint64

func ConstantTimeSwapUint32

func ConstantTimeSwapUint32(choice int, a, b *uint32)

func ConstantTimeSwapUint64

func ConstantTimeSwapUint64(choice int, a, b *uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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