mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/vmapple/aes: Introduce aes engine
VMApple contains an "aes" engine device that it uses to encrypt and decrypt its nvram. It has trivial hard coded keys it uses for that purpose. Add device emulation for this device model. Signed-off-by: Alexander Graf <graf@amazon.com> Signed-off-by: Phil Dennis-Jordan <phil@philjordan.eu> Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com> Tested-by: Akihiko Odaki <akihiko.odaki@daynix.com> Message-ID: <20241223221645.29911-10-phil@philjordan.eu> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
11fa056e79
commit
c960b38955
7 changed files with 650 additions and 0 deletions
17
include/hw/vmapple/vmapple.h
Normal file
17
include/hw/vmapple/vmapple.h
Normal file
|
@ -0,0 +1,17 @@
|
|||
/*
|
||||
* Devices specific to the VMApple machine type
|
||||
*
|
||||
* Copyright © 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
||||
*
|
||||
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
||||
* See the COPYING file in the top-level directory.
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later
|
||||
*/
|
||||
|
||||
#ifndef HW_VMAPPLE_VMAPPLE_H
|
||||
#define HW_VMAPPLE_VMAPPLE_H
|
||||
|
||||
#define TYPE_APPLE_AES "apple-aes"
|
||||
|
||||
#endif /* HW_VMAPPLE_VMAPPLE_H */
|
Loading…
Add table
Add a link
Reference in a new issue