Searched refs:tpm_data (Results 1 – 4 of 4) sorted by relevance
/external/epid-sdk/epid/member/tpm2/ibm_tss/ |
D | conversion.c | 53 TPM2B_ECC_PARAMETER* tpm_data) { in ReadTpm2FfElement() argument 54 if (!str || !tpm_data) { in ReadTpm2FfElement() 58 memcpy_S(tpm_data->b.buffer, MAX_ECC_KEY_BYTES, str, sizeof(OctStr256))) { in ReadTpm2FfElement() 61 tpm_data->b.size = (UINT16)sizeof(OctStr256); in ReadTpm2FfElement() 65 EpidStatus WriteTpm2FfElement(TPM2B_ECC_PARAMETER const* tpm_data, in WriteTpm2FfElement() argument 67 if (!tpm_data || !str || tpm_data->b.size > (UINT16)sizeof(OctStr256)) { in WriteTpm2FfElement() 72 if (tpm_data->b.size < real_size) { in WriteTpm2FfElement() 73 memset(buf, 0x00, real_size - tpm_data->b.size); in WriteTpm2FfElement() 74 buf += real_size - tpm_data->b.size; in WriteTpm2FfElement() 75 real_size = tpm_data->b.size; in WriteTpm2FfElement() [all …]
|
D | conversion.h | 77 TPM2B_ECC_PARAMETER* tpm_data); 90 EpidStatus WriteTpm2FfElement(TPM2B_ECC_PARAMETER const* tpm_data,
|
/external/u-boot/drivers/tpm/ |
D | tpm_tis_st33zp24_i2c.c | 47 const u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_write8_reg() argument 52 memcpy(chip_priv->buf + 1, tpm_data, tpm_size); in st33zp24_i2c_write8_reg() 66 u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_read8_reg() argument 76 return dm_i2c_read(dev, 0, tpm_data, tpm_size); in st33zp24_i2c_read8_reg() 89 const u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_write() argument 92 tpm_data, tpm_size); in st33zp24_i2c_write() 105 u8 *tpm_data, size_t tpm_size) in st33zp24_i2c_read() argument 107 return st33zp24_i2c_read8_reg(dev, tpm_register, tpm_data, tpm_size); in st33zp24_i2c_read()
|
D | tpm_tis_st33zp24_spi.c | 113 const u8 *tpm_data, size_t tpm_size) in st33zp24_spi_write() argument 129 memcpy(tx_buf + total_length, tpm_data, tpm_size); in st33zp24_spi_write() 164 u8 *tpm_data, size_t tpm_size) in st33zp24_spi_read8_reg() argument 194 memcpy(tpm_data, rx_buf + total_length - tpm_size, tpm_size); in st33zp24_spi_read8_reg() 209 u8 *tpm_data, size_t tpm_size) in st33zp24_spi_read() argument 213 ret = st33zp24_spi_read8_reg(dev, tpm_register, tpm_data, tpm_size); in st33zp24_spi_read()
|