Enum optee_utee::crypto_op::ElementId
source · #[repr(u32)]pub enum ElementId {
ElementNone = 0,
EccCurveNistP192 = 1,
EccCurveNistP224 = 2,
EccCurveNistP256 = 3,
EccCurveNistP384 = 4,
EccCurveNistP521 = 5,
EccCurve25519 = 768,
}
Expand description
This specification defines support for optional cryptographic elements.
Variants§
ElementNone = 0
Where algId fully defines the required support, the special value TEE_CRYPTO_ELEMENT_NONE should be used
EccCurveNistP192 = 1
Source: NIST
, Generic: Y
, Size: 192 bits
EccCurveNistP224 = 2
Source: NIST
, Generic: Y
, Size: 224 bits
EccCurveNistP256 = 3
Source: NIST
, Generic: Y
, Size: 256 bits
EccCurveNistP384 = 4
Source: NIST
, Generic: Y
, Size: 384 bits
EccCurveNistP521 = 5
Source: NIST
, Generic: Y
, Size: 521 bits
EccCurve25519 = 768
Source: IETF
, Generic: N
, Size: 256 bits
Auto Trait Implementations§
impl Freeze for ElementId
impl RefUnwindSafe for ElementId
impl Send for ElementId
impl Sync for ElementId
impl Unpin for ElementId
impl UnwindSafe for ElementId
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more