Lines Matching refs:plen
555 int plen;
565 .plen = sizeof(ptext1),
575 .plen = sizeof(ptext2),
585 .plen = sizeof(ptext3),
599 .plen = sizeof(ptext1),
610 .plen = sizeof(ptext6),
620 .plen = sizeof(ptext1),
632 .plen = sizeof(ptext9),
644 .plen = sizeof(ptext10),
659 .plen = sizeof(ptext11),
675 .plen = sizeof(ptext12),
685 int plen = aesgcm_tv[i].plen;
690 aesgcm_tv[i].clen - plen)) {
695 if (!aesgcm_decrypt(&ctx, buf, aesgcm_tv[i].ctext, plen,
697 aesgcm_tv[i].iv, aesgcm_tv[i].ctext + plen)
698 || memcmp(buf, aesgcm_tv[i].ptext, plen)) {
704 aesgcm_encrypt(&ctx, buf, buf, plen, aesgcm_tv[i].assoc,
706 if (memcmp(buf, aesgcm_tv[i].ctext, plen)) {
712 if (!aesgcm_decrypt(&ctx, buf, buf, plen, aesgcm_tv[i].assoc,
714 || memcmp(buf, aesgcm_tv[i].ptext, plen)) {