DragonFly BSD
DragonFly commits List (threaded) for 2012-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - further crypto cleanup

From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Aug 2012 01:41:48 -0700 (PDT)

commit 487b3235fdc9ce13644a8b8c2c7b637f8304c2be
Author: Alex Hornung <ahornung@gmail.com>
Date:   Fri Aug 10 08:37:22 2012 +0100

    hammer2 - further crypto cleanup
     * put the symmetric crypto algorithms (so far only GCM) into a table.
       The algorithm is currently chosen via a define (HAMMER2_CRYPTO_ALGO),
       but in the future it would be trivial to make it a runtime setting.
     * Link the crypto chunk size to HAMMER2_MSG_ALIGN, since we want the
       chunks as big as possible, but not so big that a message gets stuck.

Summary of changes:
 sbin/hammer2/crypto.c  |  150 +++++++++++++++++++-----------------------------
 sbin/hammer2/network.h |   53 ++++++++++++-----
 2 files changed, 99 insertions(+), 104 deletions(-)


DragonFly BSD source repository

[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]