diff options
| author | J08nY | 2020-02-12 21:04:59 +0100 |
|---|---|---|
| committer | J08nY | 2020-02-12 21:04:59 +0100 |
| commit | 7118e5c28ba9ac5375bb0043684fae786d9c56e9 (patch) | |
| tree | 14f0761b16898c465c8569ae6922b9e0b0a77340 | |
| download | pyecsca-notebook-7118e5c28ba9ac5375bb0043684fae786d9c56e9.tar.gz pyecsca-notebook-7118e5c28ba9ac5375bb0043684fae786d9c56e9.tar.zst pyecsca-notebook-7118e5c28ba9ac5375bb0043684fae786d9c56e9.zip | |
Initial commit.
| -rw-r--r-- | LICENSE | 21 | ||||
| -rw-r--r-- | README.md | 35 | ||||
| -rw-r--r-- | dpa.ipynb | 47 | ||||
| -rw-r--r-- | leakage_testing.ipynb | 66 |
4 files changed, 169 insertions, 0 deletions
@@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2018-2020 Jan Jancar + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..8397fe9 --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# pyecsca-notebook + +[](https://travis-ci.com/J08nY/pyecsca-notebook)  [](https://codecov.io/gh/J08nY/pyecsca-notebookn) + +**Py**thon **E**lliptic **C**urve cryptography **S**ide-**C**hannel **A**nalysis toolkit. + +Notebook package. See the [main repo](https://github.com/J08nY/pyecsca) for more information. + +## License + + MIT License + + Copyright (c) 2018-2020 Jan Jancar + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in all + copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + SOFTWARE. + + +*Development is supported by the Masaryk University grant [MUNI/C/1701/2018](https://www.muni.cz/en/research/projects/46834), +this support is very appreciated.*
\ No newline at end of file diff --git a/dpa.ipynb b/dpa.ipynb new file mode 100644 index 0000000..a28d28f --- /dev/null +++ b/dpa.ipynb @@ -0,0 +1,47 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true, + "pycharm": { + "name": "#%% md\n" + } + }, + "source": [ + "# DPA\n", + "\n" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.6" + }, + "pycharm": { + "stem_cell": { + "cell_type": "raw", + "source": [], + "metadata": { + "collapsed": false + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 0 +}
\ No newline at end of file diff --git a/leakage_testing.ipynb b/leakage_testing.ipynb new file mode 100644 index 0000000..7261fe2 --- /dev/null +++ b/leakage_testing.ipynb @@ -0,0 +1,66 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "collapsed": true, + "pycharm": { + "name": "#%% md\n" + } + }, + "source": [ + "# Leakage testing\n", + "This notebook showcases using `pyecsca` for leakage testing using\n", + "Welch's t-test." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "outputs": [], + "source": [ + "from pyecsca.sca.scope import PicoScope\n", + "from pyecsca.sca.target import SimpleSerialTarget\n", + "\n", + "scope = PicoScope()\n", + "target = SimpleSerialTarget()" + ], + "metadata": { + "collapsed": false, + "pycharm": { + "name": "#%%\n" + } + } + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 2 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython2", + "version": "2.7.6" + }, + "pycharm": { + "stem_cell": { + "cell_type": "raw", + "source": [], + "metadata": { + "collapsed": false + } + } + } + }, + "nbformat": 4, + "nbformat_minor": 0 +}
\ No newline at end of file |
