/external/vboot_reference/firmware/lib/cryptolib/ |
D | sha256.c | 247 unsigned int new_len, rem_len, tmp_len; in SHA256_update() local 251 rem_len = len < tmp_len ? len : tmp_len; in SHA256_update() 253 Memcpy(&ctx->block[ctx->len], data, rem_len); in SHA256_update() 260 new_len = len - rem_len; in SHA256_update() 263 shifted_data = data + rem_len; in SHA256_update() 268 rem_len = new_len % SHA256_BLOCK_SIZE; in SHA256_update() 271 rem_len); in SHA256_update() 273 ctx->len = rem_len; in SHA256_update()
|
D | sha512.c | 269 unsigned int new_len, rem_len, tmp_len; in SHA512_update() local 273 rem_len = len < tmp_len ? len : tmp_len; in SHA512_update() 275 Memcpy(&ctx->block[ctx->len], data, rem_len); in SHA512_update() 282 new_len = len - rem_len; in SHA512_update() 285 shifted_data = data + rem_len; in SHA512_update() 290 rem_len = new_len % SHA512_BLOCK_SIZE; in SHA512_update() 293 rem_len); in SHA512_update() 295 ctx->len = rem_len; in SHA512_update()
|
/external/avb/libavb/ |
D | avb_sha512.c | 323 size_t new_len, rem_len, tmp_len; in avb_sha512_update() local 327 rem_len = len < tmp_len ? len : tmp_len; in avb_sha512_update() 329 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha512_update() 336 new_len = len - rem_len; in avb_sha512_update() 339 shifted_data = data + rem_len; in avb_sha512_update() 344 rem_len = new_len % AVB_SHA512_BLOCK_SIZE; in avb_sha512_update() 346 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update() 348 ctx->len = rem_len; in avb_sha512_update()
|
D | avb_sha256.c | 337 size_t new_len, rem_len, tmp_len; in avb_sha256_update() local 341 rem_len = len < tmp_len ? len : tmp_len; in avb_sha256_update() 343 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha256_update() 350 new_len = len - rem_len; in avb_sha256_update() 353 shifted_data = data + rem_len; in avb_sha256_update() 358 rem_len = new_len % AVB_SHA256_BLOCK_SIZE; in avb_sha256_update() 360 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update() 362 ctx->len = rem_len; in avb_sha256_update()
|
/external/u-boot/lib/libavb/ |
D | avb_sha512.c | 296 unsigned int new_len, rem_len, tmp_len; in avb_sha512_update() local 300 rem_len = len < tmp_len ? len : tmp_len; in avb_sha512_update() 302 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha512_update() 309 new_len = len - rem_len; in avb_sha512_update() 312 shifted_data = data + rem_len; in avb_sha512_update() 317 rem_len = new_len % AVB_SHA512_BLOCK_SIZE; in avb_sha512_update() 319 avb_memcpy(ctx->block, &shifted_data[block_nb << 7], rem_len); in avb_sha512_update() 321 ctx->len = rem_len; in avb_sha512_update()
|
D | avb_sha256.c | 298 unsigned int new_len, rem_len, tmp_len; in avb_sha256_update() local 302 rem_len = len < tmp_len ? len : tmp_len; in avb_sha256_update() 304 avb_memcpy(&ctx->block[ctx->len], data, rem_len); in avb_sha256_update() 311 new_len = len - rem_len; in avb_sha256_update() 314 shifted_data = data + rem_len; in avb_sha256_update() 319 rem_len = new_len % AVB_SHA256_BLOCK_SIZE; in avb_sha256_update() 321 avb_memcpy(ctx->block, &shifted_data[block_nb << 6], rem_len); in avb_sha256_update() 323 ctx->len = rem_len; in avb_sha256_update()
|
/external/e2fsprogs/lib/ext2fs/ |
D | crc32c.c | 94 size_t rem_len; in crc32_body() local 107 rem_len = len & 3; in crc32_body() 110 rem_len = len & 7; in crc32_body() 125 len = rem_len; in crc32_body()
|
/external/u-boot/lib/ |
D | crc32.c | 183 size_t rem_len; in crc32_no_comp() local 198 rem_len = len & 3; in crc32_no_comp() 208 len = rem_len; in crc32_no_comp()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | rrm.c | 765 int rem_len; in wpas_beacon_rep_add_frame_body() local 767 rem_len = 255 - sizeof(struct rrm_measurement_beacon_report) - in wpas_beacon_rep_add_frame_body() 801 rem_len -= pos - buf; in wpas_beacon_rep_add_frame_body() 811 while (ies_len > 2 && 2U + ies[1] <= ies_len && rem_len > 0) { in wpas_beacon_rep_add_frame_body() 817 2 + elen > rem_len) in wpas_beacon_rep_add_frame_body() 824 rem_len -= 2 + elen; in wpas_beacon_rep_add_frame_body()
|
D | wpa_supplicant.c | 2426 size_t rem_len, hdr_len, hlp_len, len, ie_len = 0; in wpas_add_fils_hlp_req() local 2432 rem_len = ie_buf_len - ie_len; in wpas_add_fils_hlp_req() 2437 if (rem_len < 2 + hdr_len + hlp_len) { in wpas_add_fils_hlp_req() 2440 (unsigned long) rem_len, in wpas_add_fils_hlp_req() 2468 rem_len -= 2 + len; in wpas_add_fils_hlp_req() 2472 if (rem_len < 2 + len) in wpas_add_fils_hlp_req() 2482 rem_len -= 2 + len; in wpas_add_fils_hlp_req()
|