Lines Matching refs:tmp_ctx
66 TALLOC_CTX *tmp_ctx = NULL;
82 tmp_ctx = talloc_new(mem_ctx);
83 if (!tmp_ctx) {
101 ret = nss_ctx_init(tmp_ctx, mech_props, NULL, 1, NULL, 1, &cctx);
114 plaintext = (unsigned char *) talloc_strndup(tmp_ctx, password, plen);
122 cryptotext = talloc_array(tmp_ctx, unsigned char, ct_maxsize);
166 obfbuf = talloc_array(tmp_ctx, unsigned char, obufsize);
191 talloc_free(tmp_ctx);
200 TALLOC_CTX *tmp_ctx = NULL;
219 tmp_ctx = talloc_new(mem_ctx);
220 if (!tmp_ctx) {
232 obfbuf = sss_base64_decode(tmp_ctx, b64encoded, &obflen);
263 keybuf = talloc_array(tmp_ctx, unsigned char, mech_props->keylen);
270 ivbuf = talloc_array(tmp_ctx, unsigned char, mech_props->bsize);
277 cryptotext = talloc_array(tmp_ctx, unsigned char, ctsize);
284 ret = nss_ctx_init(tmp_ctx, mech_props,
297 pwdbuf = talloc_array(tmp_ctx, char, ctsize);
326 talloc_free(tmp_ctx);