ObjFW  Diff

Differences From Artifact [38980867ce]:

  • File src/OFMD5Hash.m — part of check-in [b29adaf0bb] at 2014-09-03 18:53:24 on branch trunk — OFMD5Hash: Optimize by making it more readable

    This has more resemblance to the implementation of the other hashes,
    while the old method had more resemblance to how the algorithm is
    described in the RFC.

    It turns out that Clang generates better code when re-assigning all
    variables to rotate them by one instead of accessing the variables by an
    iteration-dependent index. (user: js, size: 4542) [annotate] [blame] [check-ins using]

To Artifact [d3bf839bbd]:


1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014
 *   Jonathan Schleifer <js@webkeks.org>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.

|







1
2
3
4
5
6
7
8
9
/*
 * Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015
 *   Jonathan Schleifer <js@webkeks.org>
 *
 * All rights reserved.
 *
 * This file is part of ObjFW. It may be distributed under the terms of the
 * Q Public License 1.0, which can be found in the file LICENSE.QPL included in
 * the packaging of this file.