Lines Matching refs:val_buf
1405 char *val_buf, *next;
1408 val_buf = (char *)malloc(22400 + 16);
1409 next = val_buf = (char *)(((size_t)val_buf + 16) & ~((size_t)15));
1468 ae_encrypt(&ctx,nonce,NULL,0,val_buf,next-val_buf,ct,tag,AE_FINALIZE);
1481 len = ae_encrypt(&ctx,nonce,val_buf,i,val_buf,i,ct,tag,AE_FINALIZE);
1482 len = ae_encrypt(&ctx,nonce,val_buf,i,val_buf,-1,ct,tag,AE_FINALIZE);
1483 len = ae_decrypt(&ctx,nonce,ct,len,val_buf,-1,pt,tag,AE_FINALIZE);
1486 if (memcmp(val_buf,pt,i)) { printf("Decrypt error: %d\n", i); return; }
1488 len = ae_encrypt(&ctx,nonce,val_buf,i,val_buf,i,ct,NULL,AE_FINALIZE);
1489 ae_decrypt(&ctx,nonce,ct,first,val_buf,first,pt,NULL,AE_PENDING);
1490 ae_decrypt(&ctx,NULL,ct+first,second,val_buf+first,second,pt+first,NULL,AE_PENDING);
1491 …len = ae_decrypt(&ctx,NULL,ct+first+second,len-(first+second),val_buf+first+second,third,pt+first+…
1493 if (memcmp(val_buf,pt,i)) { printf("Decrypt error: %d\n", i); return; }