All of lore.kernel.org
 help / color / mirror / Atom feed
* [tpm2] [intel/tpm2-tools] 97271d: tpm2_nvlist: fix property endian conversion
@ 2017-11-15 20:12 GitHub
  0 siblings, 0 replies; only message in thread
From: GitHub @ 2017-11-15 20:12 UTC (permalink / raw)
  To: tpm2

[-- Attachment #1: Type: text/plain, Size: 2123 bytes --]

  Branch: refs/heads/3.X
  Home:   https://github.com/intel/tpm2-tools
  Commit: 97271da9f48a08161baed157c68ca8a30024d385
      https://github.com/intel/tpm2-tools/commit/97271da9f48a08161baed157c68ca8a30024d385
  Author: William Roberts <william.c.roberts(a)intel.com>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M tools/tpm2_nvlist.c

  Log Message:
  -----------
  tpm2_nvlist: fix property endian conversion

property endianess was always being swapped from
the tpm provided big endian version to little endian.
Thus, this only worked on LE hosts, only convert if
the host is little endian.

Signed-off-by: William Roberts <william.c.roberts(a)intel.com>


  Commit: d56c6b3cbaa4e5d48f01bc44ccbfb5194fee508e
      https://github.com/intel/tpm2-tools/commit/d56c6b3cbaa4e5d48f01bc44ccbfb5194fee508e
  Author: William Roberts <william.c.roberts(a)intel.com>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M man/tpm2_nvlist.1.md
    M test/system/test_tpm2_nv.sh
    M tools/tpm2_nvlist.c

  Log Message:
  -----------
  tpm2_nvlist: output in yaml

Output in a human readable and machine parseable YAML output.

Example output:
0x1500015:
  hash algorithm:
    friendly: sha256
    value: 0xB
  attributes:
    friendly: ownerwrite|ownerread
    value: 0x2000200
  size: 32

0x1500017:
  hash algorithm:
    friendly: sha256
    value: 0xB
  attributes:
    friendly: ownerwrite|ownerread
    value: 0x2000200
  size: 32
  authorization policy: 0011223344

Fixes #513

Signed-off-by: William Roberts <william.c.roberts(a)intel.com>


  Commit: 6a6cb54815215e89262ef827bb7613641378fbb5
      https://github.com/intel/tpm2-tools/commit/6a6cb54815215e89262ef827bb7613641378fbb5
  Author: William Roberts <william.c.roberts(a)intel.com>
  Date:   2017-11-15 (Wed, 15 Nov 2017)

  Changed paths:
    M CHANGELOG.md

  Log Message:
  -----------
  Update CHANGELOG.md

Signed-off-by: William Roberts <william.c.roberts(a)intel.com>


Compare: https://github.com/intel/tpm2-tools/compare/6b4f25725709...6a6cb5481521

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-11-15 20:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-15 20:12 [tpm2] [intel/tpm2-tools] 97271d: tpm2_nvlist: fix property endian conversion GitHub

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.