Grokbase
›
Groups
›
Go
›
golang-dev
›
October 2012
FAQ
Badges
Users
Groups
[golang-dev] code review 6632044: crypto/hmac: add Verify function. (issue 6632044)
Rsc
Oct 9, 2012 at 11:57 pm
LGTM
It's fine to leave Sign and Verify out.
https://codereview.appspot.com/6632044/
reply
Tweet
Search Discussions
Search
All Groups
golang-dev
Discussion Posts
Previous
Adam Langley
: I quite like that too, but I worry that it precludes avoiding the allocation each time when calling Sum. Without this function, users would are verifying many MACs can reuse storage. But, since escape-analysis isn't going to work through the interface, I think this would have to allocate every time. Cheers AGL
Follow ups
Agl
: *** Submitted as http://code.google.com/p/go/source/detail?r=18dffd0c07b2 *** crypto/hmac: add Equal function. It was suggested that it's too easy to use crypto/hmac insecurely and I think that has some merit. This change adds a Equal function to make it obvious that MAC values should be compared in constant time. R=rsc, max CC=golang-dev http://codereview.appspot.com/6632044 http://codereview.appspot.com/6632044/
Related Discussions
[golang-dev] Re: code review 6632044: crypto/hmac: add Verify function. (issue 6632044)
[golang-dev] Re: code review 6632044: crypto/hmac: add Verify function. (issue 6632044)
[golang-dev] Re: code review 6855103: time: add a test to verify that December exists (issue 6855103)
[golang-dev] code review 6855103: time: add a test to verify that December exists (issue 6855103)
[golang-dev] windows-386-ec2 broken by crypto/hmac: add Equal function.
[golang-dev] Re: code review 6775043: crypto/tls: add support for ECDH ECDSA (issue 6775043)
[golang-dev] code review 6775043: crypto/tls: add support for ECDH ECDSA (issue 6775043)
[golang-dev] Re: code review 6776043: crypto/tls: add support for loading EC X.509 key pairs (issue 6776043)
[golang-dev] Re: code review 6776043: crypto/tls: add support for loading EC X.509 key pairs (issue 6776043)
Discussion Navigation
view
thread
|
post
posts
‹ prev
|
6 of 7
|
next ›
Discussion Overview
group
golang-dev
@
categories
go
posted
Oct 8, '12 at 6:36p
active
Oct 11, '12 at 7:28p
posts
7
users
3
website
golang.org
Preferences
font
variable
Hotkey: f
user style
avatars
Hotkey: a
3 users in discussion
Agl (4)
Rsc (2)
Maxim Khitrov (1)
Content
Home
Groups & Organizations
People
Users
Badges
Support
Welcome
FAQ
Contact Us
Translate
site design / logo © 2023 Grokbase