Lines Matching refs:bufs
563 unsigned char *bufs[4];
576 memset(bufs, 0, sizeof(bufs));
578 bufs[i] = isc_mem_get(key->mctx, BN_num_bytes(p));
579 if (bufs[i] == NULL) {
589 BN_bn2bin(p, bufs[i]);
590 priv.elements[i].data = bufs[i];
595 BN_bn2bin(g, bufs[i]);
596 priv.elements[i].data = bufs[i];
601 BN_bn2bin(priv_key, bufs[i]);
602 priv.elements[i].data = bufs[i];
607 BN_bn2bin(pub_key, bufs[i]);
608 priv.elements[i].data = bufs[i];
615 if (bufs[i] == NULL)
617 isc_mem_put(key->mctx, bufs[i], BN_num_bytes(p));