Giter Club home page Giter Club logo

mt7628-aes's Introduction

Mediatek AES Crypto Engine

This AES Engine is available in the Mediatek MT76x8 SoC.

It enables hardware crypto for AES-ECB and AES-CBC with 128/192/256 keysize.

This should be added to your device DTS or better yet to the mt76x8.dtsi:

crypto: crypto@10004000 {
	compatible = "mediatek,mtk-aes";
	reg = <0x10004000 0x1000>;

	interrupt-parent = <&intc>;
	interrupts = <13>;

	resets = <&rstctrl 29>;
	reset-names = "cryp";
	clocks = <&clkctrl 29>;
	clock-names = "cryp";
};

Benchmark: By default crypto-blocks <100 bytes are software only

You have chosen to measure elapsed time instead of user CPU time.

Doing aes-256-cbc for 3s on 16 size blocks: 358615 aes-256-cbc's in 3.00s

Doing aes-256-cbc for 3s on 64 size blocks: 184798 aes-256-cbc's in 3.00s

Doing aes-256-cbc for 3s on 256 size blocks: 152296 aes-256-cbc's in 3.00s

Doing aes-256-cbc for 3s on 1024 size blocks: 120724 aes-256-cbc's in 3.00s

Doing aes-256-cbc for 3s on 8192 size blocks: 36151 aes-256-cbc's in 3.00s

The 'numbers' are in 1000s of bytes per second processed.

type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes

aes-256-cbc 1912.61k 3942.36k 12995.93k 41207.13k 98716.33k

mt7628-aes's People

Contributors

vschagen avatar

Watchers

 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.