Searched defs:keystream (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftARCFourCrypt.c50 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);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Darc4random.c50 uint8_t arc4_buf[ARC4_KSBUFSZ]; /* keystream blocks */
69 /* Fill in the keystream buffer */
141 uint8_t *keystream; local
144 keystream = arc4->arc4_buf + sizeof (arc4->arc4_buf) -
146 memcpy(buf, keystream, m);
147 explicit_bzero(keystream, m);
/illumos-gate/usr/src/uts/common/crypto/io/
H A Darcfour.c204 ARCFour_key *keystream; local
220 if ((keystream = kmem_alloc(sizeof (ARCFour_key),
224 arcfour_key_init(keystream, key->ck_data,
227 ctx->cc_provider_private = keystream;
521 ARCFour_key *keystream = ctx->cc_provider_private; local
523 if (keystream != NULL) {
524 bzero(keystream, sizeof (ARCFour_key));
525 kmem_free(keystream, sizeof (ARCFour_key));

Completed in 54 milliseconds