Lines Matching refs:memory
175 BLOCK *memory; member
361 load_block(&ctx->memory[l * ctx->lane_length + 0], in fill_first_blocks()
366 load_block(&ctx->memory[l * ctx->lane_length + 1], in fill_first_blocks()
521 rnd = ctx->memory[prev_offset].v[0]; in fill_segment()
535 ref_block = ctx->memory + ctx->lane_length * ref_lane + ref_index; in fill_segment()
536 curr_block = ctx->memory + curr_offset; in fill_segment()
539 fill_block(ctx->memory + prev_offset, ref_block, curr_block, 0); in fill_segment()
543 fill_block(ctx->memory + prev_offset, ref_block, curr_block, in fill_segment()
736 ctx->memory = OPENSSL_secure_zalloc(ctx->memory_blocks * in initialize()
739 ctx->memory = OPENSSL_zalloc(ctx->memory_blocks * in initialize()
742 if (ctx->memory == NULL) { in initialize()
767 copy_block(&blockhash, ctx->memory + ctx->lane_length - 1); in finalize()
772 xor_block(&blockhash, ctx->memory + last_block_in_lane); in finalize()
783 OPENSSL_secure_clear_free(ctx->memory, in finalize()
786 OPENSSL_clear_free(ctx->memory, in finalize()
1101 ctx->memory = NULL; in kdf_argon2_derive()