testvectors

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package testvectors contains test vectors for TPM crypto.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ECCLabeledEncapsTestCase

type ECCLabeledEncapsTestCase struct {
	Name             string
	Description      string
	Label            string
	EphemeralPrivate hexBytes
	PublicKey        hexBytes
	Secret           hexBytes
	Ciphertext       hexBytes
}

ECCLabeledEncapsTestCase is a test case for ECC Labeled Encapsulation (Secret Sharing).

func ECCLabeledEncapsulation

func ECCLabeledEncapsulation(t *testing.T) []ECCLabeledEncapsTestCase

ECCLabeledEncapsulation iterates the ECC Labeled Encapsulation test cases.

type RSALabeledEncapsTestCase

type RSALabeledEncapsTestCase struct {
	Name        string
	Description string
	Label       string
	OAEPSalt    hexBytes
	PublicKey   hexBytes
	Secret      hexBytes
	Ciphertext  hexBytes
}

RSALabeledEncapsTestCase is a test case for RSA Labeled Encapsulation (Secret Sharing).

func RSALabeledEncapsulation

func RSALabeledEncapsulation(t *testing.T) []RSALabeledEncapsTestCase

RSALabeledEncapsulation iterates the RSA Labeled Encapsulation test cases.

Jump to

Keyboard shortcuts

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