From db7fad12325fc7e37e2c2812551794b026ce128b Mon Sep 17 00:00:00 2001 From: "John M. Schanck" Date: Thu, 27 Aug 2020 11:04:45 -0400 Subject: [PATCH] ntruhrss701/avx2: fix non-PIC call --- crypto_kem/ntruhps2048509/META.yml | 4 ++-- crypto_kem/ntruhps2048677/META.yml | 4 ++-- crypto_kem/ntruhps4096821/META.yml | 4 ++-- crypto_kem/ntruhrss701/META.yml | 4 ++-- crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.s | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/crypto_kem/ntruhps2048509/META.yml b/crypto_kem/ntruhps2048509/META.yml index 6caa66fc..9f466953 100644 --- a/crypto_kem/ntruhps2048509/META.yml +++ b/crypto_kem/ntruhps2048509/META.yml @@ -23,9 +23,9 @@ auxiliary-submitters: - Zhenfei Zhang implementations: - name: clean - version: https://github.com/jschanck/ntru/tree/ba431bb8 reference implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 reference implementation - name: avx2 - version: https://github.com/jschanck/ntru/tree/ba431bb8 avx2 implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 avx2 implementation supported_platforms: - architecture: x86_64 operating_systems: diff --git a/crypto_kem/ntruhps2048677/META.yml b/crypto_kem/ntruhps2048677/META.yml index 197dfc60..d5f98e23 100644 --- a/crypto_kem/ntruhps2048677/META.yml +++ b/crypto_kem/ntruhps2048677/META.yml @@ -23,9 +23,9 @@ auxiliary-submitters: - Zhenfei Zhang implementations: - name: clean - version: https://github.com/jschanck/ntru/tree/ba431bb8 reference implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 reference implementation - name: avx2 - version: https://github.com/jschanck/ntru/tree/ba431bb8 avx2 implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 avx2 implementation supported_platforms: - architecture: x86_64 operating_systems: diff --git a/crypto_kem/ntruhps4096821/META.yml b/crypto_kem/ntruhps4096821/META.yml index a9ea40b3..f1277fc3 100644 --- a/crypto_kem/ntruhps4096821/META.yml +++ b/crypto_kem/ntruhps4096821/META.yml @@ -23,9 +23,9 @@ auxiliary-submitters: - Zhenfei Zhang implementations: - name: clean - version: https://github.com/jschanck/ntru/tree/ba431bb8 reference implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 reference implementation - name: avx2 - version: https://github.com/jschanck/ntru/tree/ba431bb8 avx2 implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 avx2 implementation supported_platforms: - architecture: x86_64 operating_systems: diff --git a/crypto_kem/ntruhrss701/META.yml b/crypto_kem/ntruhrss701/META.yml index de3c690a..f05f91fd 100644 --- a/crypto_kem/ntruhrss701/META.yml +++ b/crypto_kem/ntruhrss701/META.yml @@ -23,9 +23,9 @@ auxiliary-submitters: - Zhenfei Zhang implementations: - name: clean - version: https://github.com/jschanck/ntru/tree/ba431bb8 reference implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 reference implementation - name: avx2 - version: https://github.com/jschanck/ntru/tree/ba431bb8 avx2 implementation + version: https://github.com/jschanck/ntru/tree/b43afe59 avx2 implementation supported_platforms: - architecture: x86_64 operating_systems: diff --git a/crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.s b/crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.s index 9b4d341b..b798d158 100644 --- a/crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.s +++ b/crypto_kem/ntruhrss701/avx2/poly_s3_to_rq.s @@ -3113,6 +3113,6 @@ vpand const_1s(%rip), %ymm3, %ymm3 vpor %ymm3, %ymm2, %ymm3 vmovdqa %ymm3, 1376(%rsp) mov %rsp, %rsi -call PQCLEAN_NTRUHRSS701_AVX2_poly_Rq_mul_x_minus_1 +call PQCLEAN_NTRUHRSS701_AVX2_poly_Rq_mul_x_minus_1@plt mov %r8, %rsp ret