Home
last modified time | relevance | path

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

/crypto/
Dvmac.c72 unsigned int nonce_size; /* nonce bytes filled so far */ member
488 dctx->nonce_size = 0; in vmac_init()
499 if (dctx->nonce_size < VMAC_NONCEBYTES) { in vmac_update()
500 n = min(len, VMAC_NONCEBYTES - dctx->nonce_size); in vmac_update()
501 memcpy(&dctx->nonce.bytes[dctx->nonce_size], p, n); in vmac_update()
502 dctx->nonce_size += n; in vmac_update()
569 if (dctx->nonce_size != VMAC_NONCEBYTES) in vmac_final()