Lines Matching refs:tfms_count
190 unsigned int tfms_count; member
476 if (cc->key_parts == cc->tfms_count) { in crypt_iv_lmk_ctr()
498 memcpy(lmk->seed, cc->key + (cc->tfms_count * subkey_size), in crypt_iv_lmk_init()
1488 unsigned int key_index = ctx->cc_sector & (cc->tfms_count - 1); in crypt_alloc_req_skcipher()
2333 for (i = 0; i < cc->tfms_count; i++) in crypt_free_tfms_skcipher()
2356 cc->cipher_tfm.tfms = kcalloc(cc->tfms_count, in crypt_alloc_tfms_skcipher()
2362 for (i = 0; i < cc->tfms_count; i++) { in crypt_alloc_tfms_skcipher()
2413 return (cc->key_size - cc->key_extra_size) >> ilog2(cc->tfms_count); in crypt_subkey_size()
2460 for (i = 0; i < cc->tfms_count; i++) { in crypt_setkey()
2924 cc->tfms_count = 1; in crypt_ctr_cipher_new()
2957 cc->tfms_count = 64; in crypt_ctr_cipher_new()
2973 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_new()
3013 cc->tfms_count = 1; in crypt_ctr_cipher_old()
3014 else if (sscanf(keycount, "%u%c", &cc->tfms_count, &dummy) != 1 || in crypt_ctr_cipher_old()
3015 !is_power_of_2(cc->tfms_count)) { in crypt_ctr_cipher_old()
3019 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_old()