Use accessor macros for retriving cipher and digest ctx and alg