Skip to content

Commit

Permalink
Generate build files
Browse files Browse the repository at this point in the history
  • Loading branch information
skmcgrail committed Apr 17, 2023
1 parent 4395ded commit 5e7c322
Show file tree
Hide file tree
Showing 44 changed files with 114 additions and 22 deletions.
36 changes: 18 additions & 18 deletions generated-src/crypto_test_data.cc

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions generated-src/err_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ const uint32_t kOpenSSLReasonValues[] = {
0x283480b9,
0x283500f7,
0x28358d26,
0x2836099a,
0x2c323561,
0x2c329535,
0x2c33356f,
Expand Down Expand Up @@ -783,6 +784,7 @@ const uint32_t kOpenSSLReasonValues[] = {
0x68339004,
0x68341014,
0x683480f7,
0x6835099a,
0x68668fef,
0x6c320fa7,
0x6c328cf0,
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/chacha/chacha-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
.extern OPENSSL_ia32cap_P
.hidden OPENSSL_ia32cap_P

.section .rodata
.align 64
.Lzero:
.long 0,0,0,0
Expand Down Expand Up @@ -45,6 +46,7 @@
.Lsixteen:
.long 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
.byte 67,104,97,67,104,97,50,48,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.text
.globl ChaCha20_ctr32
.hidden ChaCha20_ctr32
.type ChaCha20_ctr32,@function
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#if defined(BORINGSSL_PREFIX)
#include <boringssl_prefix_symbols_asm.h>
#endif
.data
.section .rodata

.align 16
one:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

chacha20_poly1305_constants:

.section .rodata
.align 64
.Lchacha20_consts:
.byte 'e','x','p','a','n','d',' ','3','2','-','b','y','t','e',' ','k'
Expand Down Expand Up @@ -54,6 +55,7 @@ chacha20_poly1305_constants:
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
.text

.type poly_hash_ad_internal,@function
.align 64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ aesni_gcm_encrypt:

.cfi_endproc
.size aesni_gcm_decrypt,.-aesni_gcm_decrypt
.section .rodata
.align 64
.Lbswap_mask:
.byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
Expand All @@ -876,6 +877,7 @@ aesni_gcm_encrypt:
.byte 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.byte 65,69,83,45,78,73,32,71,67,77,32,109,111,100,117,108,101,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.align 64
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/aesni-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -3459,6 +3459,7 @@ __aesni_set_encrypt_key:
.byte 0xf3,0xc3
.size aes_hw_set_encrypt_key,.-aes_hw_set_encrypt_key
.size __aesni_set_encrypt_key,.-__aesni_set_encrypt_key
.section .rodata
.align 64
.Lbswap_mask:
.byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
Expand All @@ -3481,6 +3482,7 @@ __aesni_set_encrypt_key:

.byte 65,69,83,32,102,111,114,32,73,110,116,101,108,32,65,69,83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.align 64
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ gcm_ghash_ssse3:

.size gcm_ghash_ssse3,.-gcm_ghash_ssse3

.section .rodata
.align 16


Expand All @@ -423,6 +424,7 @@ gcm_ghash_ssse3:

.Llow4_mask:
.quad 0x0f0f0f0f0f0f0f0f, 0x0f0f0f0f0f0f0f0f
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/ghash-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,7 @@ gcm_ghash_avx:
.cfi_endproc

.size gcm_ghash_avx,.-gcm_ghash_avx
.section .rodata
.align 64
.Lbswap_mask:
.byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
Expand All @@ -1129,6 +1130,7 @@ gcm_ghash_avx:

.byte 71,72,65,83,72,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.align 64
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
.hidden OPENSSL_ia32cap_P


.section .rodata
.align 64
.Lpoly:
.quad 0xffffffffffffffff, 0x00000000ffffffff, 0x0000000000000000, 0xffffffff00000001
Expand All @@ -34,6 +35,7 @@
.quad 0xf3b9cac2fc632551, 0xbce6faada7179e84, 0xffffffffffffffff, 0xffffffff00000000
.LordK:
.quad 0xccd1c8aaee00bc4f
.text



Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/rsaz-avx2.S
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,7 @@ rsaz_1024_gather5_avx2:
.cfi_endproc
.LSEH_end_rsaz_1024_gather5:
.size rsaz_1024_gather5_avx2,.-rsaz_1024_gather5_avx2
.section .rodata
.align 64
.Land_mask:
.quad 0x1fffffff,0x1fffffff,0x1fffffff,0x1fffffff
Expand All @@ -1745,6 +1746,7 @@ rsaz_1024_gather5_avx2:
.long 2,2,2,2, 3,3,3,3
.long 4,4,4,4, 4,4,4,4
.align 64
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/sha1-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -5449,6 +5449,7 @@ _avx2_shortcut:
.byte 0xf3,0xc3
.cfi_endproc
.size sha1_block_data_order_avx2,.-sha1_block_data_order_avx2
.section .rodata
.align 64
K_XX_XX:
.long 0x5a827999,0x5a827999,0x5a827999,0x5a827999
Expand All @@ -5464,6 +5465,7 @@ K_XX_XX:
.byte 0xf,0xe,0xd,0xc,0xb,0xa,0x9,0x8,0x7,0x6,0x5,0x4,0x3,0x2,0x1,0x0
.byte 83,72,65,49,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.align 64
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/sha256-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1740,6 +1740,7 @@ sha256_block_data_order:
.byte 0xf3,0xc3
.cfi_endproc
.size sha256_block_data_order,.-sha256_block_data_order
.section .rodata
.align 64
.type K256,@object
K256:
Expand Down Expand Up @@ -1783,6 +1784,7 @@ K256:
.long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
.long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
.byte 83,72,65,50,53,54,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.text
.type sha256_block_data_order_shaext,@function
.align 64
sha256_block_data_order_shaext:
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/sha512-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,7 @@ sha512_block_data_order:
.byte 0xf3,0xc3
.cfi_endproc
.size sha512_block_data_order,.-sha512_block_data_order
.section .rodata
.align 64
.type K512,@object
K512:
Expand Down Expand Up @@ -1823,6 +1824,7 @@ K512:
.quad 0x0001020304050607,0x08090a0b0c0d0e0f
.quad 0x0001020304050607,0x08090a0b0c0d0e0f
.byte 83,72,65,53,49,50,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.text
.type sha512_block_data_order_avx,@function
.align 64
sha512_block_data_order_avx:
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/vpaes-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1020,6 +1020,7 @@ _vpaes_preheat:


.type _vpaes_consts,@object
.section .rodata
.align 64
_vpaes_consts:
.Lk_inv:
Expand Down Expand Up @@ -1129,6 +1130,7 @@ _vpaes_consts:
.byte 86,101,99,116,111,114,32,80,101,114,109,117,116,97,116,105,111,110,32,65,69,83,32,102,111,114,32,120,56,54,95,54,52,47,83,83,83,69,51,44,32,77,105,107,101,32,72,97,109,98,117,114,103,32,40,83,116,97,110,102,111,114,100,32,85,110,105,118,101,114,115,105,116,121,41,0
.align 64
.size _vpaes_consts,.-_vpaes_consts
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/linux-x86_64/crypto/fipsmodule/x86_64-mont5.S
Original file line number Diff line number Diff line change
Expand Up @@ -3616,11 +3616,13 @@ bn_gather5:
.LSEH_end_bn_gather5:
.cfi_endproc
.size bn_gather5,.-bn_gather5
.section .rodata
.align 64
.Linc:
.long 0,0, 1,1
.long 2,2, 2,2
.byte 77,111,110,116,103,111,109,101,114,121,32,77,117,108,116,105,112,108,105,99,97,116,105,111,110,32,119,105,116,104,32,115,99,97,116,116,101,114,47,103,97,116,104,101,114,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/chacha/chacha-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@



.section __DATA,__const
.p2align 6
L$zero:
.long 0,0,0,0
Expand Down Expand Up @@ -44,6 +45,7 @@ L$incz:
L$sixteen:
.long 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16
.byte 67,104,97,67,104,97,50,48,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.text
.globl _ChaCha20_ctr32
.private_extern _ChaCha20_ctr32

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#if defined(BORINGSSL_PREFIX)
#include <boringssl_prefix_symbols_asm.h>
#endif
.data
.section __DATA,__const

.p2align 4
one:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

chacha20_poly1305_constants:

.section __DATA,__const
.p2align 6
L$chacha20_consts:
.byte 'e','x','p','a','n','d',' ','3','2','-','b','y','t','e',' ','k'
Expand Down Expand Up @@ -53,6 +54,7 @@ L$and_masks:
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00,0x00
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0x00
.byte 0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff
.text


.p2align 6
Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/fipsmodule/aesni-gcm-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,7 @@ L$gcm_enc_abort:



.section __DATA,__const
.p2align 6
L$bswap_mask:
.byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
Expand All @@ -861,6 +862,7 @@ L$one_lsb:
.byte 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
.byte 65,69,83,45,78,73,32,71,67,77,32,109,111,100,117,108,101,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.p2align 6
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/fipsmodule/aesni-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -3457,6 +3457,7 @@ L$key_expansion_256b:
.byte 0xf3,0xc3


.section __DATA,__const
.p2align 6
L$bswap_mask:
.byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
Expand All @@ -3479,6 +3480,7 @@ L$key_rcon1b:

.byte 65,69,83,32,102,111,114,32,73,110,116,101,108,32,65,69,83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.p2align 6
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,7 @@ L$oop_row_6:



.section __DATA,__const
.p2align 4


Expand All @@ -423,6 +424,7 @@ L$reverse_bytes:

L$low4_mask:
.quad 0x0f0f0f0f0f0f0f0f, 0x0f0f0f0f0f0f0f0f
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/fipsmodule/ghash-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1117,6 +1117,7 @@ L$tail_no_xor_avx:



.section __DATA,__const
.p2align 6
L$bswap_mask:
.byte 15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0
Expand All @@ -1128,6 +1129,7 @@ L$7_mask:

.byte 71,72,65,83,72,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.p2align 6
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/fipsmodule/p256-x86_64-asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@



.section __DATA,__const
.p2align 6
L$poly:
.quad 0xffffffffffffffff, 0x00000000ffffffff, 0x0000000000000000, 0xffffffff00000001
Expand All @@ -33,6 +34,7 @@ L$ord:
.quad 0xf3b9cac2fc632551, 0xbce6faada7179e84, 0xffffffffffffffff, 0xffffffff00000000
L$ordK:
.quad 0xccd1c8aaee00bc4f
.text



Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/fipsmodule/rsaz-avx2.S
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,7 @@ L$oop_gather_1024:

L$SEH_end_rsaz_1024_gather5:

.section __DATA,__const
.p2align 6
L$and_mask:
.quad 0x1fffffff,0x1fffffff,0x1fffffff,0x1fffffff
Expand All @@ -1745,6 +1746,7 @@ L$inc:
.long 2,2,2,2, 3,3,3,3
.long 4,4,4,4, 4,4,4,4
.p2align 6
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/fipsmodule/sha1-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -5448,6 +5448,7 @@ L$epilogue_avx2:
.byte 0xf3,0xc3


.section __DATA,__const
.p2align 6
K_XX_XX:
.long 0x5a827999,0x5a827999,0x5a827999,0x5a827999
Expand All @@ -5463,6 +5464,7 @@ K_XX_XX:
.byte 0xf,0xe,0xd,0xc,0xb,0xa,0x9,0x8,0x7,0x6,0x5,0x4,0x3,0x2,0x1,0x0
.byte 83,72,65,49,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.p2align 6
.text
#endif
#if defined(__ELF__)
// See https://www.airs.com/blog/archives/518.
Expand Down
2 changes: 2 additions & 0 deletions generated-src/mac-x86_64/crypto/fipsmodule/sha256-x86_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,7 @@ L$epilogue:
.byte 0xf3,0xc3


.section __DATA,__const
.p2align 6

K256:
Expand Down Expand Up @@ -1782,6 +1783,7 @@ K256:
.long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
.long 0xffffffff,0xffffffff,0x03020100,0x0b0a0908
.byte 83,72,65,50,53,54,32,98,108,111,99,107,32,116,114,97,110,115,102,111,114,109,32,102,111,114,32,120,56,54,95,54,52,44,32,67,82,89,80,84,79,71,65,77,83,32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115,115,108,46,111,114,103,62,0
.text

.p2align 6
sha256_block_data_order_shaext:
Expand Down
Loading

0 comments on commit 5e7c322

Please sign in to comment.