mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 02:48:50 +00:00
* node:crypto: add blake2b512, sha512-224, sha3-* * update submodule * flesh out rest of api * remove new bun.newCatchable * add SHA512_224 to HashClasses * remove SHA512_224 js class * better allocation * remove memcpy in path where buffer is provided to us * add back benchmark * move zig crypto things into specific struct * Apply formatting changes * centralize algorithm definitions into one spot * rsa-256 was deleted --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com> Co-authored-by: Jarred-Sumner <Jarred-Sumner@users.noreply.github.com>
16 lines
581 B
PowerShell
16 lines
581 B
PowerShell
$ErrorActionPreference = 'Stop' # Setting strict mode, similar to 'set -euo pipefail' in bash
|
|
. (Join-Path $PSScriptRoot "env.ps1")
|
|
|
|
Push-Location (Join-Path $BUN_DEPS_DIR 'boringssl')
|
|
try {
|
|
Set-Location (mkdir -Force build)
|
|
|
|
Run cmake @CMAKE_FLAGS ..
|
|
Run cmake --build . --target crypto --target ssl --target decrepit --clean-first --config Release
|
|
|
|
Copy-Item crypto/crypto.lib $BUN_DEPS_OUT_DIR
|
|
Copy-Item ssl/ssl.lib $BUN_DEPS_OUT_DIR
|
|
Copy-Item decrepit/decrepit.lib $BUN_DEPS_OUT_DIR
|
|
Write-Host "-> crypto.lib, ssl.lib, decrepit.lib"
|
|
} finally { Pop-Location }
|