Searched refs:enc_keylen (Results 1 – 6 of 6) sorted by relevance
55 unsigned int enc_keylen; member367 ctx->enc_keylen, ctx->auth_keylen); in validate_keys_sizes()389 if (ctx->enc_keylen != DES3_EDE_KEY_SIZE) { in validate_keys_sizes()391 ctx->enc_keylen); in validate_keys_sizes()395 if (ctx->enc_keylen != AES_KEYSIZE_128 && in validate_keys_sizes()396 ctx->enc_keylen != AES_KEYSIZE_192 && in validate_keys_sizes()397 ctx->enc_keylen != AES_KEYSIZE_256) { in validate_keys_sizes()399 ctx->enc_keylen); in validate_keys_sizes()565 ctx->enc_keylen = keys.enckeylen; in cc_aead_setkey()570 if (ctx->enc_keylen < in cc_aead_setkey()[all …]
332 keylen = ctx->enc_keylen / 2; in qce_setup_regs_skcipher()334 keylen = ctx->enc_keylen; in qce_setup_regs_skcipher()351 qce_xtskey(qce, ctx->enc_key, ctx->enc_keylen, in qce_setup_regs_skcipher()432 unsigned int enc_keylen = ctx->enc_keylen; in qce_setup_regs_aead() local445 enckey_words = qce_be32_to_cpu_array(enckey, ctx->enc_key, enc_keylen); in qce_setup_regs_aead()492 encr_cfg = qce_encr_cfg(flags, enc_keylen); in qce_setup_regs_aead()
207 ctx->enc_keylen = keylen; in qce_skcipher_setkey()221 ctx->enc_keylen = keylen; in qce_des_setkey()251 ctx->enc_keylen = keylen; in qce_des3_setkey()268 keylen = IS_XTS(rctx->flags) ? ctx->enc_keylen >> 1 : ctx->enc_keylen; in qce_skcipher_crypt()
16 unsigned int enc_keylen; member
19 unsigned int enc_keylen; member
581 ctx->enc_keylen = keylen; in qce_aead_ccm_setkey()640 ctx->enc_keylen = authenc_keys.enckeylen; in qce_aead_setkey()