Searched refs:keystream (Results 1 - 2 of 2) sorted by relevance
/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softARCFourCrypt.c | 50 ARCFour_key *keystream; local 69 keystream = malloc(sizeof (ARCFour_key)); 70 if (keystream == NULL) { 73 arcfour_key_init(keystream, keyval, keyvallen); 77 active_op->context = keystream; 102 * CKR_ARGUMENTS_BAD: keystream is a NULL pointer, cipher is not 109 ARCFour_key *keystream = active_op->context; local 111 if (keystream == NULL) { 129 arcfour_crypt(keystream, input, output, inputlen);
|
/opensolaris-onvv-gate/usr/src/uts/common/crypto/io/ |
H A D | arcfour.c | 207 ARCFour_key *keystream; local 223 if ((keystream = kmem_alloc(sizeof (ARCFour_key), 227 arcfour_key_init(keystream, key->ck_data, 230 ctx->cc_provider_private = keystream; 533 ARCFour_key *keystream = ctx->cc_provider_private; local 535 if (keystream != NULL) { 536 bzero(keystream, sizeof (ARCFour_key)); 537 kmem_free(keystream, sizeof (ARCFour_key));
|
Completed in 187 milliseconds