Home
last modified time | relevance | path

Searched refs:uint32_t (Results 1 – 11 of 11) sorted by relevance

/bootable/bootloader/legacy/libc/
Drsa.c33 static void subM(RSAPublicKey *key, uint32_t *a) { in subM()
38 a[i] = (uint32_t)A; in subM()
44 static int geM(RSAPublicKey *key, const uint32_t *a) { in geM()
56 uint32_t* c, in montMulAdd()
57 const uint32_t a, in montMulAdd()
58 const uint32_t* b) { in montMulAdd()
60 uint32_t d0 = (uint32_t)A * key->n0inv; in montMulAdd()
61 uint64_t B = (uint64_t)d0 * key->n[0] + (uint32_t)A; in montMulAdd()
66 B = (B >> 32) + (uint64_t)d0 * key->n[i] + (uint32_t)A; in montMulAdd()
67 c[i - 1] = (uint32_t)B; in montMulAdd()
[all …]
Drsa.h39 #define RSANUMWORDS (RSANUMBYTES / sizeof(uint32_t))
43 uint32_t n0inv; /* -1 / n[0] mod 2^32 */
44 uint32_t n[RSANUMWORDS]; /* modulus as little endian array */
45 uint32_t rr[RSANUMWORDS]; /* R^2 as little endian array */
Dsha.c34 uint32_t W[80]; in SHA1_transform()
35 uint32_t A, B, C, D, E; in SHA1_transform()
40 uint32_t tmp = *p++ << 24; in SHA1_transform()
58 uint32_t tmp = rol(5,A) + E + W[t]; in SHA1_transform()
121 uint32_t tmp = ctx->state[i]; in SHA_final()
Dinttypes.h33 typedef unsigned long uint32_t; typedef
Dsha.h41 uint32_t state[5];
/bootable/diskinstaller/libdiskconfig/
Dconfig_mbr.c32 uint32_t start, uint32_t len) in cfg_pentry()
55 static inline uint32_t
56 kb_to_lba(uint32_t len_kb, uint32_t sect_size) in kb_to_lba()
66 return (uint32_t)(lba & 0xffffffffULL); in kb_to_lba()
72 uint32_t *lba) in mk_pri_pentry()
91 item->offset = (loff_t)((uint32_t)((uint8_t *)(&mbr->ptable[pnum]))); in mk_pri_pentry()
101 if (pinfo->len_kb != (uint32_t)-1) { in mk_pri_pentry()
114 pinfo->type, *lba, (uint32_t)len_lba); in mk_pri_pentry()
117 *lba += (uint32_t)len_lba; in mk_pri_pentry()
141 mk_ext_pentry(struct disk_info *dinfo, struct part_info *pinfo, uint32_t *lba, in mk_ext_pentry()
[all …]
Ddiskconfig.h63 uint32_t start_lba; /* bytes 8-11 */
64 uint32_t len_lba; /* bytes 12-15 */
69 uint32_t disk_sig; /* bytes 440-443 */
79 uint32_t len_kb; /* in 1K-bytes */
80 uint32_t start_lba; /* the LBA where this partition begins */
87 uint32_t skip_lba; /* in sectors (1 unit of LBA) */
88 uint32_t num_lba; /* the size of the disk in LBA units */
96 uint32_t len;
101 struct write_list *alloc_wl(uint32_t data_len);
Ddiskconfig.c42 uint32_t multiple = 1; in parse_len()
127 pinfo->len_kb = (uint32_t) len; in load_partitions()
316 dinfo->num_lba = (uint32_t)(disk_size / (uint64_t)dinfo->sect_size); in validate()
328 dinfo->num_lba = (uint32_t)(stat.st_size / dinfo->sect_size); in validate()
348 if (part->len_kb != (uint32_t)-1) { in validate()
489 if (part->len_kb == (uint32_t)-1) in dump_disk_config()
Dwrite_lst.c30 alloc_wl(uint32_t data_len) in alloc_wl()
/bootable/diskinstaller/editdisklbl/
Deditdisklbl.c156 pinfo->len_kb = (uint32_t) ((tmp_stat.st_size + 1023) >> 10); in parse_args()
/bootable/diskinstaller/
Dinstaller.c139 process_ext2_image(const char *dst, const char *src, uint32_t flags, int test) in process_ext2_image()
204 uint32_t flags = 0; in process_image_node()