A
A
Aryeh Leonid R.2020-11-19 18:55:26
linux
Aryeh Leonid R., 2020-11-19 18:55:26

How to use Linux CryptoAPI from user space without using libkcapi?

You need to access the Linux Crypto API functions from user space.
Specifically, encrypt/decrypt gcm(aes) is required. There are no examples. Those. not at all.
Encrypt / decrypt cbc found, checked - it works! But with gcm aes trouble.
Under the terms, you can't use libkcapi in this project. Can anyone share a real example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2020-11-19
@rPman

try to rummage in open sources
for example github if you are not satisfied with the ready-made sources of the kernel module
https://github.com/search?l=C%2B%2B&q=gcm+aes&type...
(this is for c++, choose the filter by language below)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question