Lines Matching refs:tfms_count
191 unsigned int tfms_count; member
483 if (cc->key_parts == cc->tfms_count) { in crypt_iv_lmk_ctr()
504 memcpy(lmk->seed, cc->key + (cc->tfms_count * subkey_size), in crypt_iv_lmk_init()
1469 unsigned int key_index = ctx->cc_sector & (cc->tfms_count - 1); in crypt_alloc_req_skcipher()
2314 for (i = 0; i < cc->tfms_count; i++) in crypt_free_tfms_skcipher()
2338 cc->tfms_count); in crypt_alloc_tfms_skcipher()
2342 for (i = 0; i < cc->tfms_count; i++) { in crypt_alloc_tfms_skcipher()
2393 return (cc->key_size - cc->key_extra_size) >> ilog2(cc->tfms_count); in crypt_subkey_size()
2440 for (i = 0; i < cc->tfms_count; i++) { in crypt_setkey()
2904 cc->tfms_count = 1; in crypt_ctr_cipher_new()
2937 cc->tfms_count = 64; in crypt_ctr_cipher_new()
2953 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_new()
2993 cc->tfms_count = 1; in crypt_ctr_cipher_old()
2994 else if (sscanf(keycount, "%u%c", &cc->tfms_count, &dummy) != 1 || in crypt_ctr_cipher_old()
2995 !is_power_of_2(cc->tfms_count)) { in crypt_ctr_cipher_old()
2999 cc->key_parts = cc->tfms_count; in crypt_ctr_cipher_old()