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

/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/
H A Dcc_config.h12 #if !defined(CCN_UNIT_SIZE)
14 #define CCN_UNIT_SIZE 8 macro
16 #define CCN_UNIT_SIZE 4 macro
18 #define CCN_UNIT_SIZE 2 macro
20 #endif /* !defined(CCN_UNIT_SIZE) */
27 /* These assembly routines only work for a single CCN_UNIT_SIZE. */
28 #if (defined(__x86_64__) && CCN_UNIT_SIZE == 8) || (defined(__i386__) && CCN_UNIT_SIZE == 4)
H A Dccn.h20 #if CCN_UNIT_SIZE == 8
25 #elif CCN_UNIT_SIZE == 4
30 #elif CCN_UNIT_SIZE == 2
35 #elif CCN_UNIT_SIZE == 1
41 #error invalid CCN_UNIT_SIZE
70 #define ccn_nof_size(_size_) (((_size_) + CCN_UNIT_SIZE - 1) / CCN_UNIT_SIZE)
98 #if CCN_UNIT_SIZE >= 2
101 #elif CCN_UNIT_SIZE == 1
106 #if CCN_UNIT_SIZE >
[all...]
H A Dccdigest.h94 #if CCN_SET_ASM && CCN_UNIT_SIZE <= 4
95 #define ccdigest_copy_state(_di_, _dst_, _src_) ccn_set((_di_)->state_size / CCN_UNIT_SIZE, _dst_, _src_)

Completed in 21 milliseconds