• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/Security-55471.14.18/libsecurity_cryptkit/lib/

Lines Matching refs:bytes

50 #define ENC_BYTE(n, b, bytes)			\
52 bytes++;
54 #define ENC_INT(n, b, bytes, i) \
56 bytes += i; \
59 #define ENC_GIANT(g, b, bytes, i) \
61 bytes += i; \
64 #define DEC_BYTE(n, b, blen, bytes) \
66 bytes++; \
69 #define DEC_INT(n, b, blen, bytes) \
72 bytes += sizeof(int); \
75 #define DEC_GIANT(g, b, blen, glen, bytes, out) \
81 bytes += glen; \
89 * of bytes written to the output stream.
108 * 7 Apr 1998 : leading int is now the number of bytes in the giant's
272 * byte rep stream to giant. Returns NULL on error; returns number of bytes
275 * 7 Apr 1998 : leading int is now the number of bytes in the giant's
303 /* 9 Apr 1998 - sign = 0 means no following n[] bytes in the
331 * Returns NULL on error; returns number of bytes of *buf snarfed in
385 int bytes = 0;
392 DEC_INT(version, buf, bufLen, bytes);
393 DEC_INT(minVersion, buf, bufLen, bytes);
403 DEC_BYTE(cp->primeType, buf, bufLen, bytes);
404 DEC_BYTE(cp->curveType, buf, bufLen, bytes);
405 DEC_INT(cp->q, buf, bufLen, bytes);
406 DEC_INT(cp->k, buf, bufLen, bytes);
407 DEC_INT(cp->m, buf, bufLen, bytes);
408 DEC_INT(spare, buf, bufLen, bytes);
410 DEC_GIANT(cp->a, buf, bufLen, gLen, bytes, abort);
411 DEC_GIANT(cp->b, buf, bufLen, gLen, bytes, abort);
412 DEC_GIANT(cp->c, buf, bufLen, gLen, bytes, abort);
413 DEC_GIANT(cp->x1Plus, buf, bufLen, gLen, bytes, abort);
414 DEC_GIANT(cp->x1Minus, buf, bufLen, gLen, bytes, abort);
415 DEC_GIANT(cp->cOrderPlus, buf, bufLen, gLen, bytes, abort);
416 DEC_GIANT(cp->cOrderMinus, buf, bufLen, gLen, bytes, abort);
417 DEC_GIANT(cp->x1OrderPlus, buf, bufLen, gLen, bytes, abort);
418 DEC_GIANT(cp->x1OrderMinus, buf, bufLen, gLen, bytes, abort);
424 DEC_GIANT(cp->basePrime, buf, bufLen, gLen, bytes, abort);
431 *cpLen = bytes;
453 int bytes = 0;
459 DEC_INT(*sigMagic, buf, bufLen, bytes);
460 DEC_INT(*sigVersion, buf, bufLen, bytes);
461 DEC_INT(*sigMinVersion, buf, bufLen, bytes);
465 DEC_INT(spare, buf, bufLen, bytes);
466 // deleted 2/20/01 DEC_INT(*signerLen, buf, bufLen, bytes);
470 DEC_GIANT(*g0, buf, bufLen, gLen, bytes, abort);
471 DEC_GIANT(*g1, buf, bufLen, gLen, bytes, abort);