riot_sys

Type Alias cose_sign_dec_t

Source
pub type cose_sign_dec_t = cose_sign_dec;
Expand description

@name COSE sign decoding struct

@{

Aliased Type§

struct cose_sign_dec_t {
    pub buf: *const u8,
    pub payload: *const c_void,
    pub ext_aad: *const c_void,
    pub len: u32,
    pub payload_len: u32,
    pub ext_aad_len: u32,
    pub flags: u16,
}

Fields§

§buf: *const u8

< Buffer containing the full sign data

§payload: *const c_void

< Pointer to the payload, could be external

§ext_aad: *const c_void

< Pointer to the additional authenticated data

§len: u32

< Length of the full sign data

§payload_len: u32

< Length of the payload

§ext_aad_len: u32

< Length of the AAD

§flags: u16

< Flags as defined

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 28 bytes

Trait Implementations

Source§

impl Clone for cose_sign_dec

Source§

fn clone(&self) -> cose_sign_dec

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for cose_sign_dec

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for cose_sign_dec

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for cose_sign_dec