Home
last modified time | relevance | path

Searched refs:buf_count (Results 1 – 2 of 2) sorted by relevance

/arch/arm64/crypto/
A Dghash-ce-glue.c239 int *buf_count, struct gcm_aes_ctx *ctx) in gcm_update_mac() argument
241 if (*buf_count > 0) { in gcm_update_mac()
244 memcpy(&buf[*buf_count], src, buf_added); in gcm_update_mac()
246 *buf_count += buf_added; in gcm_update_mac()
255 *buf_count ? buf : NULL, in gcm_update_mac()
260 *buf_count = 0; in gcm_update_mac()
265 *buf_count = count; in gcm_update_mac()
275 int buf_count = 0; in gcm_calculate_auth_mac() local
283 gcm_update_mac(dg, walk.addr, n, buf, &buf_count, ctx); in gcm_calculate_auth_mac()
288 if (buf_count) { in gcm_calculate_auth_mac()
[all …]
/arch/arm/crypto/
A Dghash-ce-glue.c243 int *buf_count, struct gcm_key *ctx) in gcm_update_mac() argument
245 if (*buf_count > 0) { in gcm_update_mac()
248 memcpy(&buf[*buf_count], src, buf_added); in gcm_update_mac()
250 *buf_count += buf_added; in gcm_update_mac()
259 *buf_count ? buf : NULL); in gcm_update_mac()
263 *buf_count = 0; in gcm_update_mac()
268 *buf_count = count; in gcm_update_mac()
278 int buf_count = 0; in gcm_calculate_auth_mac() local
286 gcm_update_mac(dg, walk.addr, n, buf, &buf_count, ctx); in gcm_calculate_auth_mac()
297 if (buf_count) { in gcm_calculate_auth_mac()
[all …]

Completed in 9 milliseconds