]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/crypto/caam/ctrl.c
crypto: caam - fix RNG4 AAI defines
[karo-tx-linux.git] / drivers / crypto / caam / ctrl.c
index 9e9215ac130ea1f30373906c0b1c87499e0f906e..29cbec18a3a8d416afdbfc7b3aa72f48302c122e 100644 (file)
@@ -39,7 +39,7 @@ static void build_instantiation_desc(u32 *desc)
 
        /* generate secure keys (non-test) */
        append_operation(desc, OP_TYPE_CLASS1_ALG | OP_ALG_ALGSEL_RNG |
-                        OP_ALG_RNG4_SK);
+                        OP_ALG_AAI_RNG4_SK);
 
        append_jump(desc, JUMP_CLASS_CLASS1 | JUMP_TYPE_HALT);
 }