Searched refs:soft_des_ctx (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softDESCrypt.c | 50 soft_des_ctx_t *soft_des_ctx; local 52 soft_des_ctx = calloc(1, sizeof (soft_des_ctx_t)); 53 if (soft_des_ctx == NULL) { 59 soft_des_ctx->key_sched = des_alloc_keysched(&size, DES, 0); 61 soft_des_ctx->key_sched = des_alloc_keysched(&size, DES3, 0); 63 if (soft_des_ctx->key_sched == NULL) { 64 free(soft_des_ctx); 68 soft_des_ctx->keysched_len = size; 69 soft_des_ctx->key_type = key_p->key_type; 74 session_p->encrypt.context = soft_des_ctx; 182 soft_des_ctx_t *soft_des_ctx = local 498 soft_des_ctx_t *soft_des_ctx = local 831 soft_des_ctx_t *soft_des_ctx; local [all...] |
H A D | softEncryptUtil.c | 145 soft_des_ctx_t *soft_des_ctx; local 166 soft_des_ctx = (soft_des_ctx_t *)session_p->encrypt.context; 168 (void) memcpy(soft_des_ctx->ivec, pMechanism->pParameter, 172 soft_des_ctx->des_cbc = (void *)des_cbc_ctx_init( 173 soft_des_ctx->key_sched, soft_des_ctx->keysched_len, 174 soft_des_ctx->ivec, key_p->key_type); 176 if (soft_des_ctx->des_cbc == NULL) { 177 bzero(soft_des_ctx->key_sched, 178 soft_des_ctx 561 soft_des_ctx_t *soft_des_ctx; local 631 soft_des_ctx_t *soft_des_ctx; local 864 soft_des_ctx_t *soft_des_ctx = local [all...] |
H A D | softDecryptUtil.c | 122 soft_des_ctx_t *soft_des_ctx; local 143 soft_des_ctx = (soft_des_ctx_t *)session_p->decrypt.context; 145 (void) memcpy(soft_des_ctx->ivec, pMechanism->pParameter, 149 soft_des_ctx->des_cbc = (void *)des_cbc_ctx_init( 150 soft_des_ctx->key_sched, soft_des_ctx->keysched_len, 151 soft_des_ctx->ivec, key_p->key_type); 153 if (soft_des_ctx->des_cbc == NULL) { 154 bzero(soft_des_ctx->key_sched, 155 soft_des_ctx 544 soft_des_ctx_t *soft_des_ctx; local 626 soft_des_ctx_t *soft_des_ctx; local [all...] |
H A D | softCrypt.h | 44 typedef struct soft_des_ctx { struct
|
Completed in 72 milliseconds