Home
last modified time | relevance | path

Searched refs:nonce_size (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/crypto/
H A Dvmac.c71 unsigned int nonce_size; /* nonce bytes filled so far */ member
487 dctx->nonce_size = 0; in vmac_init()
498 if (dctx->nonce_size < VMAC_NONCEBYTES) { in vmac_update()
499 n = min(len, VMAC_NONCEBYTES - dctx->nonce_size); in vmac_update()
500 memcpy(&dctx->nonce.bytes[dctx->nonce_size], p, n); in vmac_update()
501 dctx->nonce_size += n; in vmac_update()
568 if (dctx->nonce_size != VMAC_NONCEBYTES) in vmac_final()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/char/tpm/
H A Dtpm2-cmd.c221 __be16 nonce_size; member
250 auth_area.nonce_size = 0; in tpm2_pcr_extend()
/kernel/linux/linux-6.6/drivers/char/tpm/
H A Dtpm2-cmd.c221 __be16 nonce_size; member
250 auth_area.nonce_size = 0; in tpm2_pcr_extend()
/kernel/linux/linux-5.10/net/tls/
H A Dtls_sw.c2321 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local
2378 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_sw_offload()
2395 nonce_size = TLS_CIPHER_AES_GCM_256_IV_SIZE; in tls_set_sw_offload()
2412 nonce_size = TLS_CIPHER_AES_CCM_128_IV_SIZE; in tls_set_sw_offload()
2434 if (iv_size > MAX_IV_SIZE || nonce_size > MAX_IV_SIZE || in tls_set_sw_offload()
2441 nonce_size = 0; in tls_set_sw_offload()
2451 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_sw_offload()
H A Dtls_device.c1017 u16 nonce_size, tag_size, iv_size, rec_seq_size; in tls_set_device_offload() local
1053 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_device_offload()
1074 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_device_offload()
/kernel/linux/linux-6.6/net/tls/
H A Dtls_sw.c2669 u16 nonce_size; in tls_set_sw_offload() local
2703 nonce_size = cipher_desc->nonce; in tls_set_sw_offload()
2711 nonce_size = 0; in tls_set_sw_offload()
2720 if (nonce_size > MAX_IV_SIZE || prot->aad_size > TLS_MAX_AAD_SIZE) { in tls_set_sw_offload()
2727 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_sw_offload()
/kernel/linux/linux-5.10/include/linux/platform_data/
H A Dcros_ec_commands.h2153 uint8_t nonce_size; /* Nonce size; may be 0 */ member
2157 uint8_t nonce_data[64]; /* Nonce data; ignored if nonce_size=0 */
/kernel/linux/linux-6.6/include/linux/platform_data/
H A Dcros_ec_commands.h2181 uint8_t nonce_size; /* Nonce size; may be 0 */ member
2185 uint8_t nonce_data[64]; /* Nonce data; ignored if nonce_size=0 */

Completed in 41 milliseconds