mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
libtpmtss: Remove aik_blob debug output
This commit is contained in:
parent
d647a8f91d
commit
56de4dc596
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user