Lines Matching full:cipher
456 * TODO: Performance: Keep a cache of initialized cipher contexts;
465 "Initializing cipher [%s]; strlen = [%d]; " in ecryptfs_init_crypt_ctx()
467 crypt_stat->cipher, (int)strlen(crypt_stat->cipher), in ecryptfs_init_crypt_ctx()
475 crypt_stat->cipher, "cbc"); in ecryptfs_init_crypt_ctx()
483 "Error initializing cipher [%s]\n", in ecryptfs_init_crypt_ctx()
635 strscpy(crypt_stat->cipher, ECRYPTFS_DEFAULT_CIPHER); in ecryptfs_set_default_crypt_stat_vals()
649 * - What cipher to use?
681 strscpy(crypt_stat->cipher, in ecryptfs_new_file_context()
689 "context for cipher [%s]: rc = [%d]\n", in ecryptfs_new_file_context()
690 crypt_stat->cipher, rc); in ecryptfs_new_file_context()
810 * @cipher_name: The string alias for the cipher
813 * Returns zero on no match, or the cipher code on match
845 * @str: Destination to write out the cipher name
847 * @cipher_code: The code to convert to cipher name string
862 ecryptfs_printk(KERN_WARNING, "Cipher code not recognized: " in ecryptfs_cipher_code_to_string()
1415 * ecryptfs_process_key_cipher - Perform key cipher initialization.
1417 * @cipher_name: Name of the cipher
1446 printk(KERN_ERR "Unable to allocate crypto cipher with name " in ecryptfs_process_key_cipher()
1457 "cipher [%s]; rc = [%d]\n", *key_size, full_alg_name, in ecryptfs_process_key_cipher()
1521 "cipher with name = [%s]; rc = [%d]\n", in ecryptfs_add_new_key_tfm()
1535 * @cipher_name: the name of the cipher to search for
1566 * @cipher_name: the name of the cipher to search for and/or add
1570 * Returns 0 on success, non-zero if adding new cipher failed
1752 * ecryptfs_encrypt_and_encode_filename - converts a plaintext file name to cipher text
1855 * ecryptfs_decode_and_decrypt_filename - converts the encoded cipher text name to decoded plaintext
1859 * @name: The filename in cipher text
1860 * @name_size: The cipher text name size