Lines Matching defs:priv
469 dst_private_t priv;
476 priv.nelements = 0;
477 return (dst__privstruct_writefile(key, &priv, directory));
492 priv.elements[0].tag = TAG_ECDSA_PRIVATEKEY;
493 priv.elements[0].length = BN_num_bytes(privkey);
495 priv.elements[0].data = buf;
496 priv.nelements = 1;
497 ret = dst__privstruct_writefile(key, &priv, directory);
539 dst_private_t priv;
551 ret = dst__privstruct_parse(key, DST_ALG_ECDSA256, lexer, mctx, &priv);
556 if (priv.nelements != 0)
562 dst__privstruct_free(&priv, mctx);
563 isc_safe_memwipe(&priv, sizeof(priv));
576 privkey = BN_bin2bn(priv.elements[0].data,
577 priv.elements[0].length, NULL);
604 dst__privstruct_free(&priv, mctx);
605 isc_safe_memwipe(&priv, sizeof(priv));