Fix ownerous and authenticated in C implementation