wincng: add support for authentication keys to be passed in memory

Based upon 18cfec8336e and daa2dfa2db.
2 files changed