Hello Newsha,
It looks like the OS installed on your system is pretty outdated.
The driver for the N2CP crypto hardware was integrated to snv_54, so
snv_54 or higher is required to take advantage of the N2CP hardware
cryptography. Now that the Solaris 11 Express (which is snv_151a) is
available, I would recommend updating your system to Solaris 11 Express
if possible.
To answer your question #2, I assume you are using PKCS#11 library
interface to interact with providers, correct?
If so, you should first obtain the list of providers via C_GetSlotList()
and get their token labels via C_GetSlotInfo()/C_GetTokenInfo(). Then,
choose the slot which has the label "n2cp/0 Crypto Accel Bulk 1.0".
Hope that answers your question.
Misaki Miyashita
Oracle Solaris Security
-------- Original Message --------
Subject: There is no ncp or n2cp in the hardware list provider,
what does it mean?
Date: Mon, 10 Jan 2011 15:26:56 -0600
From: Newsha Ardalani <narda...@gmail.com>
To: crypto-discuss@opensolaris.org
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?
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?
My system specification is as follows:
SunOS 5.11 snv_34 sun4v sparc sun4v
SUNW,SPARC-Enterprise-T5120
scsi_vhci, instance #0
packages (driver not attached)
SUNW,builtin-drivers (driver not attached)
deblocker (driver not attached)
disk-label (driver not attached)
terminal-emulator (driver not attached)
dropins (driver not attached)
SUNW,asr (driver not attached)
kbd-translator (driver not attached)
obp-tftp (driver not attached)
ufs-file-system (driver not attached)
Thanks a ton!
_______________________________________________
crypto-discuss mailing list
crypto-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/crypto-discuss
_______________________________________________
crypto-discuss mailing list
crypto-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/crypto-discuss