3 ms·
> The decoding/decrypting checks the signature and decodes it into a NULL pointer if the signature is bad. Hmm wouldn't a trap be better?
by im3w1l 9y ago
> The decoding/decrypting checks the signature and decodes it into a NULL pointer if the signature is bad.
Hmm wouldn't a trap be better?
- fanf2 9y agoI expect this is to allow for code which might have an uninitialized pointer, and wants to decrypt it concurrently with other validity tests (relying on multiple issue width) Or, the designers didn't want to add an interlock between the memory subsystems that handle traps, and the crypto subsystem that does the decryption.