Home
last modified time | relevance | path

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

/Linux-v4.19/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()
/Linux-v4.19/net/tls/
Dtls_sw.c1154 u16 nonce_size, tag_size, iv_size, rec_seq_size; in tls_set_sw_offload() local
1203 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_sw_offload()
1220 if (iv_size > MAX_IV_SIZE || nonce_size > MAX_IV_SIZE) { in tls_set_sw_offload()
1225 cctx->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_sw_offload()
Dtls_device.c659 u16 nonce_size, tag_size, iv_size, rec_seq_size; in tls_set_device_offload() local
692 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_device_offload()
705 ctx->tx.prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_device_offload()
/Linux-v4.19/drivers/char/tpm/
Dtpm2-cmd.c221 __be16 nonce_size; member
255 auth_area.nonce_size = 0; in tpm2_pcr_extend()
/Linux-v4.19/include/linux/mfd/
Dcros_ec_commands.h1344 uint8_t nonce_size; /* Nonce size; may be 0 */ member