Commit 23fdb0d2 authored by Roland Mikhel's avatar Roland Mikhel Committed by Dávid Vincze
Browse files

sim: Revert changes to cap values



This commits reverts the changes made to cap values in 75c7c310.

Signed-off-by: default avatarRoland Mikhel <roland.mikhel@arm.com>
Change-Id: Ibbbf66e89d059ef4e4b45218a8a39778c849f21b
parent c5c2b4d7
Loading
Loading
Loading
Loading
+18 −17
Original line number Diff line number Diff line
@@ -11,23 +11,24 @@
#[allow(unused)]
pub enum Caps {
    RSA2048              = (1 << 0),
    EcdsaP256            = (1 << 1),
    SwapUsingScratch     = (1 << 2),
    OverwriteUpgrade     = (1 << 3),
    EncRsa               = (1 << 4),
    EncKw                = (1 << 5),
    ValidatePrimarySlot  = (1 << 6),
    RSA3072              = (1 << 7),
    Ed25519              = (1 << 8),
    EncEc256             = (1 << 9),
    SwapUsingMove        = (1 << 10),
    DowngradePrevention  = (1 << 11),
    EncX25519            = (1 << 12),
    Bootstrap            = (1 << 13),
    Aes256               = (1 << 14),
    RamLoad              = (1 << 15),
    DirectXip            = (1 << 16),
    HwRollbackProtection = (1 << 17),
               /* reserved (1 << 1) */
    EcdsaP256            = (1 << 2),
    SwapUsingScratch     = (1 << 3),
    OverwriteUpgrade     = (1 << 4),
    EncRsa               = (1 << 5),
    EncKw                = (1 << 6),
    ValidatePrimarySlot  = (1 << 7),
    RSA3072              = (1 << 8),
    Ed25519              = (1 << 9),
    EncEc256             = (1 << 10),
    SwapUsingMove        = (1 << 11),
    DowngradePrevention  = (1 << 12),
    EncX25519            = (1 << 13),
    Bootstrap            = (1 << 14),
    Aes256               = (1 << 15),
    RamLoad              = (1 << 16),
    DirectXip            = (1 << 17),
    HwRollbackProtection = (1 << 18),
}

impl Caps {