Searched refs:ctr_ctx_t (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/common/crypto/modes/ |
H A D | ctr.c | 59 ctr_new_keyblock(ctr_ctx_t *ctx, in ctr_new_keyblock() 96 ctr_xor(ctr_ctx_t *ctx, const uint8_t *in, uint8_t *out, size_t outlen, in ctr_xor() 167 ctr_mode_contiguous_blocks(ctr_ctx_t *ctx, char *in, size_t in_length, in ctr_mode_contiguous_blocks() 240 ctr_init_ctx(ctr_ctx_t *ctr_ctx, ulong_t count, uint8_t *cb, in ctr_init_ctx() 277 ctr_ctx_t *ctr_ctx; in ctr_alloc_ctx() 280 if ((ctr_ctx = kmem_zalloc(sizeof (ctr_ctx_t), kmflag)) == NULL) in ctr_alloc_ctx() 282 if ((ctr_ctx = calloc(1, sizeof (ctr_ctx_t))) == NULL) in ctr_alloc_ctx()
|
H A D | modes.h | 138 } ctr_ctx_t; typedef 248 ctr_ctx_t acu_ctr; 312 extern int ctr_mode_contiguous_blocks(ctr_ctx_t *, char *, size_t, 367 extern int ctr_init_ctx(ctr_ctx_t *, ulong_t, uint8_t *,
|
H A D | modes.c | 198 kmem_free(common_ctx, sizeof (ctr_ctx_t)); in crypto_free_mode_ctx()
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softAESCrypt.c | 228 rc = ctr_init_ctx((ctr_ctx_t *)aes_ctx, pp->ulCounterBits, in soft_aes_init_ctx() 1625 len = sizeof (ctr_ctx_t); in soft_aes_free_ctx()
|
/illumos-gate/usr/src/uts/common/crypto/io/ |
H A D | aes.c | 1384 rv = ctr_init_ctx((ctr_ctx_t *)aes_ctx, pp->ulCounterBits, in aes_common_init_ctx()
|