Searched refs:CCN_UNIT_SIZE (Results 1 - 3 of 3) sorted by relevance

/xnu-2782.1.97/EXTERNAL_HEADERS/corecrypto/
H A Dcc_config.h90 #define CCN_UNIT_SIZE 4 // 32 bits macro
109 #if !defined(CCN_UNIT_SIZE)
111 #define CCN_UNIT_SIZE 8 macro
113 #define CCN_UNIT_SIZE 4 macro
115 #define CCN_UNIT_SIZE 2 macro
117 #endif /* !defined(CCN_UNIT_SIZE) */
158 /* These assembly routines only work for a single CCN_UNIT_SIZE. */
159 #if (defined(__x86_64__) && CCN_UNIT_SIZE == 8) || (defined(__i386__) && CCN_UNIT_SIZE == 4)
H A Dccn.h22 #if CCN_UNIT_SIZE == 8
27 #elif CCN_UNIT_SIZE == 4
32 #elif CCN_UNIT_SIZE == 2
37 #elif CCN_UNIT_SIZE == 1
43 #error invalid CCN_UNIT_SIZE
72 #define ccn_nof_size(_size_) (((_size_) + CCN_UNIT_SIZE - 1) / CCN_UNIT_SIZE)
100 #if CCN_UNIT_SIZE >= 2
103 #elif CCN_UNIT_SIZE == 1
108 #if CCN_UNIT_SIZE >
[all...]
H A Dccdigest.h103 #if CCN_SET_ASM && CCN_UNIT_SIZE <= 4
104 #define ccdigest_copy_state(_di_, _dst_, _src_) ccn_set((_di_)->state_size / CCN_UNIT_SIZE, _dst_, _src_)

Completed in 23 milliseconds