Lines Matching refs:BN_num_bytes
530 outLen = BN_num_bytes(m);
546 if (outLen < BN_num_bytes(p)){
554 BN_num_bytes(p)]);
573 BN_num_bytes(a));
648 unsigned int pbytes = BN_num_bytes(p);
649 unsigned int qbytes = BN_num_bytes(q);
650 unsigned int dmp1bytes = BN_num_bytes(dmp1);
651 unsigned int dmq1bytes = BN_num_bytes(dmq1);
652 unsigned int iqmpbytes = BN_num_bytes(iqmp);
703 CORRECT_ENDIANNESS(BN_num_bytes(q) * 2 * 8);
708 privKey->pLength = CORRECT_ENDIANNESS(BN_num_bytes(p)+8);
709 privKey->qLength = CORRECT_ENDIANNESS(BN_num_bytes(q));
710 privKey->dpLength = CORRECT_ENDIANNESS(BN_num_bytes(dmp1)+8);
711 privKey->dqLength = CORRECT_ENDIANNESS(BN_num_bytes(dmq1));
712 privKey->qInvLength = CORRECT_ENDIANNESS(BN_num_bytes(iqmp)+8);
717 qSize = BN_num_bytes(q);
759 /* pkey += pSize - BN_num_bytes(p); WROING this should be dmp1) */
760 pkey += pSize - BN_num_bytes(dmp1);
762 pkey += BN_num_bytes(dmp1); /* move the pointer */
767 pkey += pSize - BN_num_bytes(p); /* set up for zero padding of next field */
770 pkey += BN_num_bytes(p); /* increment pointer by number of bytes moved */
774 pkey += pSize - BN_num_bytes(iqmp); /* Adjust for padding */
788 if ( outLen < BN_num_bytes(a)) {
794 BN_num_bytes(a));