Lines Matching refs:cnt
636 int cnt = 0;
656 priv.elements[cnt].tag = TAG_DSA_PRIME;
657 priv.elements[cnt].length = BN_num_bytes(p);
658 BN_bn2bin(p, bufs[cnt]);
659 priv.elements[cnt].data = bufs[cnt];
660 cnt++;
662 priv.elements[cnt].tag = TAG_DSA_SUBPRIME;
663 priv.elements[cnt].length = BN_num_bytes(q);
664 BN_bn2bin(q, bufs[cnt]);
665 priv.elements[cnt].data = bufs[cnt];
666 cnt++;
668 priv.elements[cnt].tag = TAG_DSA_BASE;
669 priv.elements[cnt].length = BN_num_bytes(g);
670 BN_bn2bin(g, bufs[cnt]);
671 priv.elements[cnt].data = bufs[cnt];
672 cnt++;
674 priv.elements[cnt].tag = TAG_DSA_PRIVATE;
675 priv.elements[cnt].length = BN_num_bytes(priv_key);
676 BN_bn2bin(priv_key, bufs[cnt]);
677 priv.elements[cnt].data = bufs[cnt];
678 cnt++;
680 priv.elements[cnt].tag = TAG_DSA_PUBLIC;
681 priv.elements[cnt].length = BN_num_bytes(pub_key);
682 BN_bn2bin(pub_key, bufs[cnt]);
683 priv.elements[cnt].data = bufs[cnt];
684 cnt++;
686 priv.nelements = cnt;