Home
last modified time | relevance | path

Searched refs:iv (Results 1 – 8 of 8) sorted by relevance

/xen/stubdom/vtpm/
A Dvtpmblk.c127 uint8_t iv[BLKSZ]; in encrypt_vtpmblk() local
150 tpm_get_extern_random_bytes(iv, ivlen); in encrypt_vtpmblk()
151 ivptr = iv + ivlen; in encrypt_vtpmblk()
177 memcpy(cptr, iv, BLKSZ); in encrypt_vtpmblk()
184 aes_crypt_cbc(&aes_ctx, AES_ENCRYPT, clen, iv, clbuf, cptr); in encrypt_vtpmblk()
195 uint8_t iv[BLKSZ]; in decrypt_vtpmblk() local
204 memcpy(iv, cipher, BLKSZ); in decrypt_vtpmblk()
216 ivptr = iv + BLKSZ - temp; in decrypt_vtpmblk()
229 aes_crypt_cbc(&aes_ctx, AES_DECRYPT, clen, iv, cptr, *clear); in decrypt_vtpmblk()
/xen/stubdom/vtpmmgr/
A Ddisk_format.h24 uint8_t iv[16]; member
188 struct mac128 iv; member
A Ddisk_write.c57 aes_encrypt_ctr(&pt.iv, sizeof(pt.data) + 16, &pt.data, sizeof(pt.data), auth_key); in disk_write_vtpm_page()
A Ddisk_read.c228 aes_decrypt_ctr(pt.data, sizeof(pt.data), &pt.iv, sizeof(pt.data) + 16, group_key); in load_verify_vtpm_page()
/xen/xen/drivers/passthrough/amd/
A Diommu-defs.h139 bool iv:1; member
A Dpci_amd_iommu.c124 dte->iv = iommu_intremap; in amd_iommu_setup_domain_device()
294 dte->iv = true; in amd_iommu_disable_domain_device()
A Diommu_map.c141 dte->iv = valid; in amd_iommu_set_intremap_table()
A Diommu_init.c1254 .iv = iommu_intremap, in amd_iommu_setup_device_table()

Completed in 16 milliseconds