RSA Security Projection Television 5.2.2 Manual de usuario Pagina 348

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 376
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 347
The X9.31 Sample Program
326 RSA BSAFE Crypto-C Developers Guide
Printing the Buffer Contents
The following procedure prints the current contents of the buffer.
/* This procedure will print out whats in the buffer.
*/
void PrintBuf (buffer, bufferLen)
unsigned char *buffer;
unsigned int bufferLen;
{
unsigned int i;
for (i = 0; i < bufferLen; ++i) {
if ( ((i & 7) == 7) || (i == (bufferLen - 1)) )
printf (" %02x\n", buffer[i]);
else
printf (" %02x", buffer[i]);
}
printf ("\n");
} /* end PrintBuf */
Vista de pagina 347
1 2 ... 343 344 345 346 347 348 349 350 351 352 353 ... 375 376

Comentarios a estos manuales

Sin comentarios