test patch for single use (EC)DH keys