veyron/runtimes/google/ipc: fix a bug in caching blessings.

  o The bug makes a client to send its blessing for every new flow
    without using a cached one causing the server validating the same
    blessing repeatedly.
  o IPC benchmark 'Benchmark___10B' shows the latency of a single Echo call
    is reduced from 8.03ms to 5.66ms.
  o Also fixed a bug in using blessings instance (pointer) as cache key,
    which makes the cache under utilized.

Change-Id: Ibda83271236638a0c4aad550480fd78a11347191
3 files changed
tree: c8bcd0f2733d15f96e0e691d45eb066b370feabc
  1. lib/
  2. profiles/
  3. runtimes/
  4. security/
  5. services/
  6. tools/