Lines Matching refs:tfms_count
184 unsigned int tfms_count; member
443 if (cc->key_parts == cc->tfms_count) { in crypt_iv_lmk_ctr()
465 memcpy(lmk->seed, cc->key + (cc->tfms_count * subkey_size), in crypt_iv_lmk_init()
1478 unsigned int key_index = ctx->cc_sector & (cc->tfms_count - 1); in crypt_alloc_req_skcipher()
2298 for (i = 0; i < cc->tfms_count; i++) in crypt_free_tfms_skcipher()
2321 cc->cipher_tfm.tfms = kcalloc(cc->tfms_count, in crypt_alloc_tfms_skcipher()
2327 for (i = 0; i < cc->tfms_count; i++) { in crypt_alloc_tfms_skcipher()
2378 return (cc->key_size - cc->key_extra_size) >> ilog2(cc->tfms_count); in crypt_subkey_size()
2425 for (i = 0; i < cc->tfms_count; i++) { in crypt_setkey()
2890 cc->tfms_count = 1; in crypt_ctr_cipher_new()
2923 cc->tfms_count = 64; in crypt_ctr_cipher_new()
2939 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_new()
2979 cc->tfms_count = 1; in crypt_ctr_cipher_old()
2980 else if (sscanf(keycount, "%u%c", &cc->tfms_count, &dummy) != 1 || in crypt_ctr_cipher_old()
2981 !is_power_of_2(cc->tfms_count)) { in crypt_ctr_cipher_old()
2985 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_old()