eng_devcrypto: add cipher CTX copy function