Skip to content

HenadziMatuts/tcryptext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tcryptext (tcrypt Extended) kernel module

It is a stand alone version of linux Crypto API tcrypt module. The one can modify sources to test self-developed algorithms. It is also possible to test algorithms already registered in kernel as with usual tcrypt.

Building

Just make it!

Running

To run type sudo insmod tcryptext [param=value param=...].

There are five optional parametres that could be provided to that module:

  • mode (int): run specific test. See tcrypt.c:do_test():1025 for conreete values. Supresses alg, type and mask parametres if provided. Defaults to 0
  • alg (string): specific algorithm name. If mode parameter value equals 0, checks if the algorithm with specified name, type and mask exists in kernel. Defaults to null
  • type, mask (uints): type and mask of the algorithm to check. See some crypto_alloc_* function definition for details. Both defaults to 0
  • sec (uint): length in seconds of speed tests (defaults to zero which uses CPU cycles instead)

About

tcryptext (tcrypt Extended) is a stand-alone version of linux Crypto API tcrypt module

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages