Home
last modified time | relevance | path

Searched refs:offset_s (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm2-sessions.c588 off_t offset_s = TPM_HEADER_SIZE, offset_p; in tpm_buf_fill_hmac_session() local
623 u32 handle = tpm_buf_read_u32(buf, &offset_s); in tpm_buf_fill_hmac_session()
632 val = tpm_buf_read_u32(buf, &offset_s); in tpm_buf_fill_hmac_session()
634 offset_p = offset_s + val; in tpm_buf_fill_hmac_session()
635 for (i = 1; offset_s < offset_p; i++) { in tpm_buf_fill_hmac_session()
636 u32 handle = tpm_buf_read_u32(buf, &offset_s); in tpm_buf_fill_hmac_session()
641 len = tpm_buf_read_u16(buf, &offset_s); in tpm_buf_fill_hmac_session()
642 offset_s += len; in tpm_buf_fill_hmac_session()
644 a = tpm_buf_read_u8(buf, &offset_s); in tpm_buf_fill_hmac_session()
646 len = tpm_buf_read_u16(buf, &offset_s); in tpm_buf_fill_hmac_session()
[all …]
/linux/drivers/firmware/
H A Dturris-mox-rwtm.c312 u32 offset_r, offset_s; in mox_rwtm_sign() local
331 offset_s = 2 * MOX_ECC_NUM_WORDS * sizeof(u32); in mox_rwtm_sign()
340 msg.args[3] = rwtm->buf_phys + offset_s; in mox_rwtm_sign()
348 mox_ecc_number_to_bin(signature + MOX_ECC_NUM_LEN, rwtm->buf + offset_s); in mox_rwtm_sign()
/linux/net/ipv6/
H A Dcalipso.c846 unsigned int opt_len, offset, offset_s = 0, offset_e = 0; in calipso_opt_find() local
869 offset_s = offset; in calipso_opt_find()
877 if (offset_s) in calipso_opt_find()
878 *start = offset_s + calipso_tlv_len(hop, offset_s); in calipso_opt_find()