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);
201 TALLOC_CTX *tmp_ctx = NULL;
220 tmp_ctx = talloc_new(mem_ctx);
221 if (!tmp_ctx) {
233 obfbuf = sss_base64_decode(tmp_ctx, b64encoded, &obflen);
264 keybuf = talloc_array(tmp_ctx, unsigned char, mech_props->keylen);
271 ivbuf = talloc_array(tmp_ctx, unsigned char, mech_props->bsize);
278 cryptotext = talloc_array(tmp_ctx, unsigned char, ctsize);
285 ret = nss_ctx_init(tmp_ctx, mech_props,
298 pwdbuf = talloc_array(tmp_ctx, char, ctsize);
327 talloc_free(tmp_ctx);