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

Delta Between Two Patch Sets: src/pkg/crypto/aes/cipher_generic.go

Issue 6549055: code review 6549055: crypto/aes: speed up using AES-NI on amd64 (Closed)
Left Patch Set: diff -r 29cff1e8de4e https://code.google.com/p/go Created 11 years, 6 months ago
Right Patch Set: diff -r c2719ae32b09 https://code.google.com/p/go/ Created 11 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/crypto/aes/cipher_asm.go ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2012 The Go Authors. All rights reserved. 1 // Copyright 2012 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build !amd64 5 // +build !amd64
6 6
7 package aes 7 package aes
8 8
9 func _encryptBlock(xk []uint32, dst, src []byte) { 9 func encryptBlock(xk []uint32, dst, src []byte) {
10 » encryptBlock(xk, dst, src) 10 » encryptBlockGo(xk, dst, src)
11 } 11 }
12 12
13 func _decryptBlock(xk []uint32, dst, src []byte) { 13 func decryptBlock(xk []uint32, dst, src []byte) {
14 » decryptBlock(xk, dst, src) 14 » decryptBlockGo(xk, dst, src)
15 } 15 }
16 16
17 func _expandKey(key []byte, enc, dec []uint32) { 17 func expandKey(key []byte, enc, dec []uint32) {
18 » expandKey(key, enc, dec) 18 » expandKeyGo(key, enc, dec)
19 } 19 }
LEFTRIGHT

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