Lines Matching defs:output
168 "The output of step N is used as the key and plaintext for step N+1 (key bytes repeated as required to fill the key)\n\n");
233 unsigned char key[MAXBLOCKSIZE], output[MAXBLOCKSIZE], *input;
242 "of the same format (the same length as the HASH output size). The HMAC key in step N+1 is the HMAC output of\n"
263 len = sizeof(output);
264 if ((err = hmac_memory(x, key, hash_descriptor[x].hashsize, input, y, output, &len)) != CRYPT_OK) {
270 fprintf(out, "%02X", output[z]);
275 memcpy(key, output, hash_descriptor[x].hashsize);
285 unsigned char key[MAXBLOCKSIZE], output[MAXBLOCKSIZE], input[MAXBLOCKSIZE*2+2];
294 "of the same format (length specified per cipher). The OMAC key in step N+1 is the OMAC output of\n"
317 len = sizeof(output);
318 if ((err = omac_memory(x, key, kl, input, y, output, &len)) != CRYPT_OK) {
324 fprintf(out, "%02X", output[z]);
330 key[z] = output[z % len];
340 unsigned char key[MAXBLOCKSIZE], output[MAXBLOCKSIZE], input[MAXBLOCKSIZE*2+2];
349 "of the same format (length specified per cipher). The OMAC key in step N+1 is the OMAC output of\n"
372 len = sizeof(output);
373 if ((err = pmac_memory(x, key, kl, input, y, output, &len)) != CRYPT_OK) {
379 fprintf(out, "%02X", output[z]);
385 key[z] = output[z % len];