/trusted-firmware-a-latest/tools/cert_create/src/ |
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()
|
/trusted-firmware-a-latest/tools/nxp/create_pbl/ |
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()
|
/trusted-firmware-a-latest/drivers/brcm/spi/ |
D | iproc_qspi.c | 148 static int mspi_xfer(struct bcmspi_priv *priv, uint32_t bytes, in mspi_xfer() argument 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 [all …]
|
/trusted-firmware-a-latest/drivers/io/ |
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()
|
/trusted-firmware-a-latest/plat/imx/imx8m/ |
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);
|
/trusted-firmware-a-latest/drivers/nxp/crypto/caam/src/ |
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()
|
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()
|
/trusted-firmware-a-latest/docs/components/ |
D | granule-protection-tables-design.rst | 168 * ``GPCCR_PPS_4GB`` (4GB protected space, 0x100000000 bytes) 169 * ``GPCCR_PPS_64GB`` (64GB protected space, 0x1000000000 bytes) 170 * ``GPCCR_PPS_1TB`` (1TB protected space, 0x10000000000 bytes) 171 * ``GPCCR_PPS_4TB`` (4TB protected space, 0x40000000000 bytes) 172 * ``GPCCR_PPS_16TB`` (16TB protected space, 0x100000000000 bytes) 173 * ``GPCCR_PPS_256TB`` (256TB protected space, 0x1000000000000 bytes) 174 * ``GPCCR_PPS_4PB`` (4PB protected space, 0x10000000000000 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) [all …]
|
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.
|
D | rmm-el3-comms-spec.rst | 399 …buf_size,x2,[63:0],Size,Size in bytes of the Realm Attestation Key buffer. ``bufPa + bufSize`` mus… 458 …buf_size,x2,[63:0],Size,Size in bytes of the platform attestation token buffer. ``bufPa + bufSize`… 459 …c_size,x3,[63:0],Size,Size in bytes of the challenge object. It corresponds to the size of one of … 537 from EL3 to RMM. The size of the Boot Manifest is 40 bytes. 587 | size | 8 | uint64_t | Size of bank in bytes |
|
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.
|
/trusted-firmware-a-latest/tools/encrypt_fw/src/ |
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()
|
/trusted-firmware-a-latest/include/drivers/brcm/ |
D | ocotp.h | 24 int bcm_otpc_read(unsigned int offset, void *val, uint32_t bytes,
|
/trusted-firmware-a-latest/plat/qti/common/src/ |
D | spmi_arb.c | 70 uint8_t bytes) in arb_command() argument 73 (addr & 0xff) << 4 | (bytes - 1)); in arb_command()
|
/trusted-firmware-a-latest/include/drivers/nxp/crypto/caam/ |
D | caam.h | 42 int get_rand_bytes_hw(uint8_t *bytes, int byte_len);
|
/trusted-firmware-a-latest/include/drivers/ |
D | nand.h | 20 unsigned int bytes; /* ECC bytes per step */ member
|
/trusted-firmware-a-latest/drivers/brcm/ |
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()
|
/trusted-firmware-a-latest/drivers/st/fmc/ |
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()
|
/trusted-firmware-a-latest/docs/tools/ |
D | memory-layout-tool.rst | 129 | Memory Usage (bytes) [RAM] | 140 | Memory Usage (bytes) [ROM] |
|
/trusted-firmware-a-latest/tools/sptool/ |
D | sptool.py | 108 to_write = h if type(h) is bytes else to_bytes(h)
|
/trusted-firmware-a-latest/plat/allwinner/common/ |
D | arisc_off.S | 10 # $ or1k-elf-objcopy -O binary --reverse-bytes=4 turn_off_core.o \
|
/trusted-firmware-a-latest/docs/security_advisories/ |
D | security-advisory-tfv-10.rst | 85 read 6 bytes, it is possible to read up to 6 bytes past the end of the buffer.
|
/trusted-firmware-a-latest/docs/plat/ |
D | warp7.rst | 130 bl2.imx is flashed @ 1024 bytes 131 warp7.fip is flash @ 1048576 bytes
|
/trusted-firmware-a-latest/docs/design_documents/ |
D | measured_boot_poc.rst | 494 - **CFG_TA_EVENT_LOG_SIZE**: Defines the size, in bytes, of the larger event log that 497 is not defined, the fTPM falls back to a default value of 1024 bytes, which is enough
|
/trusted-firmware-a-latest/docs/ |
D | porting-guide.rst | 137 Defines the size in bytes of the largest cache line across all the cache 488 Defines the total size of the virtual address space in bytes. For example, 493 Defines the total size of the physical address space in bytes. For example, 526 Defines the memory (in bytes) to be reserved within the per-cpu data 571 The size of partition block. It could be either 512 bytes or 4096 bytes. 979 bytes. 2237 arg1 - Contains the size (in bytes) of the buffer passed in arg0. The 2242 arg3 - The length of the challenge object in bytes. Possible values are 32, 2265 arg1 - Contains the size (in bytes) of the buffer passed in arg0. The 2351 bytes) aligned to the cache line boundary that should be allocated per-cpu to [all …]
|