Lines Matching defs:out
32 uint32_t out = 0;
34 out = (out << 8) | (x & 0xFF);
35 return out;
191 static int handleConvertKey(uint8_t **pbuf, uint32_t bufUsed, FILE *out, struct RsaData *rsa)
220 ret = fwrite(rsa->num, 1, RSA_BYTES, out) == RSA_BYTES ? 0 : 2;
316 static int handleSign(uint8_t **pbuf, uint32_t bufUsed, FILE *out, struct RsaData *rsa, bool verbose, bool bareData)
393 fwrite(buf, 1, bufUsed, out);
394 fwrite(rsaResult, 1, sizeof(uint32_t[RSA_LIMBS]), out);
395 ret = (fwrite(rsa->modulus, 1, RSA_BYTES, out) == RSA_BYTES) ? 0 : 2;
430 FILE *out = NULL;
535 out = stdout;
537 out = fopen(posArg[1], "w");
538 if (!out)
542 ret = handleSign(&buf, bufUsed, out, &rsa, verbose, bareData);
546 ret = handleConvertKey(&buf, bufUsed, out, &rsa);
549 fclose(out);