/u-boot/drivers/tpm/ |
A D | tpm2_tis_sandbox.c | 101 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 D | tpm_tis_sandbox.c | 188 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 D | tpm-uclass.c | 86 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 D | tpm_atmel_twi.c | 110 hdr_recv_len = get_unaligned_be32(recvbuf + 2); in tpm_atmel_twi_xfer()
|
A D | tpm_tis_st33zp24_i2c.c | 324 expected = get_unaligned_be32(buf + 2); in st33zp24_i2c_recv()
|
A D | tpm_tis_infineon.c | 396 expected = get_unaligned_be32(buf + TPM_RSP_SIZE_BYTE); in tpm_tis_i2c_recv()
|
A D | tpm_tis_st33zp24_spi.c | 452 expected = get_unaligned_be32(buf + 2); in st33zp24_spi_recv()
|
/u-boot/board/gdsys/a38x/ |
A D | keyprogram.c | 33 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 D | hre.c | 128 *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 D | controlcenterd-id.c | 294 *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 D | tpm-common.c | 136 *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 D | lzo1x_decompress.c | 63 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 D | access_ok.h | 26 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
|
A D | be_byteshift.h | 45 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() function
|
A D | generic.h | 21 __builtin_choose_expr(sizeof(*(ptr)) == 4, get_unaligned_be32((ptr)), \
|
/u-boot/drivers/net/phy/ |
A D | ncsi.c | 210 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 D | efi_tcg2.c | 280 *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 D | rsa-mod-exp.c | 25 #define get_unaligned_be32(a) fdt32_to_cpu(*(uint32_t *)a) macro 202 val[i] = get_unaligned_be32(ptr); in pow_mod()
|
A D | rsa-keyprop.c | 36 return get_unaligned_be32(src); in br_dec32be()
|
/u-boot/lib/zstd/ |
A D | mem.h | 104 ZSTD_STATIC U32 ZSTD_readBE32(const void *memPtr) { return get_unaligned_be32(memPtr); } in ZSTD_readBE32()
|
/u-boot/cmd/ |
A D | tpm-common.c | 224 value = get_unaligned_be32(data + offset); in type_string_write_vars()
|
A D | tpm-v1.c | 565 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 D | f_mass_storage.c | 708 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 D | f_rockusb.c | 645 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 D | storage_common.c | 373 return 0xffffff & (u32) get_unaligned_be32(buf - 1); in get_unaligned_be24()
|