Skip to content
/ ascon Public

Implements ASCON Cryptography algorithm for a RISC-V processor which is extended with custom instructions for ASCON.

Notifications You must be signed in to change notification settings

oaltinay/ascon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Implementation of ASCON Cryptography Algorithm for RISCV ISA with GCC Built-ins

This repository implements Ascon Cryptography algortihm for RISCV ISA. S-box and rotation operations are made with special RISC-V instructions, sbox and rot.

Prerequisites

  1. RISCV GNU Toolchain should be installed for riscv64-unknown-elf-gcc compiler
  2. Spike and pk should be installed for simulating compiled elf binary. (pk should be installed for RV32)

Installation, Build and Run

Clone this repository.

git clone git@github.com:oaltinay/ascon.git

Go to repository.

cd ascon

Build and run.

./build_run.sh

About

Implements ASCON Cryptography algorithm for a RISC-V processor which is extended with custom instructions for ASCON.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published