Skip to content

Commit

Permalink
project: Update for 3.7.8 merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sibras committed Nov 6, 2022
1 parent 4b60728 commit b08916f
Show file tree
Hide file tree
Showing 14 changed files with 79 additions and 41 deletions.
8 changes: 4 additions & 4 deletions SMP/gnutls/gnutls.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ extern "C" {
#endif
/* *INDENT-ON* */

#define GNUTLS_VERSION "3.7.7"
#define GNUTLS_VERSION "3.7.8"

#define GNUTLS_VERSION_MAJOR 3
#define GNUTLS_VERSION_MINOR 7
#define GNUTLS_VERSION_PATCH 7
#define GNUTLS_VERSION_PATCH 8

#define GNUTLS_VERSION_NUMBER 0x030707
#define GNUTLS_VERSION_NUMBER 0x030708

#define GNUTLS_CIPHER_RIJNDAEL_128_CBC GNUTLS_CIPHER_AES_128_CBC
#define GNUTLS_CIPHER_RIJNDAEL_256_CBC GNUTLS_CIPHER_AES_256_CBC
Expand Down Expand Up @@ -1175,7 +1175,7 @@ typedef enum {
* gnutls_channel_binding_t:
* @GNUTLS_CB_TLS_UNIQUE: "tls-unique" (RFC 5929) channel binding
* @GNUTLS_CB_TLS_SERVER_END_POINT: "tls-server-end-point" (RFC 5929) channel binding
* @GNUTLS_CB_TLS_EXPORTER: "tls-exporter" (draft-ietf-kitten-tls-channel-bindings-for-tls13-03)
* @GNUTLS_CB_TLS_EXPORTER: "tls-exporter" (RFC 9266) channel binding
*
* Enumeration of supported channel binding types.
*/
Expand Down
6 changes: 3 additions & 3 deletions SMP/lib/accelerated/x86/coff/aesni-x86.asm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ section .text code align=64
%else
section .text code
%endif
;extern __gnutls_x86_cpuid_s
;extern _GNUTLS_x86_cpuid_s
global _aesni_encrypt
align 16
_aesni_encrypt:
Expand Down Expand Up @@ -2824,7 +2824,7 @@ __aesni_set_encrypt_key:
L$112pic:
pop ebx
lea ebx,[(L$key_const-L$112pic)+ebx]
lea ebp,[__gnutls_x86_cpuid_s]
lea ebp,[_GNUTLS_x86_cpuid_s]
movups xmm0,[eax]
xorps xmm4,xmm4
mov ebp,DWORD [4+ebp]
Expand Down Expand Up @@ -3201,4 +3201,4 @@ db 83,45,78,73,44,32,67,82,89,80,84,79,71,65,77,83
db 32,98,121,32,60,97,112,112,114,111,64,111,112,101,110,115
db 115,108,46,111,114,103,62,0
segment .bss
common __gnutls_x86_cpuid_s 16
common _GNUTLS_x86_cpuid_s 16
8 changes: 4 additions & 4 deletions SMP/lib/accelerated/x86/coff/aesni-x86_64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default rel
%define ZMMWORD
section .text code align=64

EXTERN _gnutls_x86_cpuid_s
EXTERN GNUTLS_x86_cpuid_s
global aesni_encrypt

ALIGN 16
Expand Down Expand Up @@ -1228,7 +1228,7 @@ DB 102,15,58,34,232,3
lea r9,[7+r8]
mov DWORD[((96+12))+rsp],r10d
bswap r9d
mov r10d,DWORD[((_gnutls_x86_cpuid_s+4))]
mov r10d,DWORD[((GNUTLS_x86_cpuid_s+4))]
xor r9d,ebp
and r10d,71303168
mov DWORD[((112+12))+rsp],r9d
Expand Down Expand Up @@ -3844,7 +3844,7 @@ $L$cbc_decrypt_body:
movdqa xmm14,xmm5
movdqu xmm7,XMMWORD[80+rdi]
movdqa xmm15,xmm6
mov r9d,DWORD[((_gnutls_x86_cpuid_s+4))]
mov r9d,DWORD[((GNUTLS_x86_cpuid_s+4))]
cmp rdx,0x70
jbe NEAR $L$cbc_dec_six_or_seven

Expand Down Expand Up @@ -4393,7 +4393,7 @@ DB 0x48,0x83,0xEC,0x08
mov r10d,268437504
movups xmm0,XMMWORD[rcx]
xorps xmm4,xmm4
and r10d,DWORD[((_gnutls_x86_cpuid_s+4))]
and r10d,DWORD[((GNUTLS_x86_cpuid_s+4))]
lea rax,[16+r8]
cmp edx,256
je NEAR $L$14rounds
Expand Down
4 changes: 2 additions & 2 deletions SMP/lib/accelerated/x86/coff/ghash-x86_64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default rel
%define ZMMWORD
section .text code align=64

EXTERN _gnutls_x86_cpuid_s
EXTERN GNUTLS_x86_cpuid_s

global gcm_gmult_4bit

Expand Down Expand Up @@ -965,7 +965,7 @@ DB 102,65,15,56,0,194
jz NEAR $L$odd_tail

movdqu xmm6,XMMWORD[16+rdx]
mov eax,DWORD[((_gnutls_x86_cpuid_s+4))]
mov eax,DWORD[((GNUTLS_x86_cpuid_s+4))]
cmp r9,0x30
jb NEAR $L$skip4x

Expand Down
8 changes: 4 additions & 4 deletions SMP/lib/accelerated/x86/coff/sha1-ssse3-x86_64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default rel
%define ZMMWORD
section .text code align=64

EXTERN _gnutls_x86_cpuid_s
EXTERN GNUTLS_x86_cpuid_s

global sha1_block_data_order

Expand All @@ -20,9 +20,9 @@ $L$SEH_begin_sha1_block_data_order:



mov r9d,DWORD[((_gnutls_x86_cpuid_s+0))]
mov r8d,DWORD[((_gnutls_x86_cpuid_s+4))]
mov r10d,DWORD[((_gnutls_x86_cpuid_s+8))]
mov r9d,DWORD[((GNUTLS_x86_cpuid_s+0))]
mov r8d,DWORD[((GNUTLS_x86_cpuid_s+4))]
mov r10d,DWORD[((GNUTLS_x86_cpuid_s+8))]
test r8d,512
jz NEAR $L$ialu
test r10d,536870912
Expand Down
4 changes: 2 additions & 2 deletions SMP/lib/accelerated/x86/coff/sha256-avx-x86_64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ default rel
section .text code align=64


EXTERN _gnutls_x86_cpuid_s
EXTERN GNUTLS_x86_cpuid_s

global sha256_multi_block

Expand All @@ -21,7 +21,7 @@ $L$SEH_begin_sha256_multi_block:



mov rcx,QWORD[((_gnutls_x86_cpuid_s+4))]
mov rcx,QWORD[((GNUTLS_x86_cpuid_s+4))]
bt rcx,61
jc NEAR _shaext_shortcut
test ecx,268435456
Expand Down
4 changes: 2 additions & 2 deletions SMP/lib/accelerated/x86/coff/sha256-ssse3-x86.asm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ section .text code align=64
%else
section .text code
%endif
;extern __gnutls_x86_cpuid_s
;extern _GNUTLS_x86_cpuid_s
global _sha256_block_data_order
align 16
_sha256_block_data_order:
Expand Down Expand Up @@ -3353,4 +3353,4 @@ L$009grand_loop:
pop ebp
ret
segment .bss
common __gnutls_x86_cpuid_s 16
common _GNUTLS_x86_cpuid_s 16
4 changes: 2 additions & 2 deletions SMP/lib/accelerated/x86/coff/sha256-ssse3-x86_64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ default rel
section .text code align=64


EXTERN _gnutls_x86_cpuid_s
EXTERN GNUTLS_x86_cpuid_s
global sha256_block_data_order

ALIGN 16
Expand All @@ -20,7 +20,7 @@ $L$SEH_begin_sha256_block_data_order:



lea r11,[_gnutls_x86_cpuid_s]
lea r11,[GNUTLS_x86_cpuid_s]
mov r9d,DWORD[r11]
mov r10d,DWORD[4+r11]
mov r11d,DWORD[8+r11]
Expand Down
4 changes: 2 additions & 2 deletions SMP/lib/accelerated/x86/coff/sha512-ssse3-x86_64.asm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ default rel
section .text code align=64


EXTERN _gnutls_x86_cpuid_s
EXTERN GNUTLS_x86_cpuid_s
global sha512_block_data_order

ALIGN 16
Expand All @@ -20,7 +20,7 @@ $L$SEH_begin_sha512_block_data_order:



lea r11,[_gnutls_x86_cpuid_s]
lea r11,[GNUTLS_x86_cpuid_s]
mov r9d,DWORD[r11]
mov r10d,DWORD[4+r11]
mov r11d,DWORD[8+r11]
Expand Down
1 change: 1 addition & 0 deletions SMP/lib/gnutls_asn1_tab.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ const asn1_static_node gnutls_asn1_tab[] = {
{ "algorithm", 1073741836, NULL },
{ "seed", 7, NULL },
{ "OtherPrimeInfos", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "OtherPrimeInfo"},
{ "OtherPrimeInfo", 1610612741, NULL },
{ "prime", 1073741827, NULL },
Expand Down
53 changes: 39 additions & 14 deletions SMP/lib/pkix_asn1_tab.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "SubjectKeyIdentifier", 1073741831, NULL },
{ "KeyUsage", 1073741830, NULL },
{ "DirectoryString", 1610612754, NULL },
{ "teletexString", 1075839006, NULL },
{ "printableString", 1075839007, NULL },
{ "universalString", 1075839008, NULL },
{ "utf8String", 1075839010, NULL },
{ "bmpString", 2097185, NULL },
{ "teletexString", 1612709918, NULL },
{ "MAX", 524298, "1"},
{ "printableString", 1612709919, NULL },
{ "MAX", 524298, "1"},
{ "universalString", 1612709920, NULL },
{ "MAX", 524298, "1"},
{ "utf8String", 1612709922, NULL },
{ "MAX", 524298, "1"},
{ "bmpString", 538968097, NULL },
{ "MAX", 524298, "1"},
{ "SubjectAltName", 1073741826, "GeneralNames"},
{ "GeneralNames", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "GeneralName"},
{ "GeneralName", 1610612754, NULL },
{ "otherName", 1610620930, "AnotherName"},
Expand Down Expand Up @@ -61,6 +67,7 @@ const asn1_static_node pkix_asn1_tab[] = {
{ NULL, 131081, NULL },
{ "pathLenConstraint", 16387, NULL },
{ "CRLDistributionPoints", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "DistributionPoint"},
{ "DistributionPoint", 1610612741, NULL },
{ "distributionPoint", 1610637314, "DistributionPointName"},
Expand All @@ -76,8 +83,10 @@ const asn1_static_node pkix_asn1_tab[] = {
{ NULL, 4104, "1"},
{ "ReasonFlags", 1073741830, NULL },
{ "ExtKeyUsageSyntax", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 12, NULL },
{ "AuthorityInfoAccessSyntax", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "AccessDescription"},
{ "AccessDescription", 1610612741, NULL },
{ "accessMethod", 1073741836, NULL },
Expand All @@ -95,6 +104,7 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "DistinguishedName", 1610612747, NULL },
{ NULL, 2, "RelativeDistinguishedName"},
{ "RelativeDistinguishedName", 1612709903, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "AttributeTypeAndValue"},
{ "Certificate", 1610612741, NULL },
{ "tbsCertificate", 1073741826, "TBSCertificate"},
Expand Down Expand Up @@ -128,6 +138,7 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "algorithm", 1073741826, "AlgorithmIdentifier"},
{ "subjectPublicKey", 6, NULL },
{ "Extensions", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "Extension"},
{ "Extension", 1610612741, NULL },
{ "extnID", 1073741836, NULL },
Expand Down Expand Up @@ -205,6 +216,7 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "unsignedAttrs", 536895490, "SignedAttributes"},
{ NULL, 4104, "1"},
{ "SignedAttributes", 1612709903, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "Attribute"},
{ "SignerIdentifier", 1610612754, NULL },
{ "issuerAndSerialNumber", 1073741826, "IssuerAndSerialNumber"},
Expand Down Expand Up @@ -246,11 +258,16 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "encryptionAlgorithm", 1073741826, "AlgorithmIdentifier"},
{ "encryptedData", 2, "pkcs-8-EncryptedData"},
{ "pkcs-8-EncryptedData", 1073741831, NULL },
{ "pkcs-5-des-CBC-params", 1075838983, NULL },
{ "pkcs-5-des-EDE3-CBC-params", 1075838983, NULL },
{ "pkcs-5-aes128-CBC-params", 1075838983, NULL },
{ "pkcs-5-aes192-CBC-params", 1075838983, NULL },
{ "pkcs-5-aes256-CBC-params", 1075838983, NULL },
{ "pkcs-5-des-CBC-params", 1612709895, NULL },
{ NULL, 1048586, "8"},
{ "pkcs-5-des-EDE3-CBC-params", 1612709895, NULL },
{ NULL, 1048586, "8"},
{ "pkcs-5-aes128-CBC-params", 1612709895, NULL },
{ NULL, 1048586, "16"},
{ "pkcs-5-aes192-CBC-params", 1612709895, NULL },
{ NULL, 1048586, "16"},
{ "pkcs-5-aes256-CBC-params", 1612709895, NULL },
{ NULL, 1048586, "16"},
{ "Gost28147-89-Parameters", 1610612741, NULL },
{ "iv", 1073741831, NULL },
{ "encryptionParamSet", 12, NULL },
Expand Down Expand Up @@ -319,6 +336,7 @@ const asn1_static_node pkix_asn1_tab[] = {
{ NULL, 4104, "0"},
{ "pkcs-7-ContentEncryptionAlgorithmIdentifier", 1073741826, "AlgorithmIdentifier"},
{ "pkcs-7-UnprotectedAttributes", 1612709903, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "Attribute"},
{ "ProxyCertInfo", 1610612741, NULL },
{ "pCPathLenConstraint", 1073758211, NULL },
Expand All @@ -327,10 +345,12 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "policyLanguage", 1073741836, NULL },
{ "policy", 16391, NULL },
{ "certificatePolicies", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "PolicyInformation"},
{ "PolicyInformation", 1610612741, NULL },
{ "policyIdentifier", 1073741836, NULL },
{ "policyQualifiers", 538984459, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "PolicyQualifierInfo"},
{ "PolicyQualifierInfo", 1610612741, NULL },
{ "policyQualifierId", 1073741836, NULL },
Expand All @@ -345,10 +365,14 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "noticeNumbers", 536870923, NULL },
{ NULL, 3, NULL },
{ "DisplayText", 1610612754, NULL },
{ "ia5String", 1075839005, NULL },
{ "visibleString", 1075839011, NULL },
{ "bmpString", 1075839009, NULL },
{ "utf8String", 2097186, NULL },
{ "ia5String", 1612709917, NULL },
{ "200", 524298, "1"},
{ "visibleString", 1612709923, NULL },
{ "200", 524298, "1"},
{ "bmpString", 1612709921, NULL },
{ "200", 524298, "1"},
{ "utf8String", 538968098, NULL },
{ "200", 524298, "1"},
{ "OCSPRequest", 1610612741, NULL },
{ "tbsRequest", 1073741826, "TBSRequest"},
{ "optionalSignature", 536895490, "Signature"},
Expand Down Expand Up @@ -442,6 +466,7 @@ const asn1_static_node pkix_asn1_tab[] = {
{ "excludedSubtrees", 536895490, "GeneralSubtrees"},
{ NULL, 4104, "1"},
{ "GeneralSubtrees", 1612709899, NULL },
{ "MAX", 1074266122, "1"},
{ NULL, 2, "GeneralSubtree"},
{ "GeneralSubtree", 1610612741, NULL },
{ "base", 1073741826, "GeneralName"},
Expand Down
6 changes: 6 additions & 0 deletions SMP/libgnutls.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,12 @@
<ClCompile Include="..\lib\ext\compress_certificate.c">
<Filter>Source Files\lib\ext</Filter>
</ClCompile>
<ClCompile Include="lib\gnutls_asn1_tab.c">
<Filter>Source Files\lib</Filter>
</ClCompile>
<ClCompile Include="lib\pkix_asn1_tab.c">
<Filter>Source Files\lib</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="libgnutls.def">
Expand Down
6 changes: 6 additions & 0 deletions SMP/libgnutls_winrt.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -1577,6 +1577,12 @@
<ClCompile Include="..\lib\ext\compress_certificate.c">
<Filter>Source Files\lib\ext</Filter>
</ClCompile>
<ClCompile Include="lib\gnutls_asn1_tab.c">
<Filter>Source Files\lib</Filter>
</ClCompile>
<ClCompile Include="lib\pkix_asn1_tab.c">
<Filter>Source Files\lib</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="libgnutls.def">
Expand Down
4 changes: 2 additions & 2 deletions SMP/version.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Define to the version of this package. */
#define PACKAGE_VERSION "3.7.7"
#define PACKAGE_VERSION "3.7.8"

/* Version number of package */
#define VERSION "3.7.7"
#define VERSION "3.7.8"

0 comments on commit b08916f

Please sign in to comment.