Searched defs:soft_aes_ctx (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softCrypt.h | 55 typedef struct soft_aes_ctx { struct
|
H A D | softDecryptUtil.c | 179 soft_aes_ctx_t *soft_aes_ctx; local 198 soft_aes_ctx = (soft_aes_ctx_t *)session_p->decrypt.context; 201 (void) memcpy(soft_aes_ctx->ivec, pMechanism->pParameter, 205 soft_aes_ctx->aes_cbc = (void *)aes_cbc_ctx_init( 206 soft_aes_ctx->key_sched, soft_aes_ctx->keysched_len, 207 soft_aes_ctx->ivec); 209 if (soft_aes_ctx->aes_cbc == NULL) { 210 bzero(soft_aes_ctx->key_sched, 211 soft_aes_ctx 225 soft_aes_ctx_t *soft_aes_ctx; local 653 soft_aes_ctx_t *soft_aes_ctx; local 732 soft_aes_ctx_t *soft_aes_ctx; local 758 soft_aes_ctx_t *soft_aes_ctx; local [all...] |
H A D | softAESCrypt.c | 47 soft_aes_ctx_t *soft_aes_ctx; local 49 soft_aes_ctx = calloc(1, sizeof (soft_aes_ctx_t)); 50 if (soft_aes_ctx == NULL) { 54 soft_aes_ctx->key_sched = aes_alloc_keysched(&size, 0); 56 if (soft_aes_ctx->key_sched == NULL) { 57 free(soft_aes_ctx); 61 soft_aes_ctx->keysched_len = size; 66 session_p->encrypt.context = soft_aes_ctx; 70 session_p->decrypt.context = soft_aes_ctx; 93 free(soft_aes_ctx); 161 soft_aes_ctx_t *soft_aes_ctx = local 499 soft_aes_ctx_t *soft_aes_ctx = local [all...] |
H A D | softEncryptUtil.c | 201 soft_aes_ctx_t *soft_aes_ctx; local 220 soft_aes_ctx = (soft_aes_ctx_t *)session_p->encrypt.context; 222 (void) memcpy(soft_aes_ctx->ivec, pMechanism->pParameter, 226 soft_aes_ctx->aes_cbc = (void *)aes_cbc_ctx_init( 227 soft_aes_ctx->key_sched, soft_aes_ctx->keysched_len, 228 soft_aes_ctx->ivec); 230 if (soft_aes_ctx->aes_cbc == NULL) { 231 bzero(soft_aes_ctx->key_sched, 232 soft_aes_ctx 245 soft_aes_ctx_t *soft_aes_ctx; local 656 soft_aes_ctx_t *soft_aes_ctx; local 723 soft_aes_ctx_t *soft_aes_ctx; local 749 soft_aes_ctx_t *soft_aes_ctx; local 886 soft_aes_ctx_t *soft_aes_ctx = local [all...] |
H A D | softKeystore.c | 2264 soft_aes_ctx_t *soft_aes_ctx; local 2292 soft_aes_ctx = 2295 soft_aes_ctx = 2299 (void) memcpy(soft_aes_ctx->ivec, ivec, AES_BLOCK_LEN); 2302 soft_aes_ctx->aes_cbc = (void *)aes_cbc_ctx_init( 2303 soft_aes_ctx->key_sched, soft_aes_ctx->keysched_len, 2304 soft_aes_ctx->ivec); 2306 if (soft_aes_ctx->aes_cbc == NULL) { 2307 bzero(soft_aes_ctx [all...] |
Completed in 71 milliseconds