Searched refs:buf_added (Results 1 – 2 of 2) sorted by relevance
273 int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count); in gcm_update_mac() local275 memcpy(&buf[*buf_count], src, buf_added); in gcm_update_mac()277 *buf_count += buf_added; in gcm_update_mac()278 src += buf_added; in gcm_update_mac()279 count -= buf_added; in gcm_update_mac()
425 int buf_added = min(count, GHASH_BLOCK_SIZE - *buf_count); in gcm_update_mac() local427 memcpy(&buf[*buf_count], src, buf_added); in gcm_update_mac()429 *buf_count += buf_added; in gcm_update_mac()430 src += buf_added; in gcm_update_mac()431 count -= buf_added; in gcm_update_mac()