Searched refs:aescfb_tv (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/lib/crypto/ |
D | aescfb.c | 117 } const aescfb_tv[] __initconst = { variable 217 for (int i = 0; i < ARRAY_SIZE(aescfb_tv); i++) { in libaescfb_init() 221 if (aes_expandkey(&ctx, aescfb_tv[i].key, aescfb_tv[i].klen)) { in libaescfb_init() 226 aescfb_encrypt(&ctx, buf, aescfb_tv[i].ptext, aescfb_tv[i].len, in libaescfb_init() 227 aescfb_tv[i].iv); in libaescfb_init() 228 if (memcmp(buf, aescfb_tv[i].ctext, aescfb_tv[i].len)) { in libaescfb_init() 234 aescfb_decrypt(&ctx, buf, buf, aescfb_tv[i].len, aescfb_tv[i].iv); in libaescfb_init() 235 if (memcmp(buf, aescfb_tv[i].ptext, aescfb_tv[i].len)) { in libaescfb_init() 241 aescfb_encrypt(&ctx, buf, buf, aescfb_tv[i].len, aescfb_tv[i].iv); in libaescfb_init() 242 if (memcmp(buf, aescfb_tv[i].ctext, aescfb_tv[i].len)) { in libaescfb_init()
|