Right now, the internals of crypto structs are visible and widely used. This PR replaces direct struct member access with accessor functions.
It is a draft right now for feedback, and because only the cipher side of things is done. If folks are OK with this approach, then I will do the auth side as well.
Right now, the internals of crypto structs are visible and widely used. This PR replaces direct struct member access with accessor functions.
It is a draft right now for feedback, and because only the
cipher
side of things is done. If folks are OK with this approach, then I will do theauth
side as well.