checktest

package standard library
go1.24.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Overview

Package checktest defines some code and data for use in the crypto/internal/fips140/check test.

Index

Constants

This section is empty.

Variables

View Source
var BSS *int
View Source
var DATA = struct {
	P *int
	X int
}{&NOPTRDATA, 3}

DATA needs to have both a pointer and an int so that _some_ of it gets initialized at link time, so it is treated as DATA and not BSS. The pointer is deferred to init time.

View Source
var NOPTRBSS int
View Source
var NOPTRDATA int = 1
View Source
var RODATA int32 // set to 2 in asm.s

The linkname here disables asan registration of this global, because asan gets mad about rodata globals.

Functions

func PtrStaticData

func PtrStaticData() *uint32

func PtrStaticText

func PtrStaticText() unsafe.Pointer

func TEXT

func TEXT()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