Searched refs:nonce_size (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/crypto/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/net/tls/ |
| H A D | tls_sw.c | 2311 u16 nonce_size, tag_size, iv_size, rec_seq_size, salt_size; in tls_set_sw_offload() local 2368 nonce_size = TLS_CIPHER_AES_GCM_128_IV_SIZE; in tls_set_sw_offload() 2385 nonce_size = TLS_CIPHER_AES_GCM_256_IV_SIZE; in tls_set_sw_offload() 2402 nonce_size = TLS_CIPHER_AES_CCM_128_IV_SIZE; in tls_set_sw_offload() 2424 if (iv_size > MAX_IV_SIZE || nonce_size > MAX_IV_SIZE || in tls_set_sw_offload() 2431 nonce_size = 0; in tls_set_sw_offload() 2441 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in tls_set_sw_offload()
|
| H A D | tls_device.c | 1017 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()
|
| /OK3568_Linux_fs/kernel/drivers/char/tpm/ |
| H A D | tpm2-cmd.c | 221 __be16 nonce_size; member 250 auth_area.nonce_size = 0; in tpm2_pcr_extend()
|
| /OK3568_Linux_fs/u-boot/drivers/misc/ |
| H A D | cros_ec.c | 479 p.nonce_size = 0; in cros_ec_read_hash() 506 p.nonce_size = 0; in cros_ec_invalidate_hash()
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | ec_commands.h | 939 uint8_t nonce_size; /* Nonce size; may be 0 */ member
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | cros_ec_commands.h | 2153 uint8_t nonce_size; /* Nonce size; may be 0 */ member
|