Searched refs:nonce_size (Results 1 – 3 of 3) sorted by relevance
72 unsigned int nonce_size; /* nonce bytes filled so far */ member488 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()
2660 u16 nonce_size = cipher_desc->nonce; in init_prot_info() local2663 nonce_size = 0; in init_prot_info()2672 if (nonce_size > TLS_MAX_IV_SIZE || prot->aad_size > TLS_MAX_AAD_SIZE) in init_prot_info()2677 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in init_prot_info()
2181 uint8_t nonce_size; /* Nonce size; may be 0 */ member