Skip to content

ashevchuk/mtk-eip93-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mediatek EIP93 Crypto Engine

Initial attemps for the EIP-93 Crypto Engine Driver. This Crypto Engine is available in the Mediatek MT7621 SoC.

It enables hardware crypto for DES-ECB/CBC, 3DES-ECB/CBC and AES-ECB/CBC with 128/192/256 keysize. AES-CTR (128/192/256) is not tested.

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

crypto: crypto@1E004000 {
	status = "okay";

	compatible = "mediatek,mtk-eip93";
	reg = <0x1E004000 0x1000>;

	interrupt-parent = <&gic>;
	interrupts = <GIC_SHARED 19 IRQ_TYPE_LEVEL_HIGH>;
};

Work in progress at the moment: Still need work / cleanup

MD5 / SHA1 / SHA 224 / SHA 256

HMAC( MD5 / SHA1 / SHA224 / SSH 256)

TODO:

Authentication:

AEAD(HMAC(y),CBC(x))

About

Mediatek EIP93 Crypto driver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.2%
  • Makefile 1.6%
  • C++ 1.2%