Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005228 [Squeak] VM major always 10-12-06 18:06 12-11-15 03:50
Reporter Ron View Status public  
Assigned To lewis
Priority normal Resolution fixed  
Status resolved   Product Version 3.9
Summary 0005228: Include Cryptographic Primitives in Base VM - DESPlugin
Description Hans-Martin did some testing and as we expected the performance of pure squeak cryptography is disapointing:

Hans-Martin wrote:
"Ok, I did some measurements. Results are pretty disappointing.
Squeak on my AMD 3800+ processor encrypts 32 KBytes using 3DES CBC mode in about 8 seconds - unusable for anything but a proof-of-concept.
Therefore I think that DES (and maybe some other small cryptographic
primitives) should be part of the base VM."

The DESPlugin is already a part of the VMMaker, I am asking the VM group to please include the DESPlugin in the base VM that is distrubuted. We will be submitting more code and will follow the process of code -> VMMaker -> VM. If the VM team wants to wait before building a new VM's until other primitives are available, that is fine, but if a build is going to be done anyway for other issues, please include the DESPlugin.

Thank you for your help!
Ron Teitelbaum
Cryptography Team Leader
Additional Information
Attached Files  DESPlugin.st [^] (18,308 bytes) 10-12-06 20:16
 RobDESPlugin.st [^] (18,317 bytes) 10-12-06 21:04

- Relationships
child of 0006671closed tim Build VMMaker for 3.9 

- Notes
(0007663 - 597 - 675 - 675 - 675 - 675 - 675)
Ron
10-12-06 20:15

From: Robert Withers
Sent: Thursday, October 12, 2006 11:50 AM

Ron, I don't believe the DESPlugin is part of VMMaker. It is part of our DES package and it is confused about it's superclass. Steps to get the DESPlugin into an image with VMMaker:

1) take 3.7 image, which has VMMaker loaded.
2) load Cryptography package from SqueakMap (no Monticello in 3.7)
3) respecify the superclass of DESPlugin to be InterpreterProxy.
4) run VMMaker and generate plugin

The 3.8/3.9 image has no VMMaker in it and the VMMaker on SqueakMap is in an inconsistent state.

I hope this helps,
Robert
 
(0007664 - 340 - 388 - 388 - 388 - 388 - 388)
Ron
10-12-06 20:15

Rob,

Thank you for that clarification. I thought that it was already included.

Tim,

Since it is not part of the VMMaker can we have it included? What specifically do you need from us to make this happen? Does the plug-in need to be pulled out of our code and submitted separately? I attached a st file of the plug-in.

Ron
 
(0007665 - 227 - 275 - 275 - 275 - 275 - 275)
Ron
10-12-06 21:01

Ron,


That fileout has ProtoObject as the superclass, that needs to be replaced with InterpreterPlugin, I believe is the correct superclass - not InterpreterProxy.


Rob

I replaced the uploaded file with Rob's version
 
(0007666 - 57 - 63 - 63 - 63 - 63 - 63)
Ron
10-12-06 21:04

Ok I uploaded a RobDESPlugin.st << Please use this file.
 
(0011615 - 291 - 325 - 325 - 325 - 325 - 325)
tim
12-29-07 03:41

OK, I can include the DES plugin but someone needs to bring it up to date;
swap the _ assigns for := assigns
remove the silly comments ("who is keyser soze" for example)
use the 64bit clean types such as usqInt instead of unsigned long
use the 64bit clean macros such as byteAtPointer()
 
(0012189 - 98 - 98 - 98 - 98 - 98 - 98)
tim
05-27-08 18:16

Reminder sent to: Ron

Since I'm trying to update VMMaker, you might like to update the plugin code as per my last note.
 
(0012466 - 21 - 21 - 21 - 21 - 21 - 21)
tim
08-07-08 00:29

Reminder sent to: Ron

Any progress on this?
 
(0014584 - 527 - 575 - 777 - 777 - 777 - 777)
lewis
12-11-15 03:20

Discussed and agreed on vm-dev list http://lists.squeakfoundation.org/pipermail/vm-dev/2015-December/020108.html [^]

Remove DSAPlugin from VMMaker (trunk and oscog both), and refer instead
to the version in the Cryptography repository. This enables inclusion
of three other Cryptography plugins from that repository, and also puts
responsibility for ongoing maintenance of the DSAPlugin with the
Cryptography team.

DSAPlugin has been removed from VMMaker and VMMaker.oscog, and build script will now refer to Crytography.
 
(0014585 - 106 - 106 - 106 - 106 - 106 - 106)
lewis
12-11-15 03:50

DSAPlugin has been removed from VMMaker and VMMaker.oscog, and build script will now refer to Crytography.
 

- Issue History
Date Modified Username Field Change
10-12-06 18:06 Ron New Issue
10-12-06 20:15 Ron Note Added: 0007663
10-12-06 20:15 Ron Note Added: 0007664
10-12-06 20:16 Ron File Added: DESPlugin.st
10-12-06 21:01 Ron Note Added: 0007665
10-12-06 21:04 Ron Note Added: 0007666
10-12-06 21:04 Ron File Added: RobDESPlugin.st
10-17-06 00:43 tim Status new => assigned
10-17-06 00:43 tim Assigned To  => tim
09-14-07 00:03 tim Relationship added child of 0006671
12-29-07 03:41 tim Note Added: 0011615
05-27-08 18:16 tim Note Added: 0012189
05-27-08 18:33 tim Status assigned => acknowledged
08-07-08 00:29 tim Note Added: 0012466
01-09-11 22:54 lewis Status acknowledged => assigned
01-09-11 22:54 lewis Assigned To tim => lewis
12-05-15 23:08 lewis Note Added: 0014581
12-05-15 23:23 lewis Note Deleted: 0014581
12-11-15 03:20 lewis Note Added: 0014584
12-11-15 03:50 lewis Status assigned => resolved
12-11-15 03:50 lewis Resolution open => fixed
12-11-15 03:50 lewis Note Added: 0014585


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
87 total queries executed.
50 unique queries executed.
Powered by Mantis Bugtracker