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.
Click to show internal directories.
Click to hide internal directories.