Lines Matching defs:tmp
694 unsigned char *in, *expected_out, *tmp = NULL;
719 tmp = OPENSSL_malloc(out_misalign + in_len + 2 * EVP_MAX_BLOCK_LENGTH);
720 if (!tmp)
722 in = memcpy(tmp + out_misalign, in, in_len);
726 * 'tmp' will store both output and copy of input. We make the copy
727 * of input to specifically aligned part of 'tmp'. So we just
733 tmp = OPENSSL_malloc(out_misalign + in_len + 2 * EVP_MAX_BLOCK_LENGTH +
735 if (!tmp)
737 in = memcpy(tmp + out_misalign + in_len + 2 * EVP_MAX_BLOCK_LENGTH +
929 if (!EVP_CipherUpdate(ctx, tmp + out_misalign, &tmplen, in, in_len))
934 if (!EVP_CipherUpdate(ctx, tmp + out_misalign, &chunklen, in, 1))
941 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen,
949 if (!EVP_CipherUpdate(ctx, tmp + out_misalign + tmplen, &chunklen,
955 if (!EVP_CipherFinal_ex(ctx, tmp + out_misalign + tmplen, &tmpflen)) {
971 tmp + out_misalign, tmplen + tmpflen))
1006 OPENSSL_free(tmp);