Lines Matching defs:cnt
901 int cnt = 0;
943 priv.elements[cnt].tag = TAG_DSA_PRIME;
944 priv.elements[cnt].length = (unsigned short) prime->ulValueLen;
945 memmove(bufs[cnt], prime->pValue, prime->ulValueLen);
946 priv.elements[cnt].data = bufs[cnt];
947 cnt++;
949 priv.elements[cnt].tag = TAG_DSA_SUBPRIME;
950 priv.elements[cnt].length = (unsigned short) subprime->ulValueLen;
951 memmove(bufs[cnt], subprime->pValue, subprime->ulValueLen);
952 priv.elements[cnt].data = bufs[cnt];
953 cnt++;
955 priv.elements[cnt].tag = TAG_DSA_BASE;
956 priv.elements[cnt].length = (unsigned short) base->ulValueLen;
957 memmove(bufs[cnt], base->pValue, base->ulValueLen);
958 priv.elements[cnt].data = bufs[cnt];
959 cnt++;
961 priv.elements[cnt].tag = TAG_DSA_PRIVATE;
962 priv.elements[cnt].length = (unsigned short) priv_key->ulValueLen;
963 memmove(bufs[cnt], priv_key->pValue, priv_key->ulValueLen);
964 priv.elements[cnt].data = bufs[cnt];
965 cnt++;
967 priv.elements[cnt].tag = TAG_DSA_PUBLIC;
968 priv.elements[cnt].length = (unsigned short) pub_key->ulValueLen;
969 memmove(bufs[cnt], pub_key->pValue, pub_key->ulValueLen);
970 priv.elements[cnt].data = bufs[cnt];
971 cnt++;
973 priv.nelements = cnt;