Searched defs:soft_des_ctx (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftCrypt.h62 typedef struct soft_des_ctx { struct
H A DsoftDecryptUtil.c103 soft_des_ctx_t *soft_des_ctx; local
120 soft_des_ctx = (soft_des_ctx_t *)session_p->decrypt.context;
123 soft_des_ctx->mode_ctx = (void *)des_ecb_ctx_init(
124 soft_des_ctx->key_sched, soft_des_ctx->keysched_len,
127 if (soft_des_ctx->mode_ctx == NULL) {
128 bzero(soft_des_ctx->key_sched,
129 soft_des_ctx->keysched_len);
130 free(soft_des_ctx->key_sched);
142 des_low_level_funcs(soft_des_ctx
162 soft_des_ctx_t *soft_des_ctx; local
655 soft_des_ctx_t *soft_des_ctx; local
737 soft_des_ctx_t *soft_des_ctx; local
[all...]
H A DsoftDESCrypt.c50 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;
92 free(soft_des_ctx
174 soft_des_ctx_t *soft_des_ctx = local
440 soft_des_ctx_t *soft_des_ctx = local
751 soft_des_ctx_t *soft_des_ctx; local
[all...]
H A DsoftEncryptUtil.c126 soft_des_ctx_t *soft_des_ctx; local
143 soft_des_ctx = (soft_des_ctx_t *)session_p->encrypt.context;
146 soft_des_ctx->mode_ctx = (void *)des_ecb_ctx_init(
147 soft_des_ctx->key_sched, soft_des_ctx->keysched_len,
150 if (soft_des_ctx->mode_ctx == NULL) {
151 bzero(soft_des_ctx->key_sched,
152 soft_des_ctx->keysched_len);
153 free(soft_des_ctx->key_sched);
165 des_low_level_funcs(soft_des_ctx
186 soft_des_ctx_t *soft_des_ctx; local
673 soft_des_ctx_t *soft_des_ctx; local
743 soft_des_ctx_t *soft_des_ctx; local
960 soft_des_ctx_t *soft_des_ctx = local
[all...]

Completed in 23 milliseconds