Home
last modified time | relevance | path

Searched refs:CCN_UNIT_BITS (Results 1 – 2 of 2) sorted by relevance

/xnu-12377.1.9/osfmk/corecrypto/ !
H A Dccn_internal.h84 cc_unit _c = (tmp) >> CCN_UNIT_BITS; \
99 cc_unit _b = (tmp) >> (2 * CCN_UNIT_BITS - 1); \
109 hi += (tmp) >> CCN_UNIT_BITS; \
117 hi += ((tmp) >> CCN_UNIT_BITS) * (i); \
124 hi += lo >> CCN_UNIT_BITS; \
126 hi >>= CCN_UNIT_BITS; \
160 return 1 & (x[k >> CCN_LOG2_BITS_PER_UNIT] >> (k & (CCN_UNIT_BITS - 1))); in ccn_bit()
/xnu-12377.1.9/EXTERNAL_HEADERS/corecrypto/ !
H A Dccn.h36 #define CCN_UNIT_BITS (sizeof(cc_unit) * 8) macro
38 #define CCN_UNIT_LOWER_HALF_MASK ((CCN_UNIT_MASK) >> (CCN_UNIT_BITS/2))
40 #define CCN_UNIT_HALF_BITS (CCN_UNIT_BITS / 2)
48 #define ccn_nof(_bits_) (((_bits_) + CCN_UNIT_BITS - 1) >> CCN_LOG2_BITS_PER_UNIT)
59 #define ccn_bitsof_n(_n_) ((_n_) * CCN_UNIT_BITS)