Questions tagged [scratch-memory]

2 questions
5
votes
4 answers

Accessing scratch pad memory from C

That might be a little bit an exotic problem, but I hope somebody can still help me out a bit ;). I would like to execute a standard C program, however, at some point during program execution I would like that a certain number of instructions,…
Rob
  • 99
  • 1
  • 4
1
vote
1 answer

Thread Local Memory, Using std::string's internal buffer for c-style Scratch Memory

I am using Protocol Buffers and OpensSSL to generate, HMACs and then CBC encrypt the two fields to obfuscate the session cookies -- similar Kerberos tokens. Protocol Buffers' API communicates with std::strings and has a buffer caching mechanism; I…
Hassan Syed
  • 20,075
  • 11
  • 87
  • 171