libtpmtss: Remove aik_blob debug output

This commit is contained in:
Andreas Steffen 2020-09-16 21:35:00 +02:00
parent d647a8f91d
commit 56de4dc596
2 changed files with 2 additions and 8 deletions

View File

@ -514,16 +514,13 @@ METHOD(tpm_tss_t, get_public, chunk_t,
{
TPM2B_PUBLIC public = { { 0, } };
TPM_ALG_ID sig_alg, digest_alg;
chunk_t aik_blob, aik_pubkey = chunk_empty;
chunk_t aik_pubkey = chunk_empty;
if (!read_public(this, handle, &public))
{
return chunk_empty;
}
aik_blob = chunk_create((u_char*)&public, sizeof(public));
DBG3(DBG_LIB, "%s public key blob: %B", LABEL, &aik_blob);
/* convert TSS 2.0 public key blot into PKCS#1 format */
switch (public.t.publicArea.type)
{

View File

@ -478,16 +478,13 @@ METHOD(tpm_tss_t, get_public, chunk_t,
{
TPM2B_PUBLIC public = { 0, };
TPM2_ALG_ID sig_alg, digest_alg;
chunk_t aik_blob, aik_pubkey = chunk_empty;
chunk_t aik_pubkey = chunk_empty;
if (!read_public(this, handle, &public))
{
return chunk_empty;
}
aik_blob = chunk_create((u_char*)&public, sizeof(public));
DBG3(DBG_LIB, "%s public key blob: %B", LABEL, &aik_blob);
/* convert TSS 2.0 public key blot into PKCS#1 format */
switch (public.publicArea.type)
{