diff options
author | Roberto Sassu <[email protected]> | 2017-05-03 18:19:10 +0200 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2017-06-13 22:02:08 +0300 |
commit | a69faebf4d3e98c6a7a656c26b09bc532edfed08 (patch) | |
tree | d15f355abcf69a193f02053f72cc8656152705b1 /net/unix/af_unix.c | |
parent | 06e93279ca77ce2820723427f118a22dd0b35f0f (diff) |
tpm: move endianness conversion of ordinals to tpm_input_header
Move CPU native value to big-endian conversion of ordinals to the
tpm_input_header declarations.
With the previous and this patch it will now be possible to modify TPM 1.2
functions to use tpm_buf_init(), which expects CPU native value for the
tag and ordinal arguments.
Signed-off-by: Roberto Sassu <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Tested-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions