Searched refs:offset_s (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 612 off_t offset_s = TPM_HEADER_SIZE, offset_p; in tpm_buf_fill_hmac_session() 647 u32 handle = tpm_buf_read_u32(buf, &offset_s); in tpm_buf_fill_hmac_session() 655 /* point offset_s to the start of the sessions */ in tpm_buf_fill_hmac_session() 656 val = tpm_buf_read_u32(buf, &offset_s); in tpm_buf_fill_hmac_session() 658 offset_p = offset_s + val; in tpm_buf_fill_hmac_session() 659 for (i = 1; offset_s < offset_p; i++) { in tpm_buf_fill_hmac_session() 660 u32 handle = tpm_buf_read_u32(buf, &offset_s); in tpm_buf_fill_hmac_session() 665 len = tpm_buf_read_u16(buf, &offset_s); in tpm_buf_fill_hmac_session() 666 offset_s += len; in tpm_buf_fill_hmac_session() 668 a = tpm_buf_read_u8(buf, &offset_s); in tpm_buf_fill_hmac_session() 591 off_t offset_s = TPM_HEADER_SIZE, offset_p; tpm_buf_fill_hmac_session() local 766 off_t offset_s, offset_p; tpm_buf_check_hmac_response() local [all...] |
| /linux/drivers/firmware/ |
| H A D | turris-mox-rwtm.c | 312 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 D | calipso.c | 846 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()
|