/arm-trusted-firmware-2.8.0/tools/cert_create/src/ |
A D | sha.c | 33 int bytes; in sha_file() local 77 while ((bytes = fread(data, 1, BUFFER_SIZE, inFile)) != 0) { in sha_file() 78 EVP_DigestUpdate(mdctx, data, bytes); in sha_file() 95 while ((bytes = fread(data, 1, BUFFER_SIZE, inFile)) != 0) { in sha_file() 96 SHA384_Update(&sha512Context, data, bytes); in sha_file() 101 while ((bytes = fread(data, 1, BUFFER_SIZE, inFile)) != 0) { in sha_file() 102 SHA512_Update(&sha512Context, data, bytes); in sha_file() 107 while ((bytes = fread(data, 1, BUFFER_SIZE, inFile)) != 0) { in sha_file() 108 SHA256_Update(&shaContext, data, bytes); in sha_file()
|
/arm-trusted-firmware-2.8.0/tools/nxp/create_pbl/ |
A D | byte_swap.c | 36 int bytes = 0; in do_byteswap() local 47 bytes = ftell(fp); in do_byteswap() 49 append_bytes = EIGHT_BYTE_ALIGN - (bytes % EIGHT_BYTE_ALIGN); in do_byteswap() 57 bytes += append_bytes; in do_byteswap() 61 while (bytes > 0) { in do_byteswap() 85 bytes -= EIGHT_BYTE_ALIGN; in do_byteswap()
|
/arm-trusted-firmware-2.8.0/drivers/brcm/spi/ |
A D | iproc_qspi.c | 165 if (bytes & 1) in mspi_xfer() 172 while (bytes) { in mspi_xfer() 181 chunk = MIN(bytes, NUM_CDRAM_BYTES * 2); in mspi_xfer() 183 bytes -= chunk; in mspi_xfer() 199 chunk = MIN(bytes, NUM_CDRAM_BYTES); in mspi_xfer() 201 bytes -= chunk; in mspi_xfer() 223 if (bytes == 0 && (flag & SPI_XFER_END)) in mspi_xfer() 229 if (bytes == 0 && (flag & SPI_XFER_END)) in mspi_xfer() 280 uint32_t bytes = bitlen / 8; in iproc_qspi_xfer() local 309 if (bytes) in iproc_qspi_xfer() [all …]
|
/arm-trusted-firmware-2.8.0/drivers/io/ |
A D | io_semihosting.c | 132 size_t bytes = length; in sh_file_read() local 140 sh_result = semihosting_file_read(file_handle, &bytes, buffer); in sh_file_read() 143 *length_read = (bytes != length) ? bytes : length; in sh_file_read() 157 size_t bytes = length; in sh_file_write() local 164 sh_result = semihosting_file_write(file_handle, &bytes, buffer); in sh_file_write() 166 *length_written = length - bytes; in sh_file_write()
|
/arm-trusted-firmware-2.8.0/plat/imx/imx8m/ |
A D | imx_hab.c | 66 enum hab_status (*check_target)(enum hab_target type, const void *start, size_t bytes); 68 size_t *bytes, hab_loader_callback_f_t loader); 73 uint8_t *event, size_t *bytes); 77 size_t *bytes, hab_loader_callback_f_t loader); 80 size_t *bytes, hab_loader_callback_f_t loader, uint32_t srkmask, int skip_dcd);
|
/arm-trusted-firmware-2.8.0/drivers/nxp/crypto/caam/src/ |
A D | caam.c | 290 int bytes = 0; in get_random() local 306 bytes = 4; in get_random() 308 bytes = 8; in get_random() 313 ret = get_rand_bytes_hw(rand_byte, bytes); in get_random() 315 for (i = 0; i < bytes; i++) { in get_random() 320 rand_byte_swp[i] = rand_byte[bytes - i - 1]; in get_random()
|
A D | rng.c | 216 int get_rand_bytes_hw(uint8_t *bytes, int byte_len) in get_rand_bytes_hw() argument 244 ret_code = hw_rng_generate(0, 0, bytes, byte_len, state_handle); in get_rand_bytes_hw()
|
/arm-trusted-firmware-2.8.0/docs/components/ |
A D | granule-protection-tables-design.rst | 168 * ``GPCCR_PPS_4GB`` (4GB protected space, 0x100000000 bytes) 170 * ``GPCCR_PPS_1TB`` (1TB protected space, 0x10000000000 bytes) 178 * ``GPCCR_PGS_4K`` (4KB granules, 0x1000 bytes) 179 * ``GPCCR_PGS_16K`` (16KB granules, 0x4000 bytes) 180 * ``GPCCR_PGS_64K`` (64KB granules, 0x10000 bytes) 184 * ``GPCCR_L0GPTSZ_30BITS`` (1GB regions, 0x40000000 bytes) 185 * ``GPCCR_L0GPTSZ_34BITS`` (16GB regions, 0x400000000 bytes) 186 * ``GPCCR_L0GPTSZ_36BITS`` (64GB regions, 0x1000000000 bytes) 198 (8 bytes). ((PPS / L0GPTSZ) * 8) 224 tables must be aligned to 4096 bytes. [all …]
|
A D | arm-sip-service.rst | 256 This operation reads a number of bytes from a file descriptor obtained by 266 uint32_t Number of bytes to read 280 uint32_t w1: number of bytes read on success.
|
A D | rmm-el3-comms-spec.rst | 396 …buf_size,x2,[63:0],Size,Size in bytes of the Realm Attestation Key buffer. ``bufPa + bufSize`` mus… 455 …buf_size,x2,[63:0],Size,Size in bytes of the platform attestation token buffer. ``bufPa + bufSize`… 456 …c_size,x3,[63:0],Size,Size in bytes of the challenge object. It corresponds to the size of one of …
|
A D | xlat-tables-lib-v2-design.rst | 162 Size in bytes of the virtual address space to map using this context. This 169 Size in bytes of the physical address space to map using this context.
|
/arm-trusted-firmware-2.8.0/tools/encrypt_fw/src/ |
A D | encrypt.c | 31 int bytes, enc_len = 0, i, j, ret = 0; in gcm_encrypt() local 99 while ((bytes = fread(data, 1, BUFFER_SIZE, ip_file)) != 0) { in gcm_encrypt() 100 ret = EVP_EncryptUpdate(ctx, enc_data, &enc_len, data, bytes); in gcm_encrypt()
|
/arm-trusted-firmware-2.8.0/include/drivers/brcm/ |
A D | ocotp.h | 24 int bcm_otpc_read(unsigned int offset, void *val, uint32_t bytes,
|
/arm-trusted-firmware-2.8.0/plat/qti/common/src/ |
A D | spmi_arb.c | 70 uint8_t bytes) in arb_command() argument 73 (addr & 0xff) << 4 | (bytes - 1)); in arb_command()
|
/arm-trusted-firmware-2.8.0/include/drivers/nxp/crypto/caam/ |
A D | caam.h | 42 int get_rand_bytes_hw(uint8_t *bytes, int byte_len);
|
/arm-trusted-firmware-2.8.0/include/drivers/ |
A D | nand.h | 20 unsigned int bytes; /* ECC bytes per step */ member
|
/arm-trusted-firmware-2.8.0/drivers/brcm/ |
A D | ocotp.c | 148 int bcm_otpc_read(unsigned int offset, void *val, uint32_t bytes, in bcm_otpc_read() argument 164 for (bytes_read = 0; (bytes_read + priv->map->word_size) <= bytes;) { in bcm_otpc_read()
|
/arm-trusted-firmware-2.8.0/drivers/st/fmc/ |
A D | stm32_fmc2_nand.c | 350 uint8_t bytes[4]; in stm32_fmc2_ham_correct() member 368 xor_ecc.bytes[2] = xor_ecc_3b; in stm32_fmc2_ham_correct() 369 xor_ecc.bytes[1] = xor_ecc_2b; in stm32_fmc2_ham_correct() 370 xor_ecc.bytes[0] = xor_ecc_1b; in stm32_fmc2_ham_correct() 509 unsigned int eccbytes = nand->ecc.bytes; in stm32_fmc2_read_page() 760 nand->ecc.bytes = 3; in stm32_fmc2_setup() 765 nand->ecc.bytes = 13; in stm32_fmc2_setup() 770 nand->ecc.bytes = 7; in stm32_fmc2_setup() 775 nand->ecc.bytes++; in stm32_fmc2_setup()
|
/arm-trusted-firmware-2.8.0/tools/sptool/ |
A D | sptool.py | 108 to_write = h if type(h) is bytes else to_bytes(h)
|
/arm-trusted-firmware-2.8.0/plat/allwinner/common/ |
A D | arisc_off.S | 10 # $ or1k-elf-objcopy -O binary --reverse-bytes=4 turn_off_core.o \
|
/arm-trusted-firmware-2.8.0/docs/plat/ |
A D | warp7.rst | 130 bl2.imx is flashed @ 1024 bytes 131 warp7.fip is flash @ 1048576 bytes
|
/arm-trusted-firmware-2.8.0/docs/getting_started/ |
A D | porting-guide.rst | 123 Defines the size in bytes of the largest cache line across all the cache 481 Defines the total size of the virtual address space in bytes. For example, 486 Defines the total size of the physical address space in bytes. For example, 519 Defines the memory (in bytes) to be reserved within the per-cpu data 555 The size of partition block. It could be either 512 bytes or 4096 bytes. 929 bytes. 2296 arg1 - Contains the size (in bytes) of the buffer passed in arg0. The 2301 arg3 - The length of the challenge object in bytes. Possible values are 32, 2324 arg1 - Contains the size (in bytes) of the buffer passed in arg0. The 2410 bytes) aligned to the cache line boundary that should be allocated per-cpu to [all …]
|
/arm-trusted-firmware-2.8.0/docs/design_documents/ |
A D | measured_boot_poc.rst | 492 - **CFG_TA_EVENT_LOG_SIZE**: Defines the size, in bytes, of the larger event log that 495 is not defined, the fTPM falls back to a default value of 1024 bytes, which is enough
|
/arm-trusted-firmware-2.8.0/docs/plat/arm/fvp/ |
A D | index.rst | 178 One way to do that is to create an 8-byte file containing all zero bytes using 267 # Skip uboot header (64 bytes)
|
/arm-trusted-firmware-2.8.0/docs/design/ |
A D | firmware-design.rst | 717 uint16_t size; /* size of this structure in bytes */ 1539 sections then the resulting binary file would contain zero bytes in place of 1577 Size (in bytes) of a given section named ``<SECTION>``. If there is an 1585 Size (in bytes) of a given section named ``<SECTION>`` without any padding or 1959 terminated by an end marker entry, and since the size of the ToC is 0 bytes, 2011 `size`: The size of the corresponding payload data in bytes. 2317 This has an impact on memory footprint, as padding bytes need to be introduced
|