Skip to content

Commit

Permalink
TP LockBox 3 , version 3.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanBDurkin committed Nov 17, 2016
1 parent 9b5fff5 commit 1cc5cde
Show file tree
Hide file tree
Showing 245 changed files with 121,812 additions and 55,709 deletions.
336 changes: 168 additions & 168 deletions COPYING.LESSER.txt → LockBox3/COPYING.LESSER.txt

Large diffs are not rendered by default.

1,354 changes: 677 additions & 677 deletions COPYING.txt → LockBox3/COPYING.txt

Large diffs are not rendered by default.

94 changes: 47 additions & 47 deletions How_to_build_LockBox3.txt → LockBox3/How_to_build_LockBox3.txt
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
How to Build TurboPower LockBox 3
=================================
To build TurboPower LockBox 3, follow these steps.
1. Open up each of the projects and set the project options and directories
as you prefer for your development environment. (See notes about
Environment Variables below).
2. Compile the main run-time package (TP_LockBox3.dproj) for each platform. Use the DEBUG config if you want to be able to step through the lockbox code at run-time, otherwise use the RELEASE config.
By default the dcu's will be placed in '..\..\work-products\ephemeral\dcu\XE7\$(Platform)' relative to the project head, but you can override this.
The default the dcp's will be placed as per your IDE settings (Tools | Options... | etc.), but you can override this.
3. Take a note of the paths in step 2. Check that the output dcu's and dcp is where you expect them to be. If not already present, add the dcu path and the dcp path (but not the source path) to the
library path for each platform. You can also add the source path ('run' directory) to the IDE browsing path).
4. Compile the main design-time package (dclTP_LockBox3.dproj). Use Win32 platform, RELEASE config.
If upgrading from a previous version, it is safer to uninstall the previous lockbox design-time package first.
5. Install the main design-time package.
6. Use and enjoy !
Package, Application and Group heads
====================================
Here is listed the package heads and their purposes.
\packages\XE7\TP_LockBox3_XE7.groupproj
The project group for Delphi XE7
\packages\XE7\dclTP_LockBox3.dpk
The main design-time package for Delphi XE6
\packages\XE7\Lockbox3_Demo.dpr
The demonstration program for Delphi XE7
\packages\XE7\LockBox_DUnit_Tests.dpr
The D-Unit test suite running under Delphi 2010 without SmartInpect support.
\packages\XE7\MakeSampleKey.dpr
A demonstration program for Delphi 2010 without SmartInspect, to create
an RSA key.
\packages\XE7\Precompute.dpr
Program which show how the AES look-up tables were precomputed.
How to Build TurboPower LockBox 3
=================================

To build TurboPower LockBox 3, follow these steps.

1. Open up each of the projects and set the project options and directories
as you prefer for your development environment. (See notes about
Environment Variables below).

2. Compile the main run-time package (TP_LockBox3.dproj) for each platform. Use the DEBUG config if you want to be able to step through the lockbox code at run-time, otherwise use the RELEASE config.
By default the dcu's will be placed in '..\..\work-products\ephemeral\dcu\XE7\$(Platform)' relative to the project head, but you can override this.
The default the dcp's will be placed as per your IDE settings (Tools | Options... | etc.), but you can override this.

3. Take a note of the paths in step 2. Check that the output dcu's and dcp is where you expect them to be. If not already present, add the dcu path and the dcp path (but not the source path) to the
library path for each platform. You can also add the source path ('run' directory) to the IDE browsing path).

4. Compile the main design-time package (dclTP_LockBox3.dproj). Use Win32 platform, RELEASE config.
If upgrading from a previous version, it is safer to uninstall the previous lockbox design-time package first.

5. Install the main design-time package.

6. Use and enjoy !


Package, Application and Group heads
====================================
Here is listed the package heads and their purposes.

\packages\XE7\TP_LockBox3_XE7.groupproj
The project group for Delphi XE7

\packages\XE7\dclTP_LockBox3.dpk
The main design-time package for Delphi XE6

\packages\XE7\Lockbox3_Demo.dpr
The demonstration program for Delphi XE7

\packages\XE7\LockBox_DUnit_Tests.dpr
The D-Unit test suite running under Delphi 2010 without SmartInpect support.

\packages\XE7\MakeSampleKey.dpr
A demonstration program for Delphi 2010 without SmartInspect, to create
an RSA key.

\packages\XE7\Precompute.dpr
Program which show how the AES look-up tables were precomputed.

