Searched refs:lim (Results 1 – 2 of 2) sorted by relevance
| /optee_os/core/lib/libtomcrypt/src/modes/xts/ |
| H A D | xts_decrypt.c | 57 unsigned long i, m, mo, lim; in xts_decrypt() local 81 lim = m; in xts_decrypt() 83 lim = m - 1; in xts_decrypt() 86 if (cipher_descriptor[xts->cipher]->accel_xts_decrypt && lim > 0) { in xts_decrypt() 89 …if ((err = cipher_descriptor[xts->cipher]->accel_xts_decrypt(ct, pt, lim, tweak, &xts->key1, &xts-… in xts_decrypt() 93 ct += lim * 16; in xts_decrypt() 94 pt += lim * 16; in xts_decrypt() 104 for (i = 0; i < lim; i++) { in xts_decrypt()
|
| H A D | xts_encrypt.c | 59 unsigned long i, m, mo, lim; in xts_encrypt() local 83 lim = m; in xts_encrypt() 85 lim = m - 1; in xts_encrypt() 88 if (cipher_descriptor[xts->cipher]->accel_xts_encrypt && lim > 0) { in xts_encrypt() 91 …if ((err = cipher_descriptor[xts->cipher]->accel_xts_encrypt(pt, ct, lim, tweak, &xts->key1, &xts-… in xts_encrypt() 95 ct += lim * 16; in xts_encrypt() 96 pt += lim * 16; in xts_encrypt() 107 for (i = 0; i < lim; i++) { in xts_encrypt()
|