Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/linux/drivers/char/tpm/
H A Dtpm2-cmd.c221 __be16 nonce_size; member
250 auth_area.nonce_size = 0; in tpm2_pcr_extend()
/openbmc/linux/net/tls/
H A Dtls_sw.c2672 u16 nonce_size; in tls_set_sw_offload() local
2706 nonce_size = cipher_desc->nonce; in tls_set_sw_offload()
2714 nonce_size = 0; in tls_set_sw_offload()
2723 if (nonce_size > MAX_IV_SIZE || prot->aad_size > TLS_MAX_AAD_SIZE) { in tls_set_sw_offload()
2730 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_sw_offload()
/openbmc/u-boot/drivers/misc/
H A Dcros_ec.c531 p.nonce_size = 0; in cros_ec_read_hash()
558 p.nonce_size = 0; in cros_ec_invalidate_hash()
/openbmc/u-boot/include/
H A Dec_commands.h1904 uint8_t nonce_size; /* Nonce size; may be 0 */ member
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h2181 uint8_t nonce_size; /* Nonce size; may be 0 */ member