Searched refs:blowfish_ctx (Results 1 – 5 of 5) sorted by relevance
279 blowfish_ctx_t *blowfish_ctx; in blowfish_common_init() local306 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() local383 blowfish_ctx_t *blowfish_ctx; in blowfish_decrypt() local549 blowfish_ctx_t *blowfish_ctx; in blowfish_encrypt_final() local573 blowfish_ctx_t *blowfish_ctx; in blowfish_decrypt_final() local661 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 …]
150 blowfish_ctx_t *blowfish_ctx; in soft_blowfish_encrypt_common() local300 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() local464 blowfish_ctx = (blowfish_ctx_t *)soft_blowfish_ctx->blowfish_cbc; in soft_blowfish_decrypt_common()465 free(blowfish_ctx); in soft_blowfish_decrypt_common()
700 blowfish_ctx_t *blowfish_ctx; in soft_crypt_cleanup() local703 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()
737 blowfish_ctx_t *blowfish_ctx = ctx; in blowfish_encrypt_contiguous_blocks() local740 if (blowfish_ctx->bc_flags & CBC_MODE) { in blowfish_encrypt_contiguous_blocks()758 blowfish_ctx_t *blowfish_ctx = ctx; in blowfish_decrypt_contiguous_blocks() local761 if (blowfish_ctx->bc_flags & CBC_MODE) { in blowfish_decrypt_contiguous_blocks()
268 typedef struct blowfish_ctx { struct