Use utility functions for HMAC
authorMichael Hanselmann <hansmi@google.com>
Thu, 29 Apr 2010 15:11:17 +0000 (17:11 +0200)
committerMichael Hanselmann <hansmi@google.com>
Tue, 4 May 2010 12:38:50 +0000 (14:38 +0200)
commit615aaabaef1d13695ed625f6631c5785a966c06d
treeaeaa15f3401b1d50844e7caf0c89d8bb05e20998
parent387794f8b955e3348198976535cdc8f4562fa196
Use utility functions for HMAC

HMAC will be used in more places. Centralizing some parts can't hurt.

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
lib/serializer.py
lib/utils.py
test/ganeti.utils_unittest.py