Searched refs:IS_ALIGNED (Results 1 – 3 of 3) sorted by relevance
27 #define IS_ALIGNED(ptr, type) (((uintptr_t)(ptr) & (alignof(type) - 1)) == 0) macro266 if (IS_ALIGNED(k, uint32_t)) { in aesCtrInit()281 const bool is_src_aligned = IS_ALIGNED(src, uint32_t); in aesCtr()282 const bool is_dst_aligned = IS_ALIGNED(dst, uint32_t); in aesCtr()
39 #define IS_ALIGNED(x, align) (!((x) & ((align) - 1))) macro
279 while (!IS_ALIGNED(proto->ByteSizeLong(), pagesize)) { in prepare_proto()