SGX structures parsing wrapper library for the Decentriq platform.
Project description
sgx-ias-structs
Constants and structures related to the Intel SGX ISA extension.
Getting started
JavaScript / TypeScript
Add the package from folder js/pkg
as dependency to the package.json
in your project:
"dependencies": {
"sgx-ias-structs": "file:sgx-ias-structs-[version].tgz"
}
Python
Install the wheel from folder py/pkg
by running pip3 install sgx_ias_structs.whl
and then just import sgx_ias_structs
at the top of your python script
🎁 Build & Package
JavaScript / TypeScript
To build the wasm code and the js/ts binding run in the js
folder:
npm run build-node
for nodejsnpm run build-bundler
for browser / webpacknpm run build
for one compatible with both
Then package the dependency by running npm pack
in the corresponding pkg
dir.
Python
To build the python bindings you'll need maturin
. Run in the py
folder:
pip3 install maturin
to install maturin./build.sh
to build the wheel for the current platform in the pkg folder
🛠️ Test
We have four different test stages.
Rust
Regular tests written in Rust. Just call cargo test
.
WASM
Some test can be specified to run in the node wasm interpreter. They are defined using the [wasm_bindgen_test]
attribute. In order to run them go execute the following command in the js
folder:
npm run wasm-test
JavaScript / TypeScript
There also are some tests for the JavaScript bindings using mocha
and chai
.
They are defined in the folder js/tests
and can be run using the following command:
npm run test
Python
There also are some tests for the Python bindings using tox
.
They are defined in the folder py/tests
and can be run using the following command:
tox
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for sgx_ias_structs-0.1.8-pp37-pypy37_pp73-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119b72a7a4a121e7f1c8aecb645815c7477ab547b7d3ef0a7e55b7cd1d331641 |
|
MD5 | 261e35ecbafae257d3efc6cbe14acc5c |
|
BLAKE2b-256 | 95eeddda14a5672d5acd93c3cc33e432a0275b9fe8086b8e531948de80bfcca3 |
Hashes for sgx_ias_structs-0.1.8-cp310-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d3fc84b1e371135973f01fc9490df54b174fa8a55bc9412272d04435335571 |
|
MD5 | 62bc882e6d19ff99ac083305fb164562 |
|
BLAKE2b-256 | 948945247dcebba8a9612cc592e0e41573b6adf38a37db3a4c28994acf0b2248 |
Hashes for sgx_ias_structs-0.1.8-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 825bd64cd84e40a08bf9ea911686260b53b624290207f3eafad17c9a52483c74 |
|
MD5 | e87ad8ed0d075ba7b1c9791365bf5f8d |
|
BLAKE2b-256 | 85bd0863c02cce693e4cc4a5a592fd3e8927847ec7411037a2e35b3e8a776fa3 |
Hashes for sgx_ias_structs-0.1.8-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3dbcc99876dc8c2f3dafa345f2312a4d3d3d8babf38cea68420533560369b146 |
|
MD5 | 9ae112610c6124c3767ec8b601c885be |
|
BLAKE2b-256 | 49fb4d2a96c154c9df035d46d7315f5357b6d3b463afb282ea03b2cabbf501cb |
Hashes for sgx_ias_structs-0.1.8-cp39-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f6d7bbcb678725e469d44dd553d322c071c761bee45b6cfee01ee7d3f273856 |
|
MD5 | 377f124fe5bbb5ee1315ec6d35f904c5 |
|
BLAKE2b-256 | f6012f28e069bf5b1c0cf40d671c3e15fe1a9bf094f00d7e77f596adb0041d22 |
Hashes for sgx_ias_structs-0.1.8-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3920c3477c448c5ee5dcec0c5de20e8fd93e631ac9e5308ab620ac9b007503b1 |
|
MD5 | 8dde4e3e6eab635706627c36e1887a82 |
|
BLAKE2b-256 | 8a6750cd710d0fb159e86a35f0cc766cde2838171a103330e3158e9c7052c4a7 |
Hashes for sgx_ias_structs-0.1.8-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b39930336c3385cee66d757dbe2a7c07a4a957665335f37572eba0776ee5656 |
|
MD5 | de120653a1820e1b45a17105418495f6 |
|
BLAKE2b-256 | 0ef2cb4e2ba9a3a3ee6dc18792642571b469f371f987f8495528f827ba9c32e7 |
Hashes for sgx_ias_structs-0.1.8-cp38-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf96e09a65683634daf444bcb1f3c6cc0c36ad193d21c5fbfa37ea386ce18e9 |
|
MD5 | 07ebbe7f4dfefa2ec8e7329ee985becc |
|
BLAKE2b-256 | 99ecf349efd0c5d917d457034cc21bb3a501605a410b54070addcd165f0b9cd1 |
Hashes for sgx_ias_structs-0.1.8-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cd7a85e93875c576df7a89dbd16b6b7936b141c27791b92059c750c80611410 |
|
MD5 | c37ed5e10ff58071e8e0292243b128f9 |
|
BLAKE2b-256 | c0366158260fcbc6f079e700c32cd5b60d977389b640686d544bf23313140d34 |
Hashes for sgx_ias_structs-0.1.8-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07ee4b3770a9886d027dfadebd3bd3fc181d61e7999728b0a07bca4a09e00541 |
|
MD5 | e2e2dbfae2840c93d3f7d8d3b14b82e5 |
|
BLAKE2b-256 | c6dc9f0c3a85749fb309ce61ef9259eb76e391bd3e78265818ba39fc5fdee207 |
Hashes for sgx_ias_structs-0.1.8-cp37-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83266b55dc462d56f97f2fab3c7eb6bf199d398fc282f81f198ff9b56ac9c65f |
|
MD5 | c234076ca4d86bc7acc0f17da2afdf8c |
|
BLAKE2b-256 | ba39d7c43275cdd2d1471d2d22efc54a1e004d1d74ea72ebccec515b777d3774 |
Hashes for sgx_ias_structs-0.1.8-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 729d8cd647d9f08e40ad8ce64fcc4486a0cfdf1fd6a024adb53c446ed60c2e5b |
|
MD5 | ac3e30848e61dd6ead33c94de2ea141d |
|
BLAKE2b-256 | 1db5e2d6f8d236de5f404d4607999e78343887f46f0b46d43d094688ab41c383 |
Hashes for sgx_ias_structs-0.1.8-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f936a2c51fc4f57996b6b6c76eda1d488825f21f4e1a3619dbda44de7dd1b643 |
|
MD5 | 1103d845a6de1e0e0a55819921fa92f2 |
|
BLAKE2b-256 | 7fd55dce99c61c3565b09ef8a1757b180a613bc8e88c91f07e665da417d0c643 |
Hashes for sgx_ias_structs-0.1.8-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31b4e783259b427df374f19ee0c10b2780c11c3b92bbf79dc14857dfed19f643 |
|
MD5 | 00d557da7e145a91183170b45008585f |
|
BLAKE2b-256 | 0017be32315e8816e4eb8955e61890474c2475ed06a38125b97066bcfe24d348 |