commit | ede1cb9f9f2f84c3bace9ca113fd740fc916cdd0 | [log] [tgz] |
---|---|---|
author | Sam Whited <sam@samwhited.com> | Thu Sep 29 10:02:56 2016 -0500 |
committer | Marcel van Lohuizen <mpvl@golang.org> | Fri Oct 07 06:04:04 2016 +0000 |
tree | a92eb5f4eaff2bc1c5175a0c6c3fef312d48a878 | |
parent | bb361d5c81621301f3c467bd477d2589151004e2 [diff] |
secure/precis: fix compare order of operations Reduce the number of heap allocations required by the compare operation, and factor out enforce and compare transformations into a single function. Also throw in a minor typo fix in a comment. Change-Id: I8e9fec1fc51d38a1950f95be72e07fb80d9949e3 Reviewed-on: https://go-review.googlesource.com/29966 Reviewed-by: Marcel van Lohuizen <mpvl@golang.org>