# aes-generic.c: what mode is it?

- From: Kent Borg \<hidden\>
- Date: 2011-02-28 20:08:56 
- List: linux-crypto
- Page: https://ratatoskr.run/linux-crypto/2011/02/8470790
- Thread: https://ratatoskr.run/linux-crypto/2011/02/8470790/t.md

```text
Hardware crypto drivers all seem to have encryption modes, but aes-generic.c does not.  But it must.  What is the mode of aes-generic.c?  ECB seems the most bare-bones...but if it is ECB, why not say so?


Thanks,

-kb the Kent who is trying to get some new crypto hardware working and is looking to do some cribbing.
```
