Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only signing schemes are settable on TPMS_RSA_PARMS #244

Open
chrisfenner opened this issue Apr 20, 2021 · 0 comments
Open

Only signing schemes are settable on TPMS_RSA_PARMS #244

chrisfenner opened this issue Apr 20, 2021 · 0 comments

Comments

@chrisfenner
Copy link
Member

go-tpm/tpm2/structures.go

Lines 204 to 210 in d331077

type RSAParams struct {
Symmetric *SymScheme
Sign *SigScheme
KeyBits uint16
ExponentRaw uint32
ModulusRaw tpmutil.U16Bytes
}

Instead of Sign *SigScheme, we should have something that reflects TPMT_RSA_SCHEME (which can be a signing or decryption scheme).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant