Commit a7bee79a authored by Rémi Huguet's avatar Rémi Huguet
Browse files

fix: slight updates to documentation and README

parent 6c2a41d0
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
{% set version = "0.1.0" %}
{% set version = "0.1.1" %}

package:
  name: scared
+1 −2
Original line number Diff line number Diff line
@@ -36,8 +36,7 @@ import scared
def first_sub_bytes(plaintext, guesses):
    res = np.empty((plaintext.shape[0], len(guesses), plaintext.shape[1]), dtype='uint8')
    for guess in guesses:
        key = np.array([guess for i in range(16)], dtype='uint8')
        res[:, guess, :] = aes.encrypt(plaintext=plaintext, key=key, at_round=1, after_step=aes.Steps.SUB_BYTES)
        res[:, guess, :] = np.bitwise_xor(plaintext, guess)
    return res

# Create an analysis CPA

docs/Makefile

deleted100644 → 0
+0 −24
Original line number Diff line number Diff line
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line.
SPHINXOPTS    =
SPHINXBUILD   = sphinx-build
SOURCEDIR     = source
BUILDDIR      = build

# Put it first so that "make" without argument is like "make help".
help:
	@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

prepare:
	pip install ../
	pip install -r requirements.txt


# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option.  $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
	@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
+2 −2
Original line number Diff line number Diff line
@@ -17,9 +17,9 @@ copyright = '2019, eshard'
author = 'eshard'

# The short X.Y version
version = '0.1.0'
version = '0.1.1'
# The full version, including alpha/beta/rc tags
release = '0.1.0a'
release = '0.1.1a'


# -- General configuration ---------------------------------------------------
+2 −4
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ Scared - The side-channel analysis framework

    Start here! <README.md>
    Practical guides <guides/index.rst>
    Don't be scared - fundamentals <fundamentals.md>
    Scared fundamentals <fundamentals.md>
    API reference <api_reference/index.rst>
    Contribute <CONTRIBUTING.md>
    Changelog <CHANGELOG.md>
@@ -21,5 +21,3 @@ Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Loading