Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(76)

Issue 40690046: code review 40690046: crypto/cipher: speed up gcmInc32. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by hanwen-google
Modified:
11 years, 7 months ago
Reviewers:
CC:
agl1, golang-dev
Visibility:
Public.

Description

crypto/cipher: speed up gcmInc32. The counter is not secret, so the code does not need to be constant time. benchmark old MB/s new MB/s speedup BenchmarkAESGCMSeal1K 89.90 92.84 1.03x BenchmarkAESGCMOpen1K 89.16 92.30 1.04x

Patch Set 1 #

Patch Set 2 : diff -r d45af824172f https://code.google.com/p/go #

Patch Set 3 : diff -r d45af824172f https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M src/pkg/crypto/cipher/gcm.go View 1 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 2
hanwen-google
Hello agl1 (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 7 months ago (2013-12-12 10:20:01 UTC) #1
agl1
11 years, 7 months ago (2013-12-12 16:25:36 UTC) #2
*** Submitted as https://code.google.com/p/go/source/detail?r=cf1632b6db5e ***

crypto/cipher: speed up gcmInc32.

The counter is not secret, so the code does not need to be
constant time.

benchmark                    old MB/s     new MB/s  speedup
BenchmarkAESGCMSeal1K           89.90        92.84    1.03x
BenchmarkAESGCMOpen1K           89.16        92.30    1.04x

R=agl
CC=golang-dev
https://codereview.appspot.com/40690046

Committer: Adam Langley <agl@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b