Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EcdsaToTPMTPublic ¶
func FromTPMPublicToPubkey ¶
func FromTPMPublicToPubkey(pub *tpm2.TPMTPublic) (crypto.PublicKey, error)
FromTPMPublicToPubkey transform a tpm2.TPMTPublic to crypto.PublicKey
func RSAToTPMTPublic ¶
func RSAToTPMTPublic(pubkey *rsa.PublicKey, bits int) *tpm2.TPMTPublic
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.