Page MenuHome GnuPG

422_0001-cipher-Take-care-of-ENABLE_NEON_SUPPORT.patch
AbandonedPublic

Authored by werner on Jan 29 2014, 4:39 PM.

Details

Reviewers
None
Summary

From 3216da3ddbc3eeb49171ab179acd9d75ca4d0218 Mon Sep 17 00:00:00 2001
From: Werner Koch <wk@gnupg.org>
Date: Tue, 28 Jan 2014 17:00:27 +0100
Subject: [PATCH] cipher: Take care of ENABLE_NEON_SUPPORT.

  • cipher/salsa20.c (USE_ARM_NEON_ASM): Define only if

ENABLE_NEON_SUPPORT is defined.

  • cipher/serpent.c (USE_NEON): Ditto.
  • cipher/sha512.c (USE_ARM_NEON_ASM): Ditto. --

The generic C source files must only include NEON support if that is
enabled. The dedicated ASM files are conditionally compiled and thus
do not need to use it.

GnuPG-bug-id: 1603
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 52f7c48c901a3de51bd690a218f3de2f71e8d790)

Resolved conflicts:

  • cipher/sha1.c: Remove changes - no asm support in 1.6. --- cipher/salsa20.c | 9 +++++---- cipher/serpent.c | 10 +++++----- cipher/sha512.c | 9 +++++---- 3 files changed, 15 insertions(+), 13 deletions(-)

1.8.4.3

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped