| /rk3399_rockchip-uboot/include/u-boot/ |
| H A D | sha1.h | 59 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 D | sha512.h | 71 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 D | sha256.h | 27 void sha256_csum_wd(const unsigned char *input, unsigned int ilen, 29 void sha256_csum(const unsigned char *input, unsigned int ilen,
|
| H A D | crc.h | 28 void crc32_wd_buf(const unsigned char *input, uint ilen,
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | sha1.c | 266 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 D | sha512.c | 236 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 D | sha256.c | 318 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 D | crc32.c | 255 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 D | pci_rom.h | 29 uint16_t ilen; member
|
| H A D | hash.h | 34 void (*hash_func_ws)(const unsigned char *input, unsigned int ilen,
|
| /rk3399_rockchip-uboot/tools/rockchip/ |
| H A D | resource_tool.c | 225 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 D | mxsimage.c | 1517 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 D | pci_rom.c | 170 image_size = le16_to_cpu(rom_data->ilen) * 512; in pci_rom_load()
|