Home
last modified time | relevance | path

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

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