![]() |
WE310F5
39.00.000
|
An attribute can be either a buffer attribute or a value attribute. This is determined by bit [29] of the attribute identifier. If this bit is set to 0, then the attribute is a buffer attribute and the field ref must be selected. If the bit is set to 1, it is a value attribute and the field val must be selected. More...
#include <m2mb_crypto.h>
Data Fields | |
uint32_t | attrib_id |
union { | |
struct { | |
void * buf | |
uint32_t len | |
} ref | |
struct { | |
uint32_t a | |
uint32_t b | |
} val | |
} | u |
An attribute can be either a buffer attribute or a value attribute. This is determined by bit [29] of the attribute identifier. If this bit is set to 0, then the attribute is a buffer attribute and the field ref must be selected. If the bit is set to 1, it is a value attribute and the field val must be selected.
Definition at line 335 of file m2mb_crypto.h.
uint32_t a |
Value attribute a.
Definition at line 348 of file m2mb_crypto.h.
uint32_t attrib_id |
Attribute ID. See m2mb_crypto_attr_type_t.
Definition at line 336 of file m2mb_crypto.h.
uint32_t b |
Value attribute b.
Definition at line 350 of file m2mb_crypto.h.
void* buf |
Buffer pointer.
Definition at line 341 of file m2mb_crypto.h.
uint32_t len |
Buffer length.
Definition at line 343 of file m2mb_crypto.h.
struct { ... } ref |
Reference.
union { ... } u |
Reference/value union.
struct { ... } val |
Value.