Searched refs:soft_blowfish_ctx (Results 1 - 4 of 4) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c42 soft_blowfish_ctx_t *soft_blowfish_ctx; local
44 soft_blowfish_ctx = calloc(1, sizeof (soft_blowfish_ctx_t));
45 if (soft_blowfish_ctx == NULL) {
49 soft_blowfish_ctx->key_sched = blowfish_alloc_keysched(&size, 0);
51 if (soft_blowfish_ctx->key_sched == NULL) {
52 free(soft_blowfish_ctx);
56 soft_blowfish_ctx->keysched_len = size;
61 session_p->encrypt.context = soft_blowfish_ctx;
65 session_p->decrypt.context = soft_blowfish_ctx;
88 free(soft_blowfish_ctx);
147 soft_blowfish_ctx_t *soft_blowfish_ctx = local
323 soft_blowfish_ctx_t *soft_blowfish_ctx = local
[all...]
H A DsoftEncryptUtil.c303 soft_blowfish_ctx_t *soft_blowfish_ctx; local
320 soft_blowfish_ctx =
323 (void) memcpy(soft_blowfish_ctx->ivec, pMechanism->pParameter,
327 soft_blowfish_ctx->blowfish_cbc =
328 (void *)blowfish_cbc_ctx_init(soft_blowfish_ctx->key_sched,
329 soft_blowfish_ctx->keysched_len,
330 soft_blowfish_ctx->ivec);
332 if (soft_blowfish_ctx->blowfish_cbc == NULL) {
333 bzero(soft_blowfish_ctx->key_sched,
334 soft_blowfish_ctx
784 soft_blowfish_ctx_t *soft_blowfish_ctx; local
906 soft_blowfish_ctx_t *soft_blowfish_ctx = local
[all...]
H A DsoftDecryptUtil.c264 soft_blowfish_ctx_t *soft_blowfish_ctx; local
281 soft_blowfish_ctx =
285 (void) memcpy(soft_blowfish_ctx->ivec, pMechanism->pParameter,
289 soft_blowfish_ctx->blowfish_cbc =
290 (void *)blowfish_cbc_ctx_init(soft_blowfish_ctx->key_sched,
291 soft_blowfish_ctx->keysched_len,
292 soft_blowfish_ctx->ivec);
294 if (soft_blowfish_ctx->blowfish_cbc == NULL) {
295 bzero(soft_blowfish_ctx->key_sched,
296 soft_blowfish_ctx
794 soft_blowfish_ctx_t *soft_blowfish_ctx; local
[all...]
H A DsoftCrypt.h64 typedef struct soft_blowfish_ctx { struct

Completed in 103 milliseconds