Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
307 commits
Select commit Hold shift + click to select a range
871438f
Temporarily disable core dumps when running libraries tests on macOS …
elinor-fung Feb 8, 2022
97fc0a4
Update Android to r23b image (#64567)
Feb 8, 2022
3ae8739
Initial roll out of !! (#64720)
stephentoub Feb 8, 2022
05dbb13
Add `runtime-wasm` pipeline (#64830)
radical Feb 8, 2022
87777b6
Change the way we build CoreCLR tests for NativeAOT (#64738)
MichalStrehovsky Feb 8, 2022
829fe59
Fix size estimates (#64826)
SingleAccretion Feb 8, 2022
826896f
Use generic collections in System.ComponentModel.TypeConverter implem…
MattKotsenas Feb 8, 2022
da5888a
Fix outerloop build break (#65027)
jakobbotsch Feb 8, 2022
570b8e2
Enable merging of platform-variant tests
trylek Feb 8, 2022
205f70e
Fix System.Runtime reference versions and several test project names …
trylek Feb 8, 2022
49e46e3
Fix error during unwrap existing instance (#64996)
kant2002 Feb 9, 2022
da2df7e
improve SslStream tests on misconfigured systems (#64966)
wfurt Feb 9, 2022
7128a77
update expected exception for cases when all requested TLS versions a…
wfurt Feb 9, 2022
0c28639
Override DictionaryEntry.ToString to match KeyValuePair.ToString (#64…
jeffhandley Feb 9, 2022
c4c1c3a
Disable ILVerify for source build (#64833)
jkotas Feb 9, 2022
f51fe4b
Add a new wrapper `runtime-wasm.yml` to be used from azdo (#65032)
radical Feb 9, 2022
0e1cada
improve SslStream tests on server 2022 (#64968)
wfurt Feb 9, 2022
32111e1
Fix mono native warnings from wasm targets (#64650)
am11 Feb 9, 2022
6c72db8
Run System.Collections instead of System.Runtime tests (#65044)
MichalStrehovsky Feb 9, 2022
e21eacb
Disable SendPingWithHostAndTimeoutAndBuffer tests on OSX (#65055)
elinor-fung Feb 9, 2022
1ac45f5
[wasm] Fix WebSocket tests on NodeJS (#64330)
maraf Feb 9, 2022
50cdcac
[Mono] Add arm64 SIMD intrinsic for Vector64/128 Ceiling and Floor (#…
simonrozsival Feb 9, 2022
50909ba
Consolidate _handshakeBuffer and _internalBuffer in SslStream (#64747)
rzikm Feb 9, 2022
fe24ab3
[main] Update dependencies from dotnet/icu dotnet/xharness dotnet/run…
dotnet-maestro[bot] Feb 9, 2022
baae8fa
Introduce DOTNET_AltJitOS (#64979)
EgorBo Feb 9, 2022
384e78e
[Mono] Add SIMD intrinsics for Vector64/128 ConditionalSelect on Arm6…
simonrozsival Feb 9, 2022
04bb6eb
Pull msquic from official microsoft linux package repository (#65063)
ManickaP Feb 9, 2022
4f2cd55
Move iOS/tvOS simulator runs back to the OSX.1015.Amd64.Open queue (#…
akoeplinger Feb 9, 2022
aaaa2a7
Implement TLS1.3 delayed client cert requests on Linux
rzikm Feb 9, 2022
ac82c68
[Android] Workaround for invalid return value from clock_nanosleep (#…
simonrozsival Feb 9, 2022
e6a340d
Change `OSX.1015.Arm64.Open` to `OSX.1100.Arm64.Open` (former does no…
premun Feb 9, 2022
e48b179
FileSystemWatcher.Unix: use CLOEXEC when initializing an inotify inst…
tmds Feb 9, 2022
9e45de4
Add default method support to virtual statics (#64717)
davidwrighton Feb 9, 2022
55b5c98
fix ping tests on unsupported unix platforms (#65060)
wfurt Feb 9, 2022
ee4640a
stabilize quic tests on server 2022 (#65057)
wfurt Feb 9, 2022
30abc7b
Limit the number of JIT/HardwareIntrinsics/* tests when running under…
echesakov Feb 9, 2022
99452b2
Account for HWI stores in LIR side effects code (#65079)
SingleAccretion Feb 9, 2022
1f48351
Fix Arm64 CFG dispatcher being always disabled (#65095)
AustinWise Feb 9, 2022
bdae9b9
For LclHeap touch a page at [originalSp] not at [originalSp+amount] i…
echesakov Feb 9, 2022
1a2e3c3
Clean up several special tests under JIT/Methodical (#64837)
trylek Feb 9, 2022
bbc766a
Deduplicate several special classes of JIT/Methodical tests (#64842)
trylek Feb 9, 2022
8f9b8ff
Don't throw from RemoteExecutor on SkipTestExceptions (#65105)
MihaZupan Feb 10, 2022
2210b74
JIT: verify containment safety before forming address modes (#65048)
AndyAyersMS Feb 10, 2022
e6349af
Overwrite existing inc file in h2inc (#65113)
am11 Feb 10, 2022
2b862d4
Update Parallel.ForEachAsync.cs (#65009)
theodorzoulias Feb 10, 2022
d85ec4e
Enable set of nullability checks in NativeAOT CoreLib (#64730)
kant2002 Feb 10, 2022
8129e4c
Fix System.Net.NetworkInformation.Tests.PingTest.SendPingToExternalHo…
rzikm Feb 10, 2022
855594f
[main] Update dependencies from dotnet/linker (#64983)
dotnet-maestro[bot] Feb 10, 2022
2f7726e
Clean-up DllImportGenerator packaging infra (#64810)
ViktorHofer Feb 10, 2022
b536fef
[wasm][debugger] Fixed debugger attachment to a project with special …
ilonatommy Feb 10, 2022
3933fc6
[Mono] Add arm64 SIMD intrinsic for Vector64/128 Abs (#65086)
mkhamoyan Feb 10, 2022
cf35d12
issue-22928 Add ImmutableArray Span-based APIs (#61196)
lateapexearlyspeed Feb 10, 2022
68bdfd3
Optimize `StringBuilder.Insert`. (#64922)
teo-tsirpanis Feb 10, 2022
70b2e20
disable TotalMemory2 test from gcstress runs (#65110)
mangod9 Feb 10, 2022
5f0cb44
Fix nullable annotations for MemoryCacheExtensions Set and GetOrCreat…
maxkoshevoi Feb 10, 2022
1f47f0e
Fix RegionInfo creation when using LOCALE_CUSTOM_UNSPECIFIED LCID (#6…
tarekgh Feb 10, 2022
dca4702
Fixing a runtime check and test to match the EnableISA flag behavior …
tannergooding Feb 10, 2022
52ec9fd
Fix too wide memory accesses for nullchecks (#64683)
EgorBo Feb 10, 2022
fea36d8
[mono] Fix support for calls to static virtual methods from gshared c…
vargaz Feb 10, 2022
b2eba58
Fix bool.TryParse/Format on big-endian systems (#65078)
uweigand Feb 10, 2022
43b39c2
Mark cctor tests with RequiresProcessIsolation property (#65036)
trylek Feb 10, 2022
b0e16a1
[wasm] Add exports to workaround emscripten bug (#64807)
radekdoulik Feb 10, 2022
ccd67b0
Move DllImportGenerator to use DisableRuntimeMarshalling for its blit…
jkoritzinsky Feb 10, 2022
7814396
Implement LoadPairVector64 and LoadPairVector128 (#64864)
echesakov Feb 10, 2022
1c80769
[tests][mobile] Enable diagnostic_tracing for mobile runtime tests (#…
mdh1418 Feb 10, 2022
161f13d
Copy propagation tweaking (#64378)
SingleAccretion Feb 10, 2022
5217c21
Removing Unity and StructureMap from DependencyInjection.ExternalCont…
eerhardt Feb 10, 2022
e453794
[wasm] Disable System.Threading.Channels.Tests (#65083)
radical Feb 10, 2022
acbd20e
Update linux-instructions.md for .NET 6/7 (#65160)
WardenGnaw Feb 10, 2022
21747c9
Update RateLimiter queues on cancellation (#64825)
BrennanConroy Feb 10, 2022
b0ec7f8
Fix DacEnumerableHashTable enumerator (#65157)
jkotas Feb 11, 2022
0238a39
Add a few more regex generator malformed input tests (#65159)
stephentoub Feb 11, 2022
1ba0394
Second round of changing null checks to !! (#65108)
stephentoub Feb 11, 2022
49fea67
Remove GeneratedDllImportAttribute.PreserveSig (#65164)
elinor-fung Feb 11, 2022
9293aab
Subtract instead of building the cartesian product in targets (#65123)
ViktorHofer Feb 11, 2022
5861bd9
Avoid InitialTarget in libs tree for CoreLib (#65146)
ViktorHofer Feb 11, 2022
615224c
Fix policheck warnings (#65179)
agocke Feb 11, 2022
65008a9
Update StyleCopAnalyzers to 1.2.0-beta.406 (#65142)
stephentoub Feb 11, 2022
6bf42eb
Add suppressions (#65030)
danmoseley Feb 11, 2022
f3eaf31
JIT: fgMorphModToSubMulDiv should not reorder operands (#65118)
AndyAyersMS Feb 11, 2022
5422e1f
Introduce `GenTreeDebugOperKind` (#64498)
SingleAccretion Feb 11, 2022
bf0492f
[Group 2] Enable nullable annotations for `Microsoft.Extensions.Optio…
maxkoshevoi Feb 11, 2022
8160c23
Avoid using object_gennum for objects that could come from frozen seg…
cshung Feb 11, 2022
77d6833
Move test with expected crash to outerloop (#65114)
elinor-fung Feb 11, 2022
a01be04
Increase arm32/arm64 maximum instruction group size (#65153)
BruceForstall Feb 11, 2022
a44b7c2
Make System.Math/MathF.Truncate an intrinsic (#65014)
MichalPetryka Feb 11, 2022
5d9ef56
Respect source generator projects in slngen (#65124)
ViktorHofer Feb 11, 2022
10aaeef
Add check for Android NDK 23 to AndroidAppBuilder (#65197)
akoeplinger Feb 11, 2022
0b61a12
Record callee saves in patchpoint info (#65196)
AndyAyersMS Feb 11, 2022
550a11d
Use lite ciphers for CNG symmetric one-shots
vcsjones Feb 11, 2022
6df806f
Use static abstract interface methods in SymbolicRegexMatcher (#63546)
stephentoub Feb 11, 2022
58ed181
Use generic math in System.Numerics.Vectors (#60365) (#60905)
Feb 11, 2022
6d8cc6f
[main] Update dependencies from dotnet/arcade dotnet/xharness dotnet/…
dotnet-maestro[bot] Feb 11, 2022
3c5fee9
[Group 3] Enable nullable annotations for Microsoft.Extensions.Option…
maxkoshevoi Feb 11, 2022
5fbd81a
Disable tests using external TLS1.2 server on win7 (#65188)
rzikm Feb 12, 2022
f3b925d
Fix race condition in InteropSyncBlock for ComWrappers map. (#65214)
AaronRobinsonMSFT Feb 12, 2022
a1f0147
Update Maui/Mobile pre.py's and disable android due to AOT Issue (#65…
LoopedBard3 Feb 12, 2022
24ae13f
Inspector wants the content-length set (#65216)
lewing Feb 12, 2022
ba31e37
Convert over StandardOleMarshalObject to use either source-generated …
jkoritzinsky Feb 12, 2022
e04d750
Store the result in the return local in native-to-managed IL stubs. (…
jkoritzinsky Feb 12, 2022
55884ce
[wasm] Disable System.Text.RegularExpressions.Generators.Tests (#65238)
radical Feb 12, 2022
20e8f90
Don't use Targets* helper properties in libs (#64500)
ViktorHofer Feb 12, 2022
bda8c91
Obsolete and put SerializationFormat.Binary behind an appcontext swit…
roji Feb 12, 2022
d78094e
Captures support for NonBacktracking (#65129)
olsaarik Feb 12, 2022
47bcd1a
Remove unused private parameters in SPC (#63015)
marek-safar Feb 12, 2022
7aae884
Fix nullability in `IOptionsMonitor` (#65225)
maxkoshevoi Feb 12, 2022
348e06c
Disable tests on Debug CoreClr that are already disabled on Checked C…
danmoseley Feb 12, 2022
78c6505
Fix reporting ZR to gc (#65253)
EgorBo Feb 12, 2022
9e847a5
Optimize Math.Round(x, MidpointRounding.AwayFromZero/ToEven) (#64016)
EgorBo Feb 13, 2022
6e05d78
Move Msquic over to Source-generated delegate interop. (#65204)
jkoritzinsky Feb 13, 2022
e23382c
Keep information about CSE defs on assignment nodes (#64896)
jakobbotsch Feb 14, 2022
2026b44
[tests] Extend partial disablement of SkippingHiddenFiles (#65280)
mdh1418 Feb 14, 2022
848d083
add test that ensures that the bug is not coming back (#65301)
adamsitnik Feb 14, 2022
cff924f
[tests][mobile] Enable diagnostic_tracing for iOS runtime tests (#64952)
mdh1418 Feb 14, 2022
a2c6688
Update OptionsBuilderConfigurationExtensions.cs (#65220)
maxkoshevoi Feb 14, 2022
ae00d9f
[Group 3] Enable nullable annotations for Microsoft.Extensions.Cachin…
maxkoshevoi Feb 14, 2022
bc29dda
[Group 5] Enable nullable annotations for Microsoft.Extensions.Option…
maxkoshevoi Feb 14, 2022
ae24a8f
Move more things under S.S.Cryptography.
vcsjones Feb 14, 2022
ce13258
Remove Try/HashData from AsymmetricAlgorithmHelpers
vcsjones Feb 14, 2022
956c125
Respect single targetframeworks in slngen.targets (#65248)
ViktorHofer Feb 14, 2022
e4fb730
Fix runtime-official when executed against PRs in azdo (#65034)
safern Feb 14, 2022
62921b6
[wasm] Allow overriding _EmccAssertionLevelDefault (#65310)
radekdoulik Feb 14, 2022
3a4ade3
Improve regex code gen for non-backtracking repeaters (#65240)
stephentoub Feb 14, 2022
642db50
[mono][s390x] Fix OP_FCONV_TO_I and OP_RCONV_TO_I (#65185)
uweigand Feb 14, 2022
5844486
[wasm] Add memalign to exported functions (#65316)
radekdoulik Feb 14, 2022
135a638
[Mono] Add SIMD intrinsics for Vector{64, 128} on Arm64 Part I (#64961)
fanyang-mono Feb 14, 2022
229a0b6
Disable multiple tests failing in R2R-CG2 legs (#65227)
echesakov Feb 14, 2022
01b0737
[Group 3] Enable nullable annotations for Microsoft.Extensions.FilePr…
maxkoshevoi Feb 14, 2022
862b87a
Convert non-blittable delegate usage in System.DirectoryServices to f…
jkoritzinsky Feb 14, 2022
386c124
Remove Unused Encoding on UriHelper (#65326)
eerhardt Feb 14, 2022
3e5c2b9
[interp] Use dynamic method's assembly when getting a native wrapper …
lambdageek Feb 14, 2022
6200568
crossgen2: Report CORINFO_FLG_NOGCCHECK back for internal calls (#65300)
jakobbotsch Feb 14, 2022
8e4bef2
Use global caching in JsonSerializerOptions (#64646)
eiriktsarpalis Feb 14, 2022
45a9548
Clean the OpenSSL error queue more consistently
bartonjs Feb 15, 2022
a85f77a
[build] Move Mono API headers under src/native/public (#64569)
lambdageek Feb 15, 2022
1615de6
[LoongArch64] Add LoongArch64 support in libunwind. (#62979)
shushanhf Feb 15, 2022
a934bd8
Use StartsWith in regex compiler / source gen for shorter strings (#6…
stephentoub Feb 15, 2022
9cd7927
Clean up a few confusing regex reduction tests (#65334)
stephentoub Feb 15, 2022
193aeef
Fixes for TransitionRegex with effects (#65333)
olsaarik Feb 15, 2022
14e6411
Skip AOT of Microsoft.CodeAnalysis.CSharp.dll for WASM, due to out-of…
directhex Feb 15, 2022
fdb6d72
disable GetGCMemoryInfo on FreeBSD (#64937)
wfurt Feb 15, 2022
c1ee3cd
Cleanup some XML tests (#65290)
danmoseley Feb 15, 2022
49a4893
Validate `IntPtr` and ByRef field overlap (#65246)
AaronRobinsonMSFT Feb 15, 2022
3494d72
Add a test for control flow guard + small JIT fix (#65122)
MichalStrehovsky Feb 15, 2022
bc14327
Resolve System.Net.Security.Tests.LoggingTest SkipTestException failu…
MihaZupan Feb 15, 2022
a25aa66
Fixes for CFG dispatcher on ARM64 (#65127)
jakobbotsch Feb 15, 2022
6a69afc
Move MacCatalyst to runtime-extra-platforms pipeline (#64452)
MaximLipnin Feb 15, 2022
ec965b5
Fix stack overflow tests to accept 800703E9 exit code too (#65331)
janvorli Feb 15, 2022
3554702
ILCompiler.Reflection.ReadyToRun shouldn't depend on type system (#65…
MichalStrehovsky Feb 15, 2022
a14d27a
Don't binplace Microsoft.XmlSerializer.Generator (#65313)
akoeplinger Feb 15, 2022
a31ed47
Include IsNetCoreAppRef in assembly version calculation for servicing…
safern Feb 15, 2022
8871420
Remove the concept of fat dispatch tokens and fat type ids from 64 bi…
davidwrighton Feb 15, 2022
8356c8a
Remove JsonConverter.RuntimeType (#65224)
eiriktsarpalis Feb 15, 2022
e7467a8
[LoongArch64] add the coreclr/pal directory (#62887)
shushanhf Feb 15, 2022
0addc44
Enable build of arm64 RPM packages (#65345)
NikolaMilosavljevic Feb 15, 2022
6b83269
Remove default BuildInParallel attributes (#65378)
ViktorHofer Feb 15, 2022
c6994a7
#51017 enable tests for android (#64743)
mkhamoyan Feb 15, 2022
99160fc
Improve regex optimizations around repetitions of the same character …
stephentoub Feb 15, 2022
10bf322
Change SslStream's internal adapter interface to use static abstract …
stephentoub Feb 15, 2022
6b3ec8e
Incorporate review feedback from #64646 (#65376)
eiriktsarpalis Feb 15, 2022
fe3b6b2
Update library dependencies to the latest (#65381)
ViktorHofer Feb 15, 2022
f428813
[Android] Fix leftover direct invocation of clock_nanosleep (#65373)
simonrozsival Feb 15, 2022
2447bf9
[wasm] Clean unused files from emsdk when provisioning (#65116)
lewing Feb 15, 2022
7d9fc7a
Ensure that tls_destructionMonitor is initialized if a thread is atta…
VSadov Feb 15, 2022
3a27792
[mono][llvm] Add missing OP_RCONV_TO_I opcode. (#65389)
vargaz Feb 15, 2022
19fc306
Couple optimizations to MultiRegStoreLoc (#64857)
echesakov Feb 15, 2022
5d17339
Ask helix to run tiering test when it's requested (#65359)
MichalStrehovsky Feb 15, 2022
3ce170c
Make sure we have GCGenerationRanges events when using Generation-Awa…
cshung Feb 16, 2022
e9bdf80
[mini] fix static virtual constrained calls in non-generic interfaces…
lambdageek Feb 16, 2022
8cd701a
Update the ConvertToGeneratedDllImport code-fix to support stripping …
jkoritzinsky Feb 16, 2022
03494f3
Disable core dumps when running libraries tests on macOS (#65405)
elinor-fung Feb 16, 2022
32434f9
Suppress warnings in NativeAOT smoke tests (#65423)
MichalStrehovsky Feb 16, 2022
e8fb808
JIT: Consider local var reads to be outstanding only if they are valu…
jakobbotsch Feb 16, 2022
87ab863
Hosting: ConfigDoesReload tests: increase timeout. (#64976)
tmds Feb 16, 2022
a71d6f1
Explicitly check for TTL expiration when using Ping utility (#65312)
rzikm Feb 16, 2022
5dc2868
Separate capturing from normal states (#65340)
olsaarik Feb 16, 2022
c1dba41
Add linux-musl entry for FALLBACK_HOST_RID (#65339)
am11 Feb 16, 2022
c931d47
[main] Update dependencies from 9 repositories (#65252)
dotnet-maestro[bot] Feb 16, 2022
d40c0ed
Gracefully emit a diagnostic when the GeneratedDllImport attribute di…
jkoritzinsky Feb 16, 2022
135a960
Proposed changes to ECMA 335 for ref field support (#63659)
davidwrighton Feb 16, 2022
f1337d9
[LoongArch64] add the `coreclr/unwinder/loongarch64` from the #62979.…
shushanhf Feb 16, 2022
f2d4f88
Merge a couple NativeAOT smoke tests (#65426)
MichalStrehovsky Feb 16, 2022
e279a17
[LoongArch64] add gc directory for LoongArch64. (#63071)
shushanhf Feb 16, 2022
ced5e7a
[MAUI][PERF] Reenable Maui w/o package injection (#65409)
LoopedBard3 Feb 16, 2022
2196c35
[wasm] Disable aot tests failing due to OOM (#65413)
radical Feb 17, 2022
195eb5f
Fix PerformanceCounter's when running with Globalization Invariant Mo…
tarekgh Feb 17, 2022
f29ba20
Remove or move some expensive low-value testing (#65453)
agocke Feb 17, 2022
50b4abb
Disable component governance for musl runs (#65454)
agocke Feb 17, 2022
36a79fc
update SSL tests to deal better with disabled protocols (#65120)
wfurt Feb 17, 2022
4e2a7da
[mono][jit] Compute the type of generic context used by static virtua…
vargaz Feb 17, 2022
793185a
[mono][interp] Add checks for interpreter stack overflow. (#65315)
vargaz Feb 17, 2022
c3f5727
[JIT] More ARM64 comparison instruction optimizations with Vector.Zer…
TIHan Feb 17, 2022
f8fb217
Add reminder for package authoring (#65480)
danmoseley Feb 17, 2022
158f089
Fix OP_FMAX an OP_FMIN on amd64 and lift the arch limitation (#65445)
fanyang-mono Feb 17, 2022
8c406af
Morph `Vector.Create(0)` to `Vector.Zero` (#63821)
TIHan Feb 17, 2022
4c2ea7e
Avoid additional AssemblyInfo output file (#65465)
ViktorHofer Feb 17, 2022
385fc88
Fix verification of open delegates (#65425)
jkotas Feb 17, 2022
9bb256f
[main] Update dependencies from dotnet/linker (#65374)
dotnet-maestro[bot] Feb 17, 2022
e0b0bb4
Remove dead code in illink.targets (#65494)
ViktorHofer Feb 17, 2022
aa4b8ee
[wasm][debugger] Fix exceptions on eval (#64374)
ilonatommy Feb 17, 2022
8aafc45
Process.Unix: reap all processes when running as pid 1. (#65061)
tmds Feb 17, 2022
8e2f930
Remove OpenSSL error queue checking after initialization (#65435)
rzikm Feb 17, 2022
d2939c8
[wasm] HTTP tests on NodeJS (#65303)
maraf Feb 17, 2022
973b764
Add @teo-tsirpanis to community triagers (#65503)
eiriktsarpalis Feb 17, 2022
2c487d2
Move MacCatalyst arm64 leg definitions from runtime-staging to runtim…
MaximLipnin Feb 17, 2022
1323e3c
Add xargs for dotnet format command (#65090)
jkoritzinsky Feb 17, 2022
310406d
Adding Mariner 2.0 deps project (#65442)
NikolaMilosavljevic Feb 17, 2022
87d6d58
Use `push` for 8/12 byte struct args on x86 (#65387)
SingleAccretion Feb 17, 2022
b20c355
Disable R2R code for all associated components of a composite image (…
davidwrighton Feb 17, 2022
5ab9fad
Add Nullable.GetValueRefOrDefaultRef API (#64677)
Sergio0694 Feb 17, 2022
643e08d
Fix ping tests on OSX (#65508)
rzikm Feb 17, 2022
ae938c3
Clear GC info when consuming GT_PUTARG_SPLIT nodes (#65432)
jakobbotsch Feb 17, 2022
dae2d02
Add retries to SPMI download (#65516)
jakobbotsch Feb 17, 2022
e2b9ef3
JIT: better addressing mode for floating point on arm64 (#65468)
EgorBo Feb 17, 2022
ea5376a
Replace picture of API review process with diagram (#65527)
Feb 17, 2022
053a472
Update tests to help uncover CrossGen2 scenario validation (#65477)
AaronRobinsonMSFT Feb 17, 2022
a165316
Move architecture-specific code out of codegencommon.cpp (#65488)
BruceForstall Feb 17, 2022
09b6149
PGO: Profile isinst/castclass (#65460)
EgorBo Feb 17, 2022
d1f4d23
Move IsKnownConstant handling to ExtendedDefaultPolicy (#64809)
EgorBo Feb 17, 2022
ff78e04
Update main branding to preview 3 (#65346)
safern Feb 17, 2022
b9a55b4
[wasm] Disable wasm aot tests hitting OOM on all platforms (#65521)
elinor-fung Feb 18, 2022
255c3ab
Add line break to please Firefox
Feb 18, 2022
1088599
[wasm] Rollback emscripten to 2.0.23 (#65517)
radekdoulik Feb 18, 2022
785f818
[mono][wasm] Link the aot profiler into dotnet.wasm by default in deb…
vargaz Feb 18, 2022
c80a346
[mono] Cache aotdata file in AOTCompiler task (#65472)
steveisok Feb 18, 2022
26a1c7e
Use CopyContext to restore saved context on X86 (#65490)
VSadov Feb 18, 2022
89e5469
FileSystemWatcher.Linux: handle races while adding child directories.…
tmds Feb 18, 2022
d59bfff
[wasm] Replace active issue for browser platform with NodeJS only (#6…
maraf Feb 18, 2022
90b7be3
[LoongArch64] JIT/EE interface for getting ABI-info (#62893)
shushanhf Feb 18, 2022
cc649ac
Fix XNodeReaderFunctionalTests (#65500)
krwq Feb 18, 2022
fb69200
Support resumable serialization in NullableConverter<T> (#65524)
eiriktsarpalis Feb 18, 2022
3deadcf
Improve PipeWriterTests.CompleteWithLargeWriteThrows (#65506)
akoeplinger Feb 18, 2022
463bd75
[wasm] Rationalize wasm jobs run on CI (#65035)
radical Feb 18, 2022
0293fa7
[wasm] Ensure NodeJS for running tests isn't too old (#65549)
maraf Feb 18, 2022
3a16a8a
New Arcade Installers package with Mariner cm.2 change (#65542)
NikolaMilosavljevic Feb 18, 2022
8b5e4cc
Fix assert (#65564)
SingleAccretion Feb 18, 2022
1ea9cf4
Fix missing zero-offset sequences and add checking (#64805)
SingleAccretion Feb 18, 2022
6d53d4a
Forward DefaultDllImportSearchPathsAttribute to the inner P/Invoke. (…
jkoritzinsky Feb 18, 2022
ae259bf
Class types with layout that inherit from System.Object should be Man…
jkoritzinsky Feb 18, 2022
ee24732
Fix Vector256.IsHardwareAccelerated in R2R binaries (#65351)
davidwrighton Feb 18, 2022
bdfff40
Allow constant propagation of Vector.Zero. (#65028)
TIHan Feb 18, 2022
3bfe56e
Skip RegexOptions.NonBacktracking phase 3 for some patterns (#65531)
stephentoub Feb 18, 2022
ac4ec9e
Clean-up slngen related logic (#65507)
ViktorHofer Feb 18, 2022
cf6dbde
Improve SuperPMI script robustness (#65586)
BruceForstall Feb 18, 2022
47259d1
[wasm] Implicit NodeJS version on Helix (#65514)
maraf Feb 18, 2022
3d6458f
Disable System.Diagnostics.Tests.EventLogRecordTests.ExceptionOnce on…
elinor-fung Feb 18, 2022
06228c1
[wasm] Make the sanitize pass less aggressive (#65571)
lewing Feb 18, 2022
5d296d0
Allow Trace Samplers to Modify the Activity Trace State (#65530)
tarekgh Feb 19, 2022
ee0b460
[wasm] Trigger all wasm jobs, if `eng/Version.Details.xml` has any ch…
radical Feb 19, 2022
efa2ab1
Merge with main from upstream
Feb 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove Try/HashData from AsymmetricAlgorithmHelpers
  • Loading branch information
vcsjones authored Feb 14, 2022
commit ce13258b04df862e4a2cd8a36045fa7491414d10

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -197,14 +197,14 @@ protected override byte[] HashData(byte[] data, int offset, int count, HashAlgor
Debug.Assert(count >= 0 && count <= data.Length);
Debug.Assert(!string.IsNullOrEmpty(hashAlgorithm.Name));

return AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
return HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));
}

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

public override byte[] CreateSignature(byte[] rgbHash!!)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,14 @@ protected override byte[] HashData(byte[] data, int offset, int count, HashAlgor
Debug.Assert(count >= 0 && count <= data.Length);
Debug.Assert(!string.IsNullOrEmpty(hashAlgorithm.Name));

return AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
return HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));
}

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

public override byte[] CreateSignature(byte[] rgbHash!!)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ protected override byte[] HashData(byte[] data, int offset, int count, HashAlgor
throw new CryptographicException(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name);
}

return AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
return HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));
}

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

protected override void Dispose(bool disposing)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,13 +241,13 @@ protected override bool VerifyHashCore(
}

protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

protected override void Dispose(bool disposing)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,13 @@ protected override bool VerifyHashCore(
}

protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

protected override void Dispose(bool disposing)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ public override bool VerifyHash(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> sign
}

protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> source, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(source, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, source, destination, out bytesWritten);

private void ThrowIfDisposed()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,36 @@ internal static byte[] HashData(HashAlgorithmName hashAlgorithm, ReadOnlySpan<by
throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name));
}

internal static bool TryHashData(
HashAlgorithmName hashAlgorithm,
ReadOnlySpan<byte> source,
Span<byte> destination,
out int bytesWritten)
{
if (hashAlgorithm == HashAlgorithmName.SHA256)
{
return SHA256.TryHashData(source, destination, out bytesWritten);
}
else if (hashAlgorithm == HashAlgorithmName.SHA1)
{
return SHA1.TryHashData(source, destination, out bytesWritten);
}
else if (hashAlgorithm == HashAlgorithmName.SHA512)
{
return SHA512.TryHashData(source, destination, out bytesWritten);
}
else if (hashAlgorithm == HashAlgorithmName.SHA384)
{
return SHA384.TryHashData(source, destination, out bytesWritten);
}
else if (Helpers.HasMD5 && hashAlgorithm == HashAlgorithmName.MD5)
{
return MD5.TryHashData(source, destination, out bytesWritten);
}

throw new CryptographicException(SR.Format(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name));
}

internal static byte[] HashData(HashAlgorithmName hashAlgorithm, Stream source)
{
if (hashAlgorithm == HashAlgorithmName.SHA256)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -648,13 +648,13 @@ private SafeRsaHandle GenerateKey()
}

protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

public override byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -718,13 +718,13 @@ private SafeEvpPKeyHandle GenerateKey()
}

protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

public override byte[] SignHash(byte[] hash, HashAlgorithmName hashAlgorithm, RSASignaturePadding padding)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -556,13 +556,13 @@ public override bool VerifyHash(ReadOnlySpan<byte> hash, ReadOnlySpan<byte> sign
}

protected override byte[] HashData(byte[] data, int offset, int count, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm) =>
AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
HashOneShotHelpers.HashData(hashAlgorithm, data);

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten) =>
AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);

protected override void Dispose(bool disposing)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,6 @@
Link="Common\Interop\Unix\System.Security.Cryptography.Native\Interop.X509Stack.cs" />
<Compile Include="$(CommonPath)Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs"
Link="Common\Interop\Unix\System.Security.Cryptography.Native\Interop.X509StoreCtx.cs" />
<Compile Include="$(CommonPath)Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs"
Link="Common\Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs" />
<Compile Include="$(CommonPath)Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs"
Link="Common\Microsoft\Win32\SafeHandles\Asn1SafeHandles.Unix.cs" />
<Compile Include="$(CommonPath)Microsoft\Win32\SafeHandles\SafeBignumHandle.Unix.cs"
Expand Down Expand Up @@ -850,8 +848,6 @@
<Compile Include="System\Security\Cryptography\AesGcm.OpenSsl.cs" />
</ItemGroup>
<ItemGroup Condition="'$(UseAndroidCrypto)' == 'true'">
<Compile Include="$(CommonPath)Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs"
Link="Common\Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs" />
<Compile Include="$(CommonPath)Interop\Android\Interop.JObjectLifetime.cs"
Link="Common\Interop\Android\Interop.JObjectLifetime.cs" />
<Compile Include="$(CommonPath)Interop\Android\Interop.Libraries.cs"
Expand Down Expand Up @@ -1034,8 +1030,6 @@
<ItemGroup Condition="'$(UseAppleCrypto)' == 'true'">
<Compile Include="$(CommonPath)Internal\Cryptography\AsymmetricAlgorithmHelpers.Ansi.cs"
Link="Common\Internal\Cryptography\AsymmetricAlgorithmHelpers.Ansi.cs" />
<Compile Include="$(CommonPath)Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs"
Link="Common\Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs" />
<Compile Include="$(CommonPath)Interop\OSX\Interop.CoreFoundation.cs"
Link="Common\Interop\OSX\Interop.CoreFoundation.cs" />
<Compile Include="$(CommonPath)Interop\OSX\Interop.CoreFoundation.CFArray.cs"
Expand Down Expand Up @@ -1668,8 +1662,6 @@
Link="Common\Microsoft\Win32\SafeHandles\SafeCryptMsgHandle.cs" />
<Compile Include="$(CommonPath)Microsoft\Win32\SafeHandles\SafeUnicodeStringHandle.cs"
Link="Microsoft\Win32\SafeHandles\SafeUnicodeStringHandle.cs" />
<Compile Include="$(CommonPath)Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs"
Link="Common\Internal\Cryptography\AsymmetricAlgorithmHelpers.Hash.cs" />
<Compile Include="$(CommonPath)System\Security\Cryptography\CngPkcs8.cs"
Link="Common\System\Security\Cryptography\CngPkcs8.cs" />
<Compile Include="$(CommonPath)System\Security\Cryptography\DSACng.cs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,23 @@ protected override byte[] HashData(byte[] data, int offset, int count, HashAlgor
if (hashAlgorithm != HashAlgorithmName.SHA1)
throw new CryptographicException(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name);

return AsymmetricAlgorithmHelpers.HashData(data, offset, count, hashAlgorithm);
return HashOneShotHelpers.HashData(hashAlgorithm, new ReadOnlySpan<byte>(data, offset, count));
}

protected override byte[] HashData(Stream data, HashAlgorithmName hashAlgorithm)
{
if (hashAlgorithm != HashAlgorithmName.SHA1)
throw new CryptographicException(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name);

return AsymmetricAlgorithmHelpers.HashData(data, hashAlgorithm);
return HashOneShotHelpers.HashData(hashAlgorithm, data);
}

protected override bool TryHashData(ReadOnlySpan<byte> data, Span<byte> destination, HashAlgorithmName hashAlgorithm, out int bytesWritten)
{
if (hashAlgorithm != HashAlgorithmName.SHA1)
throw new CryptographicException(SR.Cryptography_UnknownHashAlgorithm, hashAlgorithm.Name);

return AsymmetricAlgorithmHelpers.TryHashData(data, destination, hashAlgorithm, out bytesWritten);
return HashOneShotHelpers.TryHashData(hashAlgorithm, data, destination, out bytesWritten);
}

public void ImportCspBlob(byte[] keyBlob)
Expand Down
Loading