Home
last modified time | relevance | path

Searched refs:pcr_idx (Results 1 – 4 of 4) sorted by relevance

/optee_os-3.20.0/core/drivers/tpm2/
A Dtpm2_tcg.c28 static TEE_Result tpm2_tcg_pcr_extend(uint8_t pcr_idx, uint16_t alg, in tpm2_tcg_pcr_extend() argument
31 if (tpm2_pcr_extend(pcr_idx, alg, digest, digest_len)) in tpm2_tcg_pcr_extend()
A Dtpm2_cmd.c205 enum tpm2_result tpm2_pcr_read(uint8_t pcr_idx, uint16_t alg, void *digest, in tpm2_pcr_read() argument
230 if (pcr_idx >= caps.num_pcrs || !tpm2_chip_is_active_bank(alg)) in tpm2_pcr_read()
242 pcr_select_idx = pcr_idx >> 3; in tpm2_pcr_read()
258 pcr_select[pcr_select_idx] = BIT(pcr_idx % 8); in tpm2_pcr_read()
356 enum tpm2_result tpm2_pcr_extend(uint8_t pcr_idx, uint16_t alg, void *digest, in tpm2_pcr_extend() argument
375 if (pcr_idx >= caps.num_pcrs || !tpm2_chip_is_active_bank(alg)) in tpm2_pcr_extend()
396 tpm2_cmd_add_u32(buf, buf_len, pcr_idx); in tpm2_pcr_extend()
/optee_os-3.20.0/core/include/
A Dtpm2.h204 enum tpm2_result tpm2_pcr_read(uint8_t pcr_idx, uint16_t alg, void *digest,
217 enum tpm2_result tpm2_pcr_extend(uint8_t pcr_idx, uint16_t alg, void *digest,
/optee_os-3.20.0/core/include/kernel/
A Dtcg.h124 TEE_Result (*pcr_extend)(uint8_t pcr_idx, uint16_t alg, void *digest,

Completed in 5 milliseconds