Searched refs:soft_blowfish_ctx (Results 1 - 4 of 4) sorted by relevance
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/ |
H A D | softBlowfishCrypt.c | 42 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 D | softEncryptUtil.c | 303 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 D | softDecryptUtil.c | 264 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 D | softCrypt.h | 64 typedef struct soft_blowfish_ctx { struct
|
Completed in 50 milliseconds