Lines Matching refs:databuf
603 unsigned char *databuf;
619 databuf = OPENSSL_malloc(octet->length);
621 databuf[j] = octet->data[i];
624 dsa->pub_key = BN_bin2bn(databuf, octet->length, NULL);
626 OPENSSL_free(databuf);
636 unsigned char *buf = NULL, *databuf, *sptr;
648 databuf = OPENSSL_malloc(data_len);
649 BN_bn2bin(dsa->pub_key, databuf);
654 sptr[i] = databuf[j];
656 OPENSSL_free(databuf);
668 unsigned char *databuf;
688 databuf = OPENSSL_malloc(octet->length);
690 databuf[j] = octet->data[i];
695 Y = getbnfrombuf(databuf, len);
696 X = getbnfrombuf(databuf + len, len);
697 OPENSSL_free(databuf);
723 unsigned char *buf = NULL, *databuf, *sptr;
762 databuf = OPENSSL_malloc(data_len);
763 memset(databuf, 0, data_len);
765 store_bignum(X, databuf + data_len / 2, data_len / 2);
766 store_bignum(Y, databuf, data_len / 2);
774 sptr[i] = databuf[j];
776 OPENSSL_free(databuf);