Original file line number Diff line number Diff line change
@@ -1,134 +1,134 @@
object mfmMakeSampleKey: TmfmMakeSampleKey
Left = 0
Top = 0
Caption = 'Make Sample Key'
ClientHeight = 294
ClientWidth = 562
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
OnDestroy = FormDestroy
DesignSize = (
562
294)
PixelsPerInch = 96
TextHeight = 13
object lblCountPrimalityTests: TLabel
Left = 8
Top = 102
Width = 71
Height = 13
Caption = 'Primality tests:'
end
object lblCountPrimalityTestsValue: TLabel
Left = 85
Top = 102
Width = 6
Height = 13
Caption = '0'
end
object lblKeySize: TLabel
Left = 3
Top = 0
Width = 93
Height = 13
Caption = 'RSA key size (bits):'
FocusControl = edtKeySize
end
object btnGenRSA: TButton
Left = 8
Top = 40
Width = 121
Height = 25
Caption = 'Generate RSA key pair'
TabOrder = 0
OnClick = btnGenRSAClick
end
object memoOutput: TMemo
Left = 135
Top = 8
Width = 419
Height = 278
Anchors = [akLeft, akTop, akRight, akBottom]
Color = clInfoBk
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
Lines.Strings = (
'[Output goes here]')
ParentFont = False
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 1
end
object btnGenAES256: TButton
Left = 8
Top = 139
Width = 121
Height = 25
Caption = 'Generate AES-256 key'
TabOrder = 2
OnClick = btnGenAES256Click
end
object btnAbort: TButton
Left = 8
Top = 71
Width = 121
Height = 25
Caption = 'Abort RSA generation'
Enabled = False
TabOrder = 3
OnClick = btnAbortClick
end
object edtKeySize: TEdit
Left = 74
Top = 13
Width = 39
Height = 21
TabOrder = 4
Text = '1024'
end
object btnGenCompRSAKeys: TButton
Left = 8
Top = 232
Width = 105
Height = 54
Caption = 'Generate componentised RSA keys'
TabOrder = 5
WordWrap = True
OnClick = btnGenCompRSAKeysClick
end
object CryptographicLibrary1: TCryptographicLibrary
Left = 184
Top = 240
end
object Codec1: TCodec
AsymetricKeySizeInBits = 1024
AdvancedOptions2 = []
CryptoLibrary = CryptographicLibrary1
OnProgress = Codec1Progress
Left = 288
Top = 240
StreamCipherId = 'native.RSA'
BlockCipherId = ''
ChainId = 'native.ECB'
end
object Hash1: THash
CryptoLibrary = CryptographicLibrary1
Left = 168
Top = 192
HashId = 'native.hash.MD5'
end
object Signatory1: TSignatory
Codec = Codec1
Left = 376
Top = 240
end
end
object mfmMakeSampleKey: TmfmMakeSampleKey
Left = 0
Top = 0
Caption = 'Make Sample Key'
ClientHeight = 294
ClientWidth = 562
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
OnDestroy = FormDestroy
DesignSize = (
562
294)
PixelsPerInch = 96
TextHeight = 13
object lblCountPrimalityTests: TLabel
Left = 8
Top = 102
Width = 71
Height = 13
Caption = 'Primality tests:'
end
object lblCountPrimalityTestsValue: TLabel
Left = 85
Top = 102
Width = 6
Height = 13
Caption = '0'
end
object lblKeySize: TLabel
Left = 3
Top = 0
Width = 93
Height = 13
Caption = 'RSA key size (bits):'
FocusControl = edtKeySize
end
object btnGenRSA: TButton
Left = 8
Top = 40
Width = 121
Height = 25
Caption = 'Generate RSA key pair'
TabOrder = 0
OnClick = btnGenRSAClick
end
object memoOutput: TMemo
Left = 135
Top = 8
Width = 419
Height = 278
Anchors = [akLeft, akTop, akRight, akBottom]
Color = clInfoBk
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -13
Font.Name = 'Courier New'
Font.Style = []
Lines.Strings = (
'[Output goes here]')
ParentFont = False
ReadOnly = True
ScrollBars = ssVertical
TabOrder = 1
end
object btnGenAES256: TButton
Left = 8
Top = 139
Width = 121
Height = 25
Caption = 'Generate AES-256 key'
TabOrder = 2
OnClick = btnGenAES256Click
end
object btnAbort: TButton
Left = 8
Top = 71
Width = 121
Height = 25
Caption = 'Abort RSA generation'
Enabled = False
TabOrder = 3
OnClick = btnAbortClick
end
object edtKeySize: TEdit
Left = 74
Top = 13
Width = 39
Height = 21
TabOrder = 4
Text = '1024'
end
object btnGenCompRSAKeys: TButton
Left = 8
Top = 232
Width = 105
Height = 54
Caption = 'Generate componentised RSA keys'
TabOrder = 5
WordWrap = True
OnClick = btnGenCompRSAKeysClick
end
object CryptographicLibrary1: TCryptographicLibrary
Left = 184
Top = 240
end
object Codec1: TCodec
AsymetricKeySizeInBits = 1024
AdvancedOptions2 = []
CryptoLibrary = CryptographicLibrary1
OnProgress = Codec1Progress
Left = 288
Top = 240
StreamCipherId = 'native.RSA'
BlockCipherId = ''
ChainId = 'native.ECB'
end
object Hash1: THash
CryptoLibrary = CryptographicLibrary1
Left = 168
Top = 192
HashId = 'native.hash.MD5'
end
object Signatory1: TSignatory
Codec = Codec1
Left = 376
Top = 240
end
end
Loading

0 comments on commit 1cc5cde

Please sign in to comment.