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

/osnet-11/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c43 soft_blowfish_ctx_t *soft_blowfish_ctx; local
45 soft_blowfish_ctx = calloc(1, sizeof (soft_blowfish_ctx_t));
46 if (soft_blowfish_ctx == NULL) {
50 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;
76 free(soft_blowfish_ctx->key_sched);
77 free(soft_blowfish_ctx);
89 (void) memcpy(soft_blowfish_ctx
140 soft_blowfish_ctx_t *soft_blowfish_ctx = local
318 soft_blowfish_ctx_t *soft_blowfish_ctx = local
[all...]
H A DsoftEncryptUtil.c415 soft_blowfish_ctx_t *soft_blowfish_ctx; local
432 soft_blowfish_ctx =
435 (void) memcpy(soft_blowfish_ctx->ivec, pMechanism->pParameter,
439 soft_blowfish_ctx->mode_ctx =
440 (void *)blowfish_cbc_ctx_init(soft_blowfish_ctx->key_sched,
441 soft_blowfish_ctx->keysched_len,
442 soft_blowfish_ctx->ivec);
444 if (soft_blowfish_ctx->mode_ctx == NULL) {
445 bzero(soft_blowfish_ctx->key_sched,
446 soft_blowfish_ctx
880 soft_blowfish_ctx_t *soft_blowfish_ctx; local
1002 soft_blowfish_ctx_t *soft_blowfish_ctx = local
[all...]
H A DsoftDecryptUtil.c375 soft_blowfish_ctx_t *soft_blowfish_ctx; local
392 soft_blowfish_ctx =
396 (void) memcpy(soft_blowfish_ctx->ivec, pMechanism->pParameter,
400 soft_blowfish_ctx->mode_ctx =
401 (void *)blowfish_cbc_ctx_init(soft_blowfish_ctx->key_sched,
402 soft_blowfish_ctx->keysched_len,
403 soft_blowfish_ctx->ivec);
405 if (soft_blowfish_ctx->mode_ctx == NULL) {
406 bzero(soft_blowfish_ctx->key_sched,
407 soft_blowfish_ctx
888 soft_blowfish_ctx_t *soft_blowfish_ctx; local
[all...]
H A DsoftCrypt.h53 typedef struct soft_blowfish_ctx { struct

Completed in 23 milliseconds