Home
last modified time | relevance | path

Searched refs:ilen (Results 1 – 13 of 13) sorted by relevance

/rk3399_rockchip-uboot/include/u-boot/
H A Dsha1.h59 unsigned int ilen);
76 void sha1_csum(const unsigned char *input, unsigned int ilen,
87 void sha1_csum_wd(const unsigned char *input, unsigned int ilen,
100 const unsigned char *input, unsigned int ilen,
H A Dsha512.h71 int sha512_update(sha512_context *ctx, const unsigned char *input, size_t ilen);
91 void sha512_csum(const unsigned char *input, unsigned int ilen,
H A Dsha256.h27 void sha256_csum_wd(const unsigned char *input, unsigned int ilen,
29 void sha256_csum(const unsigned char *input, unsigned int ilen,
H A Dcrc.h28 void crc32_wd_buf(const unsigned char *input, uint ilen,
/rk3399_rockchip-uboot/lib/
H A Dsha1.c266 unsigned int ilen) in sha1_update() argument
271 if (ilen <= 0) in sha1_update()
276 crypto_sha_update(ctx->cdev, (void *)input, ilen); in sha1_update()
284 ctx->total[0] += ilen; in sha1_update()
287 if (ctx->total[0] < (unsigned long) ilen) in sha1_update()
290 if (left && ilen >= fill) { in sha1_update()
294 ilen -= fill; in sha1_update()
298 sha1_process(ctx, input, ilen / 64); in sha1_update()
299 input += ilen / 64 * 64; in sha1_update()
300 ilen = ilen % 64; in sha1_update()
[all …]
H A Dsha512.c236 int sha512_update(sha512_context *ctx, const unsigned char *input, size_t ilen) in sha512_update() argument
242 if (ilen == 0) in sha512_update()
248 ctx->total[0] += (uint64_t)ilen; in sha512_update()
250 if (ctx->total[0] < (uint64_t)ilen) in sha512_update()
253 if (left && ilen >= fill) { in sha512_update()
260 ilen -= fill; in sha512_update()
264 while (ilen >= 128) { in sha512_update()
269 ilen -= 128; in sha512_update()
272 if (ilen > 0) in sha512_update()
273 memcpy((void *)(ctx->buffer + left), input, ilen); in sha512_update()
[all …]
H A Dsha256.c318 void sha256_csum(const unsigned char *input, unsigned int ilen, in sha256_csum() argument
325 ctx.length = ilen; in sha256_csum()
329 sha256_update(&ctx, input, ilen); in sha256_csum()
337 void sha256_csum_wd(const unsigned char *input, unsigned int ilen, in sha256_csum_wd() argument
349 ctx.length = ilen; in sha256_csum_wd()
356 end = input + ilen; in sha256_csum_wd()
366 sha256_update(&ctx, input, ilen); in sha256_csum_wd()
H A Dcrc32.c255 void crc32_wd_buf(const unsigned char *input, unsigned int ilen, in crc32_wd_buf() argument
260 crc = crc32_wd(0, input, ilen, chunk_sz); in crc32_wd_buf()
/rk3399_rockchip-uboot/include/
H A Dpci_rom.h29 uint16_t ilen; member
H A Dhash.h34 void (*hash_func_ws)(const unsigned char *input, unsigned int ilen,
/rk3399_rockchip-uboot/tools/rockchip/
H A Dresource_tool.c225 unsigned int ilen) in sha1_update() argument
230 if (ilen <= 0) in sha1_update()
236 ctx->total[0] += ilen; in sha1_update()
239 if (ctx->total[0] < (unsigned long) ilen) in sha1_update()
242 if (left && ilen >= fill) { in sha1_update()
246 ilen -= fill; in sha1_update()
250 while (ilen >= 64) { in sha1_update()
253 ilen -= 64; in sha1_update()
256 if (ilen > 0) { in sha1_update()
257 memcpy ((void *) (ctx->buffer + left), (void *) input, ilen); in sha1_update()
[all …]
/rk3399_rockchip-uboot/tools/
H A Dmxsimage.c1517 uint32_t ilen = '1'; in sb_parse_line() local
1534 ilen = lptr[0] - '1'; in sb_parse_line()
1539 SB_DCD_WRITE | ilen); in sb_parse_line()
1542 SB_DCD_ANDC | ilen); in sb_parse_line()
1545 SB_DCD_ORR | ilen); in sb_parse_line()
1548 SB_DCD_CHK_EQZ | ilen); in sb_parse_line()
1551 SB_DCD_CHK_EQ | ilen); in sb_parse_line()
1554 SB_DCD_CHK_NEQ | ilen); in sb_parse_line()
1557 SB_DCD_CHK_NEZ | ilen); in sb_parse_line()
/rk3399_rockchip-uboot/drivers/pci/
H A Dpci_rom.c170 image_size = le16_to_cpu(rom_data->ilen) * 512; in pci_rom_load()