Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
36c32e4
Preliminary fix for crash in GCM encode
MHumm Apr 22, 2025
6f7dfcc
Fixed GitHub issue #86
MHumm Apr 23, 2025
d1af4ed
Changed DecodeGCM to using pointers instead of TBytes
MHumm Apr 23, 2025
7952de6
Fixed crash in unit test setup for Keccak224
MHumm Apr 23, 2025
584ff70
Added options include file
MHumm May 2, 2025
6e20c19
Merge remote-tracking branch 'origin/development' into development
MHumm May 2, 2025
c7267cb
Added CCM block chaining mode and unit tests for it
MHumm May 25, 2025
72ab382
Merge remote-tracking branch 'origin/development' into development
MHumm May 25, 2025
9dfdfd9
Added name of a sponsor to notice.txt
MHumm May 25, 2025
760681f
Progress: Removed class TCipher_ChaCha_Poly1305 -> now in Mode
mikerabat Jun 16, 2025
9098716
* Poly1305 hash updated to new authentication Class
mikerabat Jul 9, 2025
7375a54
Working GCM and Poly1305
mikerabat Jul 12, 2025
dd312e6
Minor: unchecked assembler in inc file.
mikerabat Jul 13, 2025
07775f5
Implemented XChacha20 according to https://datatracker.ietf.org/doc/h…
mikerabat Jul 16, 2025
a4f52c7
Removed poly1305 dll reference - (was a test to implement a sse/avx v…
mikerabat Jul 20, 2025
2cb7832
Added a json based test suite.
mikerabat Jul 29, 2025
e8ffbb5
Fix: the destructor was actually a test - moved to public section
mikerabat Jul 29, 2025
a025e6c
Extended intel CPU support (added unit to detect features AVX, SSE an…
mikerabat Aug 2, 2025
7e1b443
* New AES assembler routines based on the Intel Whitepaper
mikerabat Aug 20, 2025
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
12 changes: 6 additions & 6 deletions Demos/Cipher_FMX/MainFormCipherFMX.fmx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ object FormMain: TFormMain
Left = 0
Top = 0
Caption = 'FMX Cipher Demo'
ClientHeight = 910
ClientWidth = 402
ClientHeight = 908
ClientWidth = 404
FormFactor.Width = 320
FormFactor.Height = 480
FormFactor.Devices = [Desktop]
Expand All @@ -13,13 +13,13 @@ object FormMain: TFormMain
DesignerMasterStyle = 0
object VertScrollBox1: TVertScrollBox
Align = Client
Size.Width = 402.00000000000000000
Size.Height = 910.00000000000000000
Size.Width = 404.00000000000000000
Size.Height = 908.00000000000000000
Size.PlatformDefault = False
StyleLookup = 'scrollboxstyle'
TabOrder = 6
Viewport.Width = 386.00000000000000000
Viewport.Height = 910.00000000000000000
Viewport.Width = 388.00000000000000000
Viewport.Height = 908.00000000000000000
object LayoutTop: TLayout
Size.Width = 400.00000000000000000
Size.Height = 313.00000000000000000
Expand Down
Binary file modified Docs/DEC65.pdf
Binary file not shown.
Binary file modified Docs/VersionHistory.pdf
Binary file not shown.
4 changes: 3 additions & 1 deletion NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DEC - Delphi Encryption Compendium
Version 6.5

Copyright (c) 2018 - 2020 Norman Gallery (ng931884 [at] gmx [dot] de)
Copyright (c) 2016 - 2024 Markus Humm (markus [dot] humm [at] googlemail [dot] com) (main contact)
Copyright (c) 2016 - 2025 Markus Humm (markus [dot] humm [at] googlemail [dot] com) (main contact)
Copyright (c) 2008 - 2019 Frederik A. Winkelsdorf (winkelsdorf [at] gmail [dot] com)
Copyright (c) 1999 - 2008 Hagen Reddmann (HaReddmann [at] T-Online [dot] de)

Expand Down Expand Up @@ -30,6 +30,8 @@ alexrayne
Stevie
danielmarschall
Christoph Schneider (Schneider Infosystems AG)
mikerabat
icTrainer

Parts of the work loosely based on the works of Wolfgang Erhardt, who is
unfortunately dead already.
Expand Down
6 changes: 5 additions & 1 deletion Source/DEC60.dpr
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,11 @@ uses
DECHashBitBase in 'DECHashBitBase.pas',
DECCipherModesGCM in 'DECCipherModesGCM.pas',
DECZIPHelper in 'DECZIPHelper.pas',
DECCipherPaddings in 'DECCipherPaddings.pas';
DECCipherPaddings in 'DECCipherPaddings.pas',
DECCipherModesCCM in 'DECCipherModesCCM.pas',
DECAuthenticatedCipherModesBase in 'DECAuthenticatedCipherModesBase.pas',
DECCipherModesPoly1305 in 'DECCipherModesPoly1305.pas',
DECCPUSupport in 'DECCPUSupport.pas';

begin
try
Expand Down
55 changes: 52 additions & 3 deletions Source/DEC60.dproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{34FB3EC0-D6C0-4F92-9FEE-3E0E87C91FC4}</ProjectGuid>
<ProjectVersion>20.2</ProjectVersion>
<ProjectVersion>20.3</ProjectVersion>
<FrameworkType>None</FrameworkType>
<MainSource>DEC60.dpr</MainSource>
<Base>True</Base>
Expand Down Expand Up @@ -85,13 +85,13 @@
<Android_NotificationIcon48>$(BDS)\bin\Artwork\Android\FM_NotificationIcon_48x48.png</Android_NotificationIcon48>
<Android_NotificationIcon72>$(BDS)\bin\Artwork\Android\FM_NotificationIcon_72x72.png</Android_NotificationIcon72>
<Android_NotificationIcon96>$(BDS)\bin\Artwork\Android\FM_NotificationIcon_96x96.png</Android_NotificationIcon96>
<VerInfo_Keys>package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey=;minSdkVersion=23;targetSdkVersion=34</VerInfo_Keys>
<VerInfo_Keys>package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey=;minSdkVersion=23;targetSdkVersion=35</VerInfo_Keys>
<BT_BuildType>Debug</BT_BuildType>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<Android_LauncherIcon192>$(BDS)\bin\Artwork\Android\FM_LauncherIcon_192x192.png</Android_LauncherIcon192>
</PropertyGroup>
<PropertyGroup Condition="'$(Base_Android64)'!=''">
<VerInfo_Keys>package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey=;minSdkVersion=23;targetSdkVersion=34</VerInfo_Keys>
<VerInfo_Keys>package=com.embarcadero.$(MSBuildProjectName);label=$(MSBuildProjectName);versionCode=1;versionName=1.0.0;persistent=False;restoreAnyVersion=False;installLocation=auto;largeHeap=False;theme=TitleBar;hardwareAccelerated=true;apiKey=;minSdkVersion=23;targetSdkVersion=35</VerInfo_Keys>
<BT_BuildType>Debug</BT_BuildType>
<Base_Android>true</Base_Android>
<CfgParent>Base</CfgParent>
Expand Down Expand Up @@ -176,6 +176,9 @@
<DCCReference Include="DECHashBitBase.pas"/>
<DCCReference Include="DECCipherModesGCM.pas"/>
<DCCReference Include="DECZIPHelper.pas"/>
<DCCReference Include="DECCipherPaddings.pas"/>
<DCCReference Include="DECCipherModesCCM.pas"/>
<DCCReference Include="DECAuthenticatedCipherModesBase.pas"/>
<None Include="DECHash.asm86.inc"/>
<None Include="DECOptions.inc"/>
<None Include="BuildAll.cmd"/>
Expand Down Expand Up @@ -233,12 +236,48 @@
</DeployFile>
<DeployFile LocalName="$(BDS)\Redist\osx64\libcgsqlite3.dylib" Class="DependencyModule"/>
<DeployFile LocalName="..\Compiled\BIN_IDE22.0_Win32_Debug\DEC60.exe" Configuration="Debug" Class="ProjectOutput"/>
<DeployFile LocalName="..\Compiled\BIN_IDE23.0_Win32_Debug\DEC60.exe" Configuration="Debug" Class="ProjectOutput">
<Platform Name="Win32">
<RemoteName>DEC60.exe</RemoteName>
<Overwrite>true</Overwrite>
</Platform>
</DeployFile>
<DeployFile LocalName="BuildAll.cmd" Configuration="Debug" Class="ProjectFile"/>
<DeployFile LocalName="BuildAll.cmd" Configuration="Debug" Class="ProjectFile">
<Platform Name="Win32">
<RemoteDir>.\</RemoteDir>
<Overwrite>true</Overwrite>
</Platform>
</DeployFile>
<DeployFile LocalName="DEC60.todo" Configuration="Debug" Class="ProjectFile"/>
<DeployFile LocalName="DECHash.asm86.inc" Configuration="Debug" Class="ProjectFile"/>
<DeployFile LocalName="DECHash.asm86.inc" Configuration="Debug" Class="ProjectFile">
<Platform Name="Win32">
<RemoteDir>.\</RemoteDir>
<Overwrite>true</Overwrite>
</Platform>
</DeployFile>
<DeployFile LocalName="DECHash.sha3_mmx.inc" Configuration="Debug" Class="ProjectFile"/>
<DeployFile LocalName="DECHash.sha3_mmx.inc" Configuration="Debug" Class="ProjectFile">
<Platform Name="Win32">
<RemoteDir>.\</RemoteDir>
<Overwrite>true</Overwrite>
</Platform>
</DeployFile>
<DeployFile LocalName="DECHash.sha3_x64.inc" Configuration="Debug" Class="ProjectFile"/>
<DeployFile LocalName="DECHash.sha3_x64.inc" Configuration="Debug" Class="ProjectFile">
<Platform Name="Win32">
<RemoteDir>.\</RemoteDir>
<Overwrite>true</Overwrite>
</Platform>
</DeployFile>
<DeployFile LocalName="DECOptions.inc" Configuration="Debug" Class="ProjectFile"/>
<DeployFile LocalName="DECOptions.inc" Configuration="Debug" Class="ProjectFile">
<Platform Name="Win32">
<RemoteDir>.\</RemoteDir>
<Overwrite>true</Overwrite>
</Platform>
</DeployFile>
<DeployClass Name="AdditionalDebugSymbols">
<Platform Name="iOSSimulator">
<Operation>1</Operation>
Expand Down Expand Up @@ -353,6 +392,16 @@
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="AndroidSplashStylesV35">
<Platform Name="Android">
<RemoteDir>res\values-v35</RemoteDir>
<Operation>1</Operation>
</Platform>
<Platform Name="Android64">
<RemoteDir>res\values-v35</RemoteDir>
<Operation>1</Operation>
</Platform>
</DeployClass>
<DeployClass Name="Android_AdaptiveIcon">
<Platform Name="Android">
<RemoteDir>res\drawable-anydpi-v26</RemoteDir>
Expand Down
Loading