On 01/10/11 10:26 PM, Newsha Ardalani wrote:
Dear all,

I am doing a project for my parallel programming course which deals with 
cryptography and I am supposed to write a C program which puts the burden of 
cryptography on hardware while doing some other stuff in parallel in software, 
I have read the blueprints Sun provides and I have faced with some questions.

1. When I use the "cryptoadm list -m" command it lists nothing as the kernel 
hardware providers, what does it mean? Does it mean the drivers are not installed? How 
can I install the drivers?

I assume the system has /platform/sun4v/kernel/drv/sparcv9/ncp and svc:/system/cryptosvc:default is on-line. However, given the info below it's not worth debugging further without upgrading the system first.

2. In case you could help me with my first question and I could attache the 
driver, now how can I explicitly say that my program uses the AES ECB mode with 
the N2CP rather than  AES software crypto provider. Should I only disable the 
pkcs11_softtoken.so?

It should be automatically attached during boot.

Disabling all mechanisms in softtoken would be overkill, you can disable just the mechanism in softtoken with cryptoadm(1M). But still, this will impact all applications in the system using Solaris Crypto Framework with that mechanism.

My system specification is as follows:

SunOS 5.11 snv_34 sun4v sparc sun4v

Wow, that's really old build, haven't seen a machine with anything below build 100 in a long time. It might provide buggy support for ncp but I doubt it has n2cp.

SUNW,SPARC-Enterprise-T5120

This machine has T2 which means it should have n2cp, ncp and n2rng drivers.


v.
_______________________________________________
crypto-discuss mailing list
crypto-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/crypto-discuss

Reply via email to