fixing apu/apv decoding in EcdhKeyManagement