Commit 7e492f33 authored by Matt Caswell's avatar Matt Caswell
Browse files

Remove curve448 architecture specific files

Remove all architecture specific files except for the reference arch_32
version. These files provide archicture specific performance optimisation.
However they have not been integrated yet. In order to avoid review issues
they are removed for now. They may be reintroduced at a later time.

Reviewed-by: default avatarBernd Edlinger <bernd.edlinger@hotmail.de>
(Merged from https://github.com/openssl/openssl/pull/5105)
parent 0cdcdacc
Loading
Loading
Loading
Loading
+0 −37
Changes for crypto/ec/curve448/arch_arm_32/arch_intrinsics.h: 0 added lines, 37 removed lines.
Original line number Diff line number Diff line
/*
 * Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
 * Copyright 2016 Cryptography Research, Inc.
 *
 * Licensed under the OpenSSL license (the "License").  You may not use
 * this file except in compliance with the License.  You can obtain a copy
 * in the file LICENSE in the source distribution or at
 * https://www.openssl.org/source/license.html
 *
 * Originally written by Mike Hamburg
 */

#ifndef __ARCH_ARM_32_ARCH_INTRINSICS_H__
# define __ARCH_ARM_32_ARCH_INTRINSICS_H__

# define ARCH_WORD_BITS 32

static __inline__ __attribute((always_inline, unused))
uint32_t word_is_zero(uint32_t a)
{
    uint32_t ret;

    asm("subs %0, %1, #1;\n\tsbc %0, %0, %0": "=r"(ret): "r"(a):"cc");
    return ret;
}

static __inline__ __attribute((always_inline, unused))
uint64_t widemul(uint32_t a, uint32_t b)
{
    /*
     * Could be UMULL, but it's hard to express to CC that the registers must
     * be different
     */
    return ((uint64_t)a) * b;
}

#endif                          /* __ARCH_ARM_32_ARCH_INTRINSICS_H__ */
+0 −846

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −59

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −36

File deleted.

Preview size limit exceeded, changes collapsed.

+0 −594

File deleted.

Preview size limit exceeded, changes collapsed.

Loading