README.md 1.24 KB
Newer Older
Stefan Hackenberg's avatar
Stefan Hackenberg committed
1
# Secure implementations on microcontrollers (WS 21/22)
Stefan Hackenberg's avatar
Stefan Hackenberg committed
2

Stefan Hackenberg's avatar
Stefan Hackenberg committed
3
In this repository the materials for the course "Sichere Implementierungen auf Mikrocontrollern" teached at Hochschule Augsburg in WS 2021/2022 can be found.
Stefan Hackenberg's avatar
Stefan Hackenberg committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19


## How to install

### Requirements

* [ChipWhisperer v5 release](https://github.com/newaetech/chipwhisperer/releases). Either Virtual Machine or source code.
* ChipWhisperer Lite XMEGA (CW1173)

### 1. Install using ChipWhisperer Virtual Machine

1. Log in to Jupyter.
2. Create a new Notebook in the root folder.
3. Type in the first cell and execute:

```jupyter
Stefan Hackenberg's avatar
Stefan Hackenberg committed
20
! git clone https://gitlab.elektrotechnik.hs-augsburg.de/hackenbs/securec-ws2122.git
Stefan Hackenberg's avatar
Stefan Hackenberg committed
21
22
23
24
```
4. In the second cell:

```jupyter
Stefan Hackenberg's avatar
Stefan Hackenberg committed
25
pip install -e securec-ws2122
Stefan Hackenberg's avatar
Stefan Hackenberg committed
26
27
28
29
30
31
32
33
34
35
36
```

5. That's it. Now you can use the lecture notebooks.

#### Update

1. Log in to Jupyter.
2. Create a new Notebook in the root folder.
3. Type in the first cell and execute:

```jupyter
Stefan Hackenberg's avatar
Stefan Hackenberg committed
37
! cd securec-ws2122 && git pull
Stefan Hackenberg's avatar
Stefan Hackenberg committed
38
39
40
41
42
43
44
45
46
47
48
49
```


### 2. Install using ChipWhisperer source

1. Clone this repository inside (or in parallel) to the chipwhisperer repository.
2. Execute `pip install -e .` inside the clone of this repository.
5. That's it. Now you can use the lecture notebooks.

#### Update

1. Goto the clone and execute `git pull`.