Home
last modified time | relevance | path

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

/linux/crypto/
H A 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()
/linux/net/tls/
H A Dtls_sw.c2660 u16 nonce_size = cipher_desc->nonce; in init_prot_info() local
2663 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()
/linux/include/linux/platform_data/
H A Dcros_ec_commands.h2181 uint8_t nonce_size; /* Nonce size; may be 0 */ member