commit | fa33a8ee0b8f6bba9645e22142c8284127b8c749 | [log] [tgz] |
---|---|---|
author | Ankur <ataly@google.com> | Tue Dec 15 10:39:12 2015 -0800 |
committer | Ankur <ataly@google.com> | Tue Dec 15 10:39:12 2015 -0800 |
tree | 0356c5ef6c2d00fcba11e5fbb28880467b6b570a | |
parent | 7617a792d66f73d5205697ad048a92f9324bef8d [diff] |
"x/ref": Maintain a cache of IBE encryptions performed during connection setup Presently, our RPC system implements Protocol 3 from the following document for private mutual authentication https://docs.google.com/document/d/1FpLJSiKy4sXxRUSZh1BQrhUEn7io-dGW7y-DMszI21Q/edit#heading=h.knkf4cn3hk6w This protocol is very similar to our regular authentication protocol, except that the sever sends its blessings encrypted using IBE. Currently, this IBE encryption cost is incurred during each connection created by the server. Since a server uses the same blessings accross all connections it should possible to encrypt the server's blessings once and thereby amortize the encryption cost. This CL achieves this amortization by implementing a cache of all IBE encryption performed during connection setup. Change-Id: I6d0f4b1ba051b3727345af35a075dcaa6fcf9b53
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.