Pci Encryption/decryption Controller -

Pci Encryption/decryption Controller -

// 4. Set length and algorithm (AES-256-GCM) pci_write32(bar, LENGTH, data_len); pci_write32(bar, ALGO_MODE, 0x30); // 0x30 = AES-256-GCM

// 8. Wait for STATUS.DONE (poll or interrupt) while ((pci_read32(bar, STATUS) & 0x2) == 0); pci encryption/decryption controller

// 7. Start operation pci_write32(bar, CONTROL, 0x2); // GO bit STATUS) & 0x2) == 0)

Geri
Üst