Lines Matching refs:plen
568 int plen;
578 .plen = sizeof(ptext1),
588 .plen = sizeof(ptext2),
598 .plen = sizeof(ptext3),
612 .plen = sizeof(ptext1),
623 .plen = sizeof(ptext6),
633 .plen = sizeof(ptext1),
645 .plen = sizeof(ptext9),
657 .plen = sizeof(ptext10),
672 .plen = sizeof(ptext11),
688 .plen = sizeof(ptext12),
698 int plen = aesgcm_tv[i].plen;
703 aesgcm_tv[i].clen - plen)) {
708 if (!aesgcm_decrypt(&ctx, buf, aesgcm_tv[i].ctext, plen,
710 aesgcm_tv[i].iv, aesgcm_tv[i].ctext + plen)
711 || memcmp(buf, aesgcm_tv[i].ptext, plen)) {
717 aesgcm_encrypt(&ctx, buf, buf, plen, aesgcm_tv[i].assoc,
719 if (memcmp(buf, aesgcm_tv[i].ctext, plen)) {
725 if (!aesgcm_decrypt(&ctx, buf, buf, plen, aesgcm_tv[i].assoc,
727 || memcmp(buf, aesgcm_tv[i].ptext, plen)) {