Author

Topic: VIA PadLock support. [Reward 50BTC] (Read 9108 times)

member
Activity: 61
Merit: 10
August 06, 2010, 06:57:21 PM
#8
The problem that I have had when implementing this is that I do not know enough about SHA256 to implement it. I'm trying to figure it out and learn but haven't been making much success. It's a bit difficult trying to learn and rewrite from the Crypto++ functions and calls. That, and I haven't programmed in C++ or C for a couple years all adds up to me putting this offer out.
member
Activity: 70
Merit: 10
August 06, 2010, 06:49:08 PM
#7
The sha256 setup is very likely bitcoin-specific, and you don't need lib files or SDK to simply issue an instruction:

Sure, you can do it as asm instructions or you can use the SDK to make it more easy to read, it's going to result in the same code in either case.

the bitcoin usage of SHA256 does not prevent you from using Padlock C style functions because they are the same standard of init, update, final.
legendary
Activity: 1596
Merit: 1022
August 06, 2010, 02:16:57 PM
#6
why bother? Via publish an SDK for it.

I should also point out that you will need the lib files for linking.

The sha256 setup is very likely bitcoin-specific, and you don't need lib files or SDK to simply issue an instruction:
Code:
        asm volatile (".byte 0xf3,0x0f,0xa6,0xd0" /* rep xsha256 */
                      : \
                      : "c"((unsigned long)state.count + count), \
                        "a"((unsigned long)state.count), \
                        "S"(in), "D"(result));

member
Activity: 70
Merit: 10
August 06, 2010, 01:46:10 PM
#5
why bother? Via publish an SDK for it.

I should also point out that you will need the lib files for linking.
legendary
Activity: 1596
Merit: 1022
August 06, 2010, 01:45:08 PM
#4
Correct. It is well implemented in the Linux Kernel.

I'll be using it on Gentoo x86 with support built in without a module.

Anyone implementing it in bitcoin will be unlikely to use the kernel support for anything but as a source for code copying...  One would almost surely link it into the bitcoin binary.
member
Activity: 61
Merit: 10
August 06, 2010, 09:05:46 AM
#3
Correct. It is well implemented in the Linux Kernel.

I'll be using it on Gentoo x86 with support built in without a module.
legendary
Activity: 1596
Merit: 1022
August 06, 2010, 01:14:28 AM
#2
member
Activity: 61
Merit: 10
August 05, 2010, 06:39:49 PM
#1
I have a small reward out for implementing VIA's PadLock technology with the software. If done in a good way that could be used in the SVN for other builders I have a reward for 50BTC. If done even locally for just a few builds or instructions on how to do so, reward is 25 to 50 BTC.

Really want to get this working and don't have the time to put into it right now.
Jump to: