Searched refs:blowfish_ctx (Results 1 – 5 of 5) sorted by relevance
279 blowfish_ctx_t *blowfish_ctx; in blowfish_common_init() local300 blowfish_ctx = ecb_alloc_ctx(kmflag); in blowfish_common_init()303 blowfish_ctx = cbc_alloc_ctx(kmflag); in blowfish_common_init()306 if (blowfish_ctx == NULL) in blowfish_common_init()309 rv = blowfish_common_init_ctx(blowfish_ctx, template, mechanism, in blowfish_common_init()312 crypto_free_mode_ctx(blowfish_ctx); in blowfish_common_init()316 ctx->cc_provider_private = blowfish_ctx; in blowfish_common_init()341 blowfish_ctx_t *blowfish_ctx; in blowfish_encrypt() local352 blowfish_ctx = ctx->cc_provider_private; in blowfish_encrypt()369 ASSERT(blowfish_ctx->bc_remainder_len == 0); in blowfish_encrypt()[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