Trunks already supports using sessions with or w/o the 1st parameter encryption. However, a salted sessionKey is always created to protect authValue.
We should be able to start sessions with an empty sessionKey and w/o salt encryption for the use cases that don't need it: known, typically empty, authValue and no parameter encryption needed.
That should noticeably improve performance.
StartAuthSession is known to be typically taking ~800ms because of key initialization needed for that: b/35579370#comment41
Comment 1 by apronin@chromium.org
, Jun 8 2018