Lines Matching refs:z
118 unsigned long outlen, x, y, z; in hash_gen() local
136 for (z = 0; z < y; z++) { in hash_gen()
137 buf[z] = (unsigned char)(z & 255); in hash_gen()
145 for (z = 0; z < outlen; z++) { in hash_gen()
146 fprintf(out, "%02X", md[z]); in hash_gen()
159 unsigned long x, y, z, w; in cipher_gen() local
195 for (z = 0; (int)z < kl; z++) { in cipher_gen()
196 key[z] = (unsigned char)z; in cipher_gen()
203 for (z = 0; (int)z < cipher_descriptor[x].block_length; z++) { in cipher_gen()
204 pt[z] = (unsigned char)z; in cipher_gen()
209 for (z = 0; (int)z < cipher_descriptor[x].block_length; z++) { in cipher_gen()
210 fprintf(out, "%02X", pt[z]); in cipher_gen()
215 for (z = 0; z < (unsigned long)kl; z++) { in cipher_gen()
216 key[z] = pt[z % cipher_descriptor[x].block_length]; in cipher_gen()
234 int x, y, z, err; in hmac_gen() local
260 for (z = 0; z < y; z++) { in hmac_gen()
261 input[z] = (unsigned char)(z & 255); in hmac_gen()
269 for (z = 0; z <(int) len; z++) { in hmac_gen()
270 fprintf(out, "%02X", output[z]); in hmac_gen()
286 int err, x, y, z, kl; in omac_gen() local
314 for (z = 0; z < y; z++) { in omac_gen()
315 input[z] = (unsigned char)(z & 255); in omac_gen()
323 for (z = 0; z <(int)len; z++) { in omac_gen()
324 fprintf(out, "%02X", output[z]); in omac_gen()
329 for (z = 0; z < kl; z++) { in omac_gen()
330 key[z] = output[z % len]; in omac_gen()
341 int err, x, y, z, kl; in pmac_gen() local
369 for (z = 0; z < y; z++) { in pmac_gen()
370 input[z] = (unsigned char)(z & 255); in pmac_gen()
378 for (z = 0; z <(int)len; z++) { in pmac_gen()
379 fprintf(out, "%02X", output[z]); in pmac_gen()
384 for (z = 0; z < kl; z++) { in pmac_gen()
385 key[z] = output[z % len]; in pmac_gen()
395 int err, kl, x, y1, z; in eax_gen() local
418 for (z = 0; z < kl; z++) { in eax_gen()
419 key[z] = (z & 255); in eax_gen()
423 for (z = 0; z < y1; z++) { in eax_gen()
424 plaintext[z] = (unsigned char)(z & 255); in eax_gen()
425 nonce[z] = (unsigned char)(z & 255); in eax_gen()
426 header[z] = (unsigned char)(z & 255); in eax_gen()
434 for (z = 0; z < y1; z++) { in eax_gen()
435 fprintf(out, "%02X", plaintext[z]); in eax_gen()
438 for (z = 0; z <(int)len; z++) { in eax_gen()
439 fprintf(out, "%02X", tag[z]); in eax_gen()
444 for (z = 0; z < kl; z++) { in eax_gen()
445 key[z] = tag[z % len]; in eax_gen()
455 int err, kl, x, y1, z; in ocb_gen() local
478 for (z = 0; z < kl; z++) { in ocb_gen()
479 key[z] = (z & 255); in ocb_gen()
483 for (z = 0; z < cipher_descriptor[x].block_length; z++) { in ocb_gen()
484 nonce[z] = z; in ocb_gen()
488 for (z = 0; z < y1; z++) { in ocb_gen()
489 plaintext[z] = (unsigned char)(z & 255); in ocb_gen()
497 for (z = 0; z < y1; z++) { in ocb_gen()
498 fprintf(out, "%02X", plaintext[z]); in ocb_gen()
501 for (z = 0; z <(int)len; z++) { in ocb_gen()
502 fprintf(out, "%02X", tag[z]); in ocb_gen()
507 for (z = 0; z < kl; z++) { in ocb_gen()
508 key[z] = tag[z % len]; in ocb_gen()
519 int err, kl, x, y1, z; in ccm_gen() local
542 for (z = 0; z < kl; z++) { in ccm_gen()
543 key[z] = (z & 255); in ccm_gen()
547 for (z = 0; z < cipher_descriptor[x].block_length; z++) { in ccm_gen()
548 nonce[z] = z; in ccm_gen()
552 for (z = 0; z < y1; z++) { in ccm_gen()
553 plaintext[z] = (unsigned char)(z & 255); in ccm_gen()
561 for (z = 0; z < y1; z++) { in ccm_gen()
562 fprintf(out, "%02X", plaintext[z]); in ccm_gen()
565 for (z = 0; z <(int)len; z++) { in ccm_gen()
566 fprintf(out, "%02X", tag[z]); in ccm_gen()
571 for (z = 0; z < kl; z++) { in ccm_gen()
572 key[z] = tag[z % len]; in ccm_gen()
582 int err, kl, x, y1, z; in gcm_gen() local
604 for (z = 0; z < kl; z++) { in gcm_gen()
605 key[z] = (z & 255); in gcm_gen()
609 for (z = 0; z < y1; z++) { in gcm_gen()
610 plaintext[z] = (unsigned char)(z & 255); in gcm_gen()
618 for (z = 0; z < y1; z++) { in gcm_gen()
619 fprintf(out, "%02X", plaintext[z]); in gcm_gen()
622 for (z = 0; z <(int)len; z++) { in gcm_gen()
623 fprintf(out, "%02X", tag[z]); in gcm_gen()
628 for (z = 0; z < kl; z++) { in gcm_gen()
629 key[z] = tag[z % len]; in gcm_gen()
684 mp_set(G->z, 1); in ecc_gen()