Home
last modified time | relevance | path

Searched refs:get_unaligned_be32 (Results 1 – 25 of 27) sorted by relevance

12

/u-boot/drivers/tpm/
A Dtpm2_tis_sandbox.c101 handle = get_unaligned_be32(*auth); in sandbox_tpm2_check_session()
137 auth_sz = get_unaligned_be32(*auth); in sandbox_tpm2_check_session()
140 session_handle = get_unaligned_be32(*auth); in sandbox_tpm2_check_session()
285 length = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
295 command = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
380 capability = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
387 property = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
391 property_count = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
453 selections = get_unaligned_be32(sent); in sandbox_tpm2_xfer()
527 pcr_index = get_unaligned_be32(sendbuf + sizeof(tag) + in sandbox_tpm2_xfer()
[all …]
A Dtpm_tis_sandbox.c188 code = get_unaligned_be32(sendbuf + sizeof(uint16_t) + in sandbox_tpm_xfer()
197 type = get_unaligned_be32(sendbuf + 14); in sandbox_tpm_xfer()
200 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer()
235 index = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer()
247 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer()
248 length = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer()
259 index = get_unaligned_be32(sendbuf + 10); in sandbox_tpm_xfer()
260 length = get_unaligned_be32(sendbuf + 18); in sandbox_tpm_xfer()
A Dtpm-uclass.c86 count = get_unaligned_be32(sendbuf + TPM_CMD_COUNT_BYTE); in tpm_xfer()
87 ordinal = get_unaligned_be32(sendbuf + TPM_CMD_ORDINAL_BYTE); in tpm_xfer()
A Dtpm_atmel_twi.c110 hdr_recv_len = get_unaligned_be32(recvbuf + 2); in tpm_atmel_twi_xfer()
A Dtpm_tis_st33zp24_i2c.c324 expected = get_unaligned_be32(buf + 2); in st33zp24_i2c_recv()
A Dtpm_tis_infineon.c396 expected = get_unaligned_be32(buf + TPM_RSP_SIZE_BYTE); in tpm_tis_i2c_recv()
A Dtpm_tis_st33zp24_spi.c452 expected = get_unaligned_be32(buf + 2); in st33zp24_spi_recv()
/u-boot/board/gdsys/a38x/
A Dkeyprogram.c33 err = tpm_flush_specific(tpm, get_unaligned_be32(ptr), in flush_keys()
80 magic = get_unaligned_be32(*progdata); in extract_subprogram()
81 code_crc = get_unaligned_be32(*progdata + 4); in extract_subprogram()
82 code_size = get_unaligned_be32(*progdata + 8); in extract_subprogram()
A Dhre.c128 *size = get_unaligned_be32(ptr); in get_tpm_nv_size()
160 key_handles[i] = get_unaligned_be32(ptr); in find_key()
211 platform_key_handle = get_unaligned_be32(buf + 24); in read_common_data()
396 ins = get_unaligned_be32(*ip); in hre_execute_op()
/u-boot/board/gdsys/p1022/
A Dcontrolcenterd-id.c294 *size = get_unaligned_be32(ptr); in get_tpm_nv_size()
325 key_handles[i] = get_unaligned_be32(ptr); in find_key()
640 ins = get_unaligned_be32(*ip); in hre_execute_op()
767 type = get_unaligned_be32(hmac->code); in check_hmac()
821 header.magic = get_unaligned_be32(buf); in load_sd_key_program()
822 header.code_crc = get_unaligned_be32(buf + 4); in load_sd_key_program()
823 header.code_size = get_unaligned_be32(buf + 8); in load_sd_key_program()
848 header.magic = get_unaligned_be32(buf); in load_sd_key_program()
849 header.code_crc = get_unaligned_be32(buf + 4); in load_sd_key_program()
909 header.magic = get_unaligned_be32(buf); in load_key_chunk()
[all …]
/u-boot/lib/
A Dtpm-common.c136 *ptr32 = get_unaligned_be32(str + offset); in unpack_byte_string()
152 return get_unaligned_be32(command + command_size_offset); in tpm_command_size()
159 return get_unaligned_be32(response + return_code_offset); in tpm_return_code()
/u-boot/lib/lzo/
A Dlzo1x_decompress.c63 if (get_unaligned_be32(src) & HEADER_HAS_FILTER) in parse_header()
94 dlen = get_unaligned_be32(src); in lzop_decompress()
104 slen = get_unaligned_be32(src); in lzop_decompress()
/u-boot/include/linux/unaligned/
A Daccess_ok.h26 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
A Dbe_byteshift.h45 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
A Dgeneric.h21 __builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_be32((ptr)), \
/u-boot/drivers/net/phy/
A Dncsi.c210 pchecksum = get_unaligned_be32((void *)hdr + c_offset); in ncsi_validate_rsp()
315 c->version.version = get_unaligned_be32(&gvi->ncsi_version); in ncsi_rsp_gvi()
318 c->version.fw_version = get_unaligned_be32(&gvi->fw_version); in ncsi_rsp_gvi()
321 c->version.mf_id = get_unaligned_be32(&gvi->mf_id); in ncsi_rsp_gvi()
344 !!(get_unaligned_be32(&gls->status)); in ncsi_rsp_gls()
608 pchecksum = get_unaligned_be32((void *)(hdr + 1) + payload - 4); in ncsi_handle_aen()
/u-boot/lib/efi_loader/
A Defi_tcg2.c280 *max_command_size = (uint16_t)get_unaligned_be32(response + in tpm2_get_max_command_size()
306 *max_response_size = (uint16_t)get_unaligned_be32(response + in tpm2_get_max_response_size()
331 *manufacturer_id = get_unaligned_be32(response + properties_offset); in tpm2_get_manufacturer_id()
355 *num_pcr = get_unaligned_be32(response + properties_offset); in tpm2_get_num_pcr()
408 pcrs.count = get_unaligned_be32(response); in tpm2_get_pcr_info()
/u-boot/lib/rsa/
A Drsa-mod-exp.c25 #define get_unaligned_be32(a) fdt32_to_cpu(*(uint32_t *)a) macro
202 val[i] = get_unaligned_be32(ptr); in pow_mod()
A Drsa-keyprop.c36 return get_unaligned_be32(src); in br_dec32be()
/u-boot/lib/zstd/
A Dmem.h104 ZSTD_STATIC U32 ZSTD_readBE32(const void *memPtr) { return get_unaligned_be32(memPtr); } in ZSTD_readBE32()
/u-boot/cmd/
A Dtpm-common.c224 value = get_unaligned_be32(data + offset); in type_string_write_vars()
A Dtpm-v1.c565 tpm_flush_specific(dev, get_unaligned_be32(ptr), type); in TPM_COMMAND_NO_ARG()
635 printf("Index %d: %08x\n", i, get_unaligned_be32(ptr)); in do_tpm_list()
/u-boot/drivers/usb/gadget/
A Df_mass_storage.c708 lba = get_unaligned_be32(&common->cmnd[2]); in do_read()
841 lba = get_unaligned_be32(&common->cmnd[2]); in do_write()
1014 lba = get_unaligned_be32(&common->cmnd[2]); in do_verify()
1170 u32 lba = get_unaligned_be32(&common->cmnd[2]); in do_read_capacity()
1190 u32 lba = get_unaligned_be32(&common->cmnd[2]); in do_read_header()
1882 get_unaligned_be32(&common->cmnd[6]) << 9; in do_scsi_command()
2000 get_unaligned_be32(&common->cmnd[6]) << 9; in do_scsi_command()
A Df_rockusb.c645 f_rkusb->lba = get_unaligned_be32(&cbw->CDB[2]); in cb_read_lba()
687 f_rkusb->lba = get_unaligned_be32(&cbw->CDB[2]); in cb_write_lba()
728 lba = get_unaligned_be32(&cbw->CDB[2]); in cb_erase_lba()
A Dstorage_common.c373 return 0xffffff & (u32) get_unaligned_be32(buf - 1); in get_unaligned_be24()

Completed in 51 milliseconds

12