mirror of https://github.com/rusefi/ChibiOS.git
Update Cryto AES main file.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14645 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
994bf67b0c
commit
f91ae33b09
|
@ -90,7 +90,7 @@ int main(void) {
|
|||
|
||||
cryStart(&CRYD1, &cryConfig);
|
||||
|
||||
res = cryLoadTransientKey(&CRYD1, (cryalgorithm_t) cry_algo_aes,16, key);
|
||||
res = cryLoadAESTransientKey(&CRYD1, 16, key);
|
||||
|
||||
res = cryEncryptAES(&CRYD1, tkey, data, data_encrypted);
|
||||
if (res != CRY_NOERROR) {
|
||||
|
|
Loading…
Reference in New Issue