| /openbmc/qemu/tests/bench/ |
| H A D | benchmark-crypto-cipher.c | 18 static void test_cipher_speed(size_t chunk_size, in test_cipher_speed() argument 47 ciphertext = g_new0(uint8_t, chunk_size); in test_cipher_speed() 49 plaintext = g_new0(uint8_t, chunk_size); in test_cipher_speed() 50 memset(plaintext, g_test_rand_int(), chunk_size); in test_cipher_speed() 67 chunk_size, in test_cipher_speed() 69 remain -= chunk_size; in test_cipher_speed() 76 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed() 84 chunk_size, in test_cipher_speed() 86 remain -= chunk_size; in test_cipher_speed() 93 chunk_size, (double)total / MiB / g_test_timer_last()); in test_cipher_speed() [all …]
|
| H A D | benchmark-crypto-hmac.c | 22 size_t chunk_size = (size_t)opaque; in test_hmac_speed() local 35 in = g_new0(uint8_t, chunk_size); in test_hmac_speed() 36 memset(in, g_test_rand_int(), chunk_size); in test_hmac_speed() 39 iov.iov_len = chunk_size; in test_hmac_speed() 54 total += chunk_size; in test_hmac_speed() 60 chunk_size, total / g_test_timer_last()); in test_hmac_speed()
|
| H A D | benchmark-crypto-hash.c | 19 size_t chunk_size; member 33 in = g_new0(uint8_t, opts->chunk_size); in test_hash_speed() 34 memset(in, g_test_rand_int(), opts->chunk_size); in test_hash_speed() 37 iov.iov_len = opts->chunk_size; in test_hash_speed() 47 remain -= opts->chunk_size; in test_hash_speed() 53 opts->chunk_size, total / g_test_timer_last()); in test_hash_speed() 68 .alg = QCRYPTO_HASH_ALGO_ ## a, .chunk_size = c, \ in main()
|
| /openbmc/u-boot/include/ |
| H A D | hw_sha.h | 22 uint chunk_size); 35 uint chunk_size); 48 uint chunk_size); 61 uint chunk_size);
|
| H A D | hash.h | 40 int chunk_size; /* Watchdog chunk size */ member
|
| /openbmc/openbmc/poky/meta/recipes-extended/mdadm/files/ |
| H A D | 0001-restripe.c-Use-_FILE_OFFSET_BITS-to-enable-largefile.patch | 32 @@ -284,9 +287,9 @@ int manual_repair(int chunk_size, int syndrome_disks, 41 offsets[fd1] + start * chunk_size, SEEK_SET); 44 @@ -294,7 +297,7 @@ int manual_repair(int chunk_size, int syndrome_disks, 46 write_res1 = write(source[fd1], blocks[failed_slot1], chunk_size); 50 offsets[fd2] + start * chunk_size, SEEK_SET); 57 - off64_t seek_res = lseek64(source[i], offsets[i] + start * chunk_size, 58 + off_t seek_res = lseek(source[i], offsets[i] + start * chunk_size, 83 read(source[dnum], buf+disk * chunk_size, 84 chunk_size) != chunk_size) { 111 (read(source[i], stripes[i], chunk_size) != [all …]
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | mt7621_spi.c | 140 int chunk_size; in mt7621_spi_xfer() local 176 chunk_size = min_t(int, total_size, SPI_MSG_SIZE_MAX); in mt7621_spi_xfer() 184 chunk_size -= rs->tx_len; in mt7621_spi_xfer() 186 rx_len = chunk_size; in mt7621_spi_xfer() 190 if ((chunk_size + rs->tx_len) > SPI_MSG_SIZE_OVERALL) { in mt7621_spi_xfer() 192 chunk_size + rs->tx_len); in mt7621_spi_xfer() 201 for (i = 0; i < chunk_size; i++, rs->tx_len++) { in mt7621_spi_xfer() 252 tx_buf += chunk_size; in mt7621_spi_xfer() 254 rx_buf += chunk_size; in mt7621_spi_xfer() 255 total_size -= chunk_size; in mt7621_spi_xfer()
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 163 | 35 chunk_size = '16M' variable in ShrinkBaseClass 122 size_to_int(self.chunk_size)): 123 qemu_io('-c', 'write -P 0xff %d %s' % (offs, self.chunk_size), 135 size_to_int(self.chunk_size))) 138 qemu_io('-c', 'write -P 0xff %d %s' % (offs, self.chunk_size), 151 chunk_size = '256K' variable in TestShrink512
|
| /openbmc/u-boot/drivers/mtd/nand/raw/ |
| H A D | pxa3xx_nand.c | 204 unsigned int chunk_size; member 773 if (page_size < info->chunk_size) { in set_command_address() 872 info->step_chunk_size = info->chunk_size; in prepare_set_command() 890 } else if (mtd->writesize == info->chunk_size) { in prepare_set_command() 892 } else if (mtd->writesize > info->chunk_size) { in prepare_set_command() 912 if (mtd->writesize > info->chunk_size) { in prepare_set_command() 929 info->step_chunk_size = info->chunk_size; in prepare_set_command() 937 if (mtd->writesize > info->chunk_size) { in prepare_set_command() 1303 buf + (chunk * info->chunk_size), in pxa3xx_nand_read_page_raw() 1304 info->chunk_size); in pxa3xx_nand_read_page_raw() [all …]
|
| /openbmc/u-boot/arch/arm/mach-uniphier/arm32/ |
| H A D | cache-uniphier.c | 154 u32 chunk_size = min_t(u32, size, UNIPHIER_SSC_RANGE_OP_MAX_SIZE); in uniphier_cache_maint_range() local 156 uniphier_cache_maint_common(start, chunk_size, ways, in uniphier_cache_maint_range() 159 start += chunk_size; in uniphier_cache_maint_range() 160 size -= chunk_size; in uniphier_cache_maint_range()
|
| /openbmc/u-boot/common/ |
| H A D | hash.c | 209 .chunk_size = CHUNKSZ_SHA1, 230 .chunk_size = CHUNKSZ_SHA256, 251 .chunk_size = CHUNKSZ_SHA384, 272 .chunk_size = CHUNKSZ_SHA512, 292 .chunk_size = CHUNKSZ, 301 .chunk_size = CHUNKSZ_CRC32, 389 algo->hash_func_ws(data, len, output, algo->chunk_size); in hash_block() 548 algo->hash_func_ws(buf, len, output, algo->chunk_size);
|
| H A D | image-fit.c | 1148 algo->hash_func_ws(data, data_len, value, algo->chunk_size); in calculate_hash()
|
| /openbmc/u-boot/drivers/crypto/ |
| H A D | aspeed_hace_v1.c | 118 unsigned char *pout, unsigned int chunk_size) in hw_sha1() argument 128 unsigned char *pout, unsigned int chunk_size) in hw_sha256() argument 138 unsigned char *pout, unsigned int chunk_size) in hw_sha384() argument 148 unsigned char *pout, unsigned int chunk_size) in hw_sha512() argument
|
| H A D | ace_sha.c | 103 unsigned char *pout, unsigned int chunk_size) in hw_sha256() argument 110 unsigned char *pout, unsigned int chunk_size) in hw_sha1() argument
|
| H A D | aspeed_hace.c | 350 unsigned char *pout, unsigned int chunk_size) in hw_sha1() argument 360 unsigned char *pout, unsigned int chunk_size) in hw_sha256() argument 370 unsigned char *pout, unsigned int chunk_size) in hw_sha384() argument 380 unsigned char *pout, unsigned int chunk_size) in hw_sha512() argument
|
| /openbmc/u-boot/drivers/crypto/fsl/ |
| H A D | fsl_hash.c | 202 unsigned char *pout, unsigned int chunk_size) in hw_sha256() argument 209 unsigned char *pout, unsigned int chunk_size) in hw_sha1() argument
|
| /openbmc/openbmc/poky/scripts/lib/wic/ |
| H A D | filemap.py | 566 chunk_size = 1024 * 1024 571 if read + chunk_size > to_read: 572 chunk_size = to_read - read 573 size = chunk_size
|
| /openbmc/qemu/scripts/ |
| H A D | dump-guest-memory.py | 541 chunk_size = min(TARGET_PAGE_SIZE, left) 542 chunk = qemu_core.read_memory(cur, chunk_size) 544 cur += chunk_size 545 left -= chunk_size
|
| /openbmc/qemu/hw/scsi/ |
| H A D | vmw_pvscsi.c | 666 uint32_t chunk_size, elmcnt = 0; in pvscsi_convert_sglist() local 675 chunk_size = MIN(data_length, sg.resid); in pvscsi_convert_sglist() 676 if (chunk_size) { in pvscsi_convert_sglist() 677 qemu_sglist_add(&r->sgl, sg.dataAddr, chunk_size); in pvscsi_convert_sglist() 680 sg.dataAddr += chunk_size; in pvscsi_convert_sglist() 681 data_length -= chunk_size; in pvscsi_convert_sglist() 682 sg.resid -= chunk_size; in pvscsi_convert_sglist()
|
| /openbmc/qemu/hw/net/ |
| H A D | rtl8139.c | 2186 uint16_t chunk_size = large_send_mss; in rtl8139_cplus_transmit_one() local 2192 chunk_size = tcp_data_len - tcp_send_offset; in rtl8139_cplus_transmit_one() 2204 chunk_size); in rtl8139_cplus_transmit_one() 2208 …mcpy((uint8_t*)p_tcp_hdr + tcp_hlen, (uint8_t*)p_tcp_hdr + tcp_hlen + tcp_send_offset, chunk_size); in rtl8139_cplus_transmit_one() 2221 p_tcpip_hdr->ip_payload = cpu_to_be16(tcp_hlen + chunk_size); in rtl8139_cplus_transmit_one() 2225 int tcp_checksum = ip_checksum(data_to_checksum, tcp_hlen + chunk_size + 12); in rtl8139_cplus_transmit_one() 2235 ip->ip_len = cpu_to_be16(hlen + tcp_hlen + chunk_size); in rtl8139_cplus_transmit_one() 2245 int tso_send_size = ETH_HLEN + hlen + tcp_hlen + chunk_size; in rtl8139_cplus_transmit_one() 2253 chunk_size + ldl_be_p(&p_tcp_hdr->th_seq)); in rtl8139_cplus_transmit_one()
|
| /openbmc/u-boot/cmd/ |
| H A D | otp.c | 1896 algo->hash_func_ws(data, data_len, value, algo->chunk_size); in do_hash()
|
| /openbmc/openbmc-tools/openbmctool/ |
| H A D | openbmctool.py | 1617 for chunk in r.iter_content(chunk_size =1024):
|