Home
last modified time | relevance | path

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

/linux-6.1.9/crypto/
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-6.1.9/net/tls/
Dtls_sw.c2474 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local
2536 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_sw_offload()
2553 nonce_size = TLS_CIPHER_AES_GCM_256_IV_SIZE; in tls_set_sw_offload()
2570 nonce_size = TLS_CIPHER_AES_CCM_128_IV_SIZE; in tls_set_sw_offload()
2587 nonce_size = 0; in tls_set_sw_offload()
2604 nonce_size = TLS_CIPHER_SM4_GCM_IV_SIZE; in tls_set_sw_offload()
2621 nonce_size = TLS_CIPHER_SM4_CCM_IV_SIZE; in tls_set_sw_offload()
2638 nonce_size = TLS_CIPHER_ARIA_GCM_128_IV_SIZE; in tls_set_sw_offload()
2655 nonce_size = TLS_CIPHER_ARIA_GCM_256_IV_SIZE; in tls_set_sw_offload()
2674 nonce_size = 0; in tls_set_sw_offload()
[all …]
/linux-6.1.9/drivers/char/tpm/
Dtpm2-cmd.c221 __be16 nonce_size; member
250 auth_area.nonce_size = 0; in tpm2_pcr_extend()
/linux-6.1.9/include/linux/platform_data/
Dcros_ec_commands.h2171 uint8_t nonce_size; /* Nonce size; may be 0 */ member