Coder Social home page Coder Social logo

bartzjegr / hsm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from diogoparrinha/hsm

0.0 1.0 0.0 696.57 MB

HSM software for Microsemi's Smartfusion2

License: MIT License

VHDL 34.41% Tcl 0.10% Stata 0.07% XSLT 0.30% C 58.48% Prolog 0.01% C++ 3.17% Assembly 0.50% HTML 2.80% CMake 0.08% Makefile 0.07% Batchfile 0.01%

hsm's Introduction

Hardware Secure Module for Smartfusion2 FPGA

This is the work of my Master thesis in Electrical and Computer Engineering at Instituto Superior Técnico, Lisbon. The goal is develop a Hardware Secure Module on a non-volatile FPGA (in this case, the Smartfusion2 FPGA). The HSM works together with a Windows API which should be used by a developer to integrate the system into another software.

The system contains a root administrator who can manage users (add/delete/modify).

The following features are available:

  • Administrator can generate assymetric key pair for a certain user (both are stored securely in an external flash)
  • User can request data to be signed using its previously generated private key (ECDSA)
  • Provide X.509v3 digital certificates of generated public keys (to anyone to requests)
  • Issue X.509v3 digital certificates for a given public key (requested by an administrator)
  • Log actions executed from a certain server (author|action|date) (another software can use this to ensure non-repudiation of executed actions by server administrators for example)

This system uses the mbedTLS library to perform algorithms such as ECDSA and ECDH. Because the Smartfusion2 ('S' models') provide Data Security features such as SHA-256, AES-256 and ECC, they are used to increase performance.

This repository contains two main folders: HSM and PC.

The HSM contains the software responsible for handling the Hardware Secure Module features, while the PC contains the PC driver that communicates with the device.

hsm's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.