diff options
Diffstat (limited to 'demos/engines/ibmca/hw_ibmca.c')
-rw-r--r-- | demos/engines/ibmca/hw_ibmca.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/engines/ibmca/hw_ibmca.c b/demos/engines/ibmca/hw_ibmca.c index 743f6d60ad..4a997c85a9 100644 --- a/demos/engines/ibmca/hw_ibmca.c +++ b/demos/engines/ibmca/hw_ibmca.c @@ -764,10 +764,12 @@ they could cause potential side affects on either the card or the result */ BN_bn2bin(dmq1, pkey); /* Copy over dmq1 */ pkey += qSize; /* move pointer */ - pkey += pSize - BN_num_bytes(p); /* set up for zero padding of next field */ + /* set up for zero padding of next field */ + pkey += pSize - BN_num_bytes(p); BN_bn2bin(p, pkey); - pkey += BN_num_bytes(p); /* increment pointer by number of bytes moved */ + /* increment pointer by number of bytes moved */ + pkey += BN_num_bytes(p); BN_bn2bin(q, pkey); pkey += qSize ; /* move the pointer */ |