On Fri, Apr 08, 2011 at 03:44:01PM -0500, Kim Phillips wrote: > the following conditions in a driver setkey fail: > > if (!RTA_OK(rta, keylen)) > goto badkey; > > if (rta->rta_type != CRYPTO_AUTHENC_KEYA_PARAM) > goto badkey; > > because testmgr keys are plain strings, not rtattr structs. There is no reason why an authenc test vector can't use an rtattr. The key value is a char *, so you can point it to a struct quite easily. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html