Home
last modified time | relevance | path

Searched refs:blowfish_ctx (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/uts/common/crypto/io/
H A Dblowfish.c279 blowfish_ctx_t *blowfish_ctx; in blowfish_common_init() local
306 if (blowfish_ctx == NULL) in blowfish_common_init()
312 crypto_free_mode_ctx(blowfish_ctx); in blowfish_common_init()
341 blowfish_ctx_t *blowfish_ctx; in blowfish_encrypt() local
383 blowfish_ctx_t *blowfish_ctx; in blowfish_decrypt() local
549 blowfish_ctx_t *blowfish_ctx; in blowfish_encrypt_final() local
573 blowfish_ctx_t *blowfish_ctx; in blowfish_decrypt_final() local
661 bzero(blowfish_ctx.bc_keysched, blowfish_ctx.bc_keysched_len); in blowfish_encrypt_atomic()
748 bzero(blowfish_ctx.bc_keysched, blowfish_ctx.bc_keysched_len); in blowfish_decrypt_atomic()
809 if (blowfish_ctx != NULL) { in blowfish_free_context()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_softtoken/common/
H A DsoftBlowfishCrypt.c150 blowfish_ctx_t *blowfish_ctx; in soft_blowfish_encrypt_common() local
300 blowfish_ctx = (blowfish_ctx_t *)soft_blowfish_ctx->blowfish_cbc; in soft_blowfish_encrypt_common()
301 freezero(blowfish_ctx, sizeof (cbc_ctx_t)); in soft_blowfish_encrypt_common()
322 blowfish_ctx_t *blowfish_ctx; in soft_blowfish_decrypt_common() local
464 blowfish_ctx = (blowfish_ctx_t *)soft_blowfish_ctx->blowfish_cbc; in soft_blowfish_decrypt_common()
465 free(blowfish_ctx); in soft_blowfish_decrypt_common()
H A DsoftEncryptUtil.c700 blowfish_ctx_t *blowfish_ctx; in soft_crypt_cleanup() local
703 blowfish_ctx = in soft_crypt_cleanup()
705 if (blowfish_ctx != NULL) { in soft_crypt_cleanup()
706 explicit_bzero(blowfish_ctx->bc_keysched, in soft_crypt_cleanup()
707 blowfish_ctx->bc_keysched_len); in soft_crypt_cleanup()
/illumos-gate/usr/src/common/crypto/blowfish/
H A Dblowfish_impl.c737 blowfish_ctx_t *blowfish_ctx = ctx; in blowfish_encrypt_contiguous_blocks() local
740 if (blowfish_ctx->bc_flags & CBC_MODE) { in blowfish_encrypt_contiguous_blocks()
758 blowfish_ctx_t *blowfish_ctx = ctx; in blowfish_decrypt_contiguous_blocks() local
761 if (blowfish_ctx->bc_flags & CBC_MODE) { in blowfish_decrypt_contiguous_blocks()
/illumos-gate/usr/src/common/crypto/modes/
H A Dmodes.h268 typedef struct blowfish_ctx { struct