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 D | ekutils.c | 301 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 D | ekutils.h | 90 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 D | createek.c | 110 TPMT_PUBLIC tpmtPublic; in main() local 216 rc = processEKTemplate(tssContext, &tpmtPublic, ekTemplateIndex, TRUE); in main()
|
H A D | tss20.c | 605 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 D | tpm2.c | 634 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()
|