Searched refs:keystream (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softARCFourCrypt.c | 50 ARCFour_key *keystream; in soft_arcfour_crypt_init() local 69 keystream = malloc(sizeof (ARCFour_key)); in soft_arcfour_crypt_init() 70 if (keystream == NULL) { in soft_arcfour_crypt_init() 73 arcfour_key_init(keystream, keyval, keyvallen); in soft_arcfour_crypt_init() 77 active_op->context = keystream; in soft_arcfour_crypt_init() 109 ARCFour_key *keystream = active_op->context; in soft_arcfour_crypt() local 111 if (keystream == NULL) { in soft_arcfour_crypt() 129 arcfour_crypt(keystream, input, output, inputlen); in soft_arcfour_crypt()
|
/titanic_44/usr/src/lib/libc/port/gen/ |
H A D | arc4random.c | 141 uint8_t *keystream; in arc4_fill() local 144 keystream = arc4->arc4_buf + sizeof (arc4->arc4_buf) - in arc4_fill() 146 memcpy(buf, keystream, m); in arc4_fill() 147 explicit_bzero(keystream, m); in arc4_fill()
|
/titanic_44/usr/src/uts/common/crypto/io/ |
H A D | arcfour.c | 204 ARCFour_key *keystream; in rc4_common_init() local 220 if ((keystream = kmem_alloc(sizeof (ARCFour_key), in rc4_common_init() 224 arcfour_key_init(keystream, key->ck_data, in rc4_common_init() 227 ctx->cc_provider_private = keystream; in rc4_common_init() 521 ARCFour_key *keystream = ctx->cc_provider_private; in rc4_free_context() local 523 if (keystream != NULL) { in rc4_free_context() 524 bzero(keystream, sizeof (ARCFour_key)); in rc4_free_context() 525 kmem_free(keystream, sizeof (ARCFour_key)); in rc4_free_context()
|