diff options
author | 2016-04-07 10:03:04 +0200 | |
---|---|---|
committer | 2016-04-07 10:03:04 +0200 | |
commit | 31b9fa4f384115e400c0a49b35730b42d07b6ff6 (patch) | |
tree | 64aab794df9732c8430b44cb010a63195b1dc0a5 /third_party/boringssl/linux-x86_64/crypto/bn/rsaz-avx2.S | |
parent | 4baa56c99c14f5c637f89ba8ed641ec099d5c028 (diff) |
Add BoringSSL to third_party .
As usual, README.md contains reproduction instructions.
It would be better to directly use the source tree under `boringssl.googlesource.com`, but for the time being, this will do.
Change-Id: I72ef030251c41eaed459c4abd93228f23223783b
Diffstat (limited to 'third_party/boringssl/linux-x86_64/crypto/bn/rsaz-avx2.S')
-rw-r--r-- | third_party/boringssl/linux-x86_64/crypto/bn/rsaz-avx2.S | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/third_party/boringssl/linux-x86_64/crypto/bn/rsaz-avx2.S b/third_party/boringssl/linux-x86_64/crypto/bn/rsaz-avx2.S new file mode 100644 index 0000000000..cd334d95a6 --- /dev/null +++ b/third_party/boringssl/linux-x86_64/crypto/bn/rsaz-avx2.S @@ -0,0 +1,34 @@ +#if defined(__x86_64__) +.text + +.globl rsaz_avx2_eligible +.hidden rsaz_avx2_eligible +.type rsaz_avx2_eligible,@function +rsaz_avx2_eligible: + xorl %eax,%eax + .byte 0xf3,0xc3 +.size rsaz_avx2_eligible,.-rsaz_avx2_eligible + +.globl rsaz_1024_sqr_avx2 +.hidden rsaz_1024_sqr_avx2 +.globl rsaz_1024_mul_avx2 +.hidden rsaz_1024_mul_avx2 +.globl rsaz_1024_norm2red_avx2 +.hidden rsaz_1024_norm2red_avx2 +.globl rsaz_1024_red2norm_avx2 +.hidden rsaz_1024_red2norm_avx2 +.globl rsaz_1024_scatter5_avx2 +.hidden rsaz_1024_scatter5_avx2 +.globl rsaz_1024_gather5_avx2 +.hidden rsaz_1024_gather5_avx2 +.type rsaz_1024_sqr_avx2,@function +rsaz_1024_sqr_avx2: +rsaz_1024_mul_avx2: +rsaz_1024_norm2red_avx2: +rsaz_1024_red2norm_avx2: +rsaz_1024_scatter5_avx2: +rsaz_1024_gather5_avx2: +.byte 0x0f,0x0b + .byte 0xf3,0xc3 +.size rsaz_1024_sqr_avx2,.-rsaz_1024_sqr_avx2 +#endif |