That's confusing, two times the same result, one time in host order, on time in network order. Why not just one return value in host order?Pointer API is similar to calc_keyid_v2(). Do you sugegst to change calc_keyid_v2() API too?
No, we have to leave the existing API as-is.
To introduce non-confusing API that contradict other parts of API would be more confusing than it already is.
Indeed. Sorry for the confusion. Stefan