Searched refs:aescfb_tv (Results 1 – 1 of 1) sorted by relevance
| /linux/lib/crypto/ |
| H A D | aescfb.c | 116 } const aescfb_tv[] __initconst = { variable 216 for (int i = 0; i < ARRAY_SIZE(aescfb_tv); i++) { in libaescfb_init() 220 if (aes_expandkey(&ctx, aescfb_tv[i].key, aescfb_tv[i].klen)) { in libaescfb_init() 225 aescfb_encrypt(&ctx, buf, aescfb_tv[i].ptext, aescfb_tv[i].len, in libaescfb_init() 226 aescfb_tv[i].iv); in libaescfb_init() 227 if (memcmp(buf, aescfb_tv[i].ctext, aescfb_tv[i].len)) { in libaescfb_init() 233 aescfb_decrypt(&ctx, buf, buf, aescfb_tv[i].len, aescfb_tv[i].iv); in libaescfb_init() 234 if (memcmp(buf, aescfb_tv[i].ptext, aescfb_tv[i].len)) { in libaescfb_init() 240 aescfb_encrypt(&ctx, buf, buf, aescfb_tv[i].len, aescfb_tv[i].iv); in libaescfb_init() 241 if (memcmp(buf, aescfb_tv[i].ctext, aescfb_tv[i].len)) { in libaescfb_init()
|