Files
android_kernel_xiaomi_sm8450/drivers/char/tpm
Roberto Sassu a69faebf4d 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 <roberto.sassu@huawei.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
2017-06-13 22:02:08 +03:00
..
2017-04-03 22:46:01 +03:00
2017-04-25 00:27:18 +03:00
2017-04-03 22:46:02 +03:00
2016-06-25 17:26:35 +03:00
2017-01-23 18:28:18 +02:00