Sebastian Mayer wrote:
> Hi All,
>
> I have some problems in initializing a MAC-based signing operation. Here
> is the code snippet (nothing special, mostly put together from the PKCS
> spec samples):
>
> #define BLOCKSIZE 16;
>
> CK_ULONG ulMacLen=BLOCKSIZE;
Hi All,
I have some problems in initializing a MAC-based signing operation. Here
is the code snippet (nothing special, mostly put together from the PKCS
spec samples):
#define BLOCKSIZE 16;
CK_ULONG ulMacLen=BLOCKSIZE;
CK_BYTE mac[ulMacLen];
CK_BYTE data[] = {"aaa"};
Sebastian Mayer wrote:
> M. Hunstock wrote:
>> Am 31.05.2010 11:02, schrieb Sebastian Mayer:
>>
>>> What did I overlook here?
>> You did not give information about the module you are using. Are you
>> trying this with the NSS module?
>
> So
M. Hunstock wrote:
> Am 31.05.2010 11:02, schrieb Sebastian Mayer:
>
>> What did I overlook here?
>
> You did not give information about the module you are using. Are you
> trying this with the NSS module?
Sorry, yes I use the NSS module version 3.12.
--
Sebastian
--
de
Hi All,
I'm having some difficulties in creating a simple AES key as follows:
CK_OBJECT_HANDLE hKey;
CK_OBJECT_CLASS keyClass = CKO_SECRET_KEY;
CK_KEY_TYPE keyType = CKK_AES;
CK_BYTE keyValue[] = {
0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef,
0x01, 0x23, 0x45,
5 matches
Mail list logo