Searched refs:nonce_size (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/crypto/ |
D | vmac.c | 72 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-v5.15/net/tls/ |
D | tls_sw.c | 2314 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local 2371 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_sw_offload() 2388 nonce_size = TLS_CIPHER_AES_GCM_256_IV_SIZE; in tls_set_sw_offload() 2405 nonce_size = TLS_CIPHER_AES_CCM_128_IV_SIZE; in tls_set_sw_offload() 2423 nonce_size = 0; in tls_set_sw_offload() 2442 if (iv_size > MAX_IV_SIZE || nonce_size > MAX_IV_SIZE || in tls_set_sw_offload() 2449 nonce_size = 0; in tls_set_sw_offload() 2459 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_sw_offload()
|
D | tls_device.c | 1013 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_device_offload() local 1049 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_device_offload() 1071 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_device_offload()
|
/Linux-v5.15/drivers/char/tpm/ |
D | tpm2-cmd.c | 221 __be16 nonce_size; member 250 auth_area.nonce_size = 0; in tpm2_pcr_extend()
|
/Linux-v5.15/include/linux/platform_data/ |
D | cros_ec_commands.h | 2165 uint8_t nonce_size; /* Nonce size; may be 0 */ member
|