Home
last modified time | relevance | path

Searched refs:tpmtPublic (Results 1 – 5 of 5) sorted by relevance

/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libstb/tss2/ibmtpm20tss/utils/
H A Dekutils.c301 tpmtPublic->type = TPM_ALG_RSA; in getRsaTemplate()
302 tpmtPublic->nameAlg = TPM_ALG_SHA256; in getRsaTemplate()
309 tpmtPublic->authPolicy.t.size = 32; in getRsaTemplate()
318 tpmtPublic->unique.rsa.t.size = 256; in getRsaTemplate()
327 tpmtPublic->type = TPM_ALG_ECC; in getEccTemplate()
328 tpmtPublic->nameAlg = TPM_ALG_SHA256; in getEccTemplate()
777 TPMT_PUBLIC *tpmtPublic, in processEKTemplate() argument
1499 if (tpmtPublic->type == TPM_ALG_RSA) { in createCertificate()
1509 tpmtPublic->type); in createCertificate()
1532 switch (tpmtPublic->type) { in createCertificate()
[all …]
H A Dekutils.h90 void getRsaTemplate(TPMT_PUBLIC *tpmtPublic);
91 void getEccTemplate(TPMT_PUBLIC *tpmtPublic);
102 TPMT_PUBLIC *tpmtPublic,
133 TPMT_PUBLIC *tpmtPublic,
160 TPMT_PUBLIC *tpmtPublic,
H A Dcreateek.c110 TPMT_PUBLIC tpmtPublic; in main() local
216 rc = processEKTemplate(tssContext, &tpmtPublic, ekTemplateIndex, TRUE); in main()
H A Dtss20.c605 TPMT_PUBLIC *tpmtPublic);
2207 TPMT_PUBLIC *tpmtPublic) in TSS_ObjectPublic_GetName() argument
2223 rc = TSS_TPMT_PUBLIC_Marshalu(tpmtPublic, &written, &buffer1, &size); in TSS_ObjectPublic_GetName()
2227 sizeInBytes = TSS_GetDigestSize(tpmtPublic->nameAlg); in TSS_ObjectPublic_GetName()
2228 digest.hashAlg = tpmtPublic->nameAlg; /* Name digest algorithm */ in TSS_ObjectPublic_GetName()
2239 nameAlgNbo = htons(tpmtPublic->nameAlg); in TSS_ObjectPublic_GetName()
/dports/security/gnupg/gnupg-2.3.3/tpm2d/
H A Dtpm2.c634 TPMT_PUBLIC *tpmtPublic) in tpm2_ObjectPublic_GetName() argument
647 rc = TSS_TPMT_PUBLIC_Marshal (tpmtPublic, &written, &buffer1, &size); in tpm2_ObjectPublic_GetName()
652 sizeInBytes = TSS_GetDigestSize (tpmtPublic->nameAlg); in tpm2_ObjectPublic_GetName()
653 digest.hashAlg = tpmtPublic->nameAlg; /* Name digest algorithm */ in tpm2_ObjectPublic_GetName()
665 nameAlgNbo = htons (tpmtPublic->nameAlg); in tpm2_ObjectPublic_GetName()