Searched refs:rem_len (Results 1 – 3 of 3) sorted by relevance
/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/libnfc-nci/halimpl/bcm2079x/hal/hal/ |
D | nfc_hal_dm.c | 107 UINT8 num_param = 0, param_len, rem_len, *p_tlv; in nfc_hal_dm_set_config() local 124 rem_len = tlv_size; in nfc_hal_dm_set_config() 126 while (rem_len > 1) in nfc_hal_dm_set_config() 133 rem_len -= 2; /* param type and length */ in nfc_hal_dm_set_config() 134 if (rem_len >= param_len) in nfc_hal_dm_set_config() 136 rem_len -= param_len; in nfc_hal_dm_set_config() 139 if (rem_len == 0) in nfc_hal_dm_set_config()
|