Home | History | Annotate | Download | only in demos

Lines Matching refs:y1

395    int err, kl, x, y1, z;
422 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){
423 for (z = 0; z < y1; z++) {
429 if ((err = eax_encrypt_authenticate_memory(x, key, kl, nonce, y1, header, y1, plaintext, y1, plaintext, tag, &len)) != CRYPT_OK) {
433 fprintf(out, "%3d: ", y1);
434 for (z = 0; z < y1; z++) {
455 int err, kl, x, y1, z;
487 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){
488 for (z = 0; z < y1; z++) {
492 if ((err = ocb_encrypt_authenticate_memory(x, key, kl, nonce, plaintext, y1, plaintext, tag, &len)) != CRYPT_OK) {
496 fprintf(out, "%3d: ", y1);
497 for (z = 0; z < y1; z++) {
519 int err, kl, x, y1, z;
551 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){
552 for (z = 0; z < y1; z++) {
556 if ((err = ccm_memory(x, key, kl, NULL, nonce, 13, plaintext, y1, plaintext, y1, plaintext, tag, &len, CCM_ENCRYPT)) != CRYPT_OK) {
560 fprintf(out, "%3d: ", y1);
561 for (z = 0; z < y1; z++) {
582 int err, kl, x, y1, z;
608 for (y1 = 0; y1 <= (int)(cipher_descriptor[x].block_length*2); y1++){
609 for (z = 0; z < y1; z++) {
613 if ((err = gcm_memory(x, key, kl, plaintext, y1, plaintext, y1, plaintext, y1, plaintext, tag, &len, GCM_ENCRYPT)) != CRYPT_OK) {
617 fprintf(out, "%3d: ", y1);
618 for (z = 0; z < y1; z++) {