Lines Matching refs:cipher
769 * TODO: Performance: Keep a cache of initialized cipher contexts;
777 if (!crypt_stat->cipher) {
778 ecryptfs_printk(KERN_ERR, "No cipher specified\n");
782 "Initializing cipher [%s]; strlen = [%d]; "
784 crypt_stat->cipher, (int)strlen(crypt_stat->cipher),
792 crypt_stat->cipher, "cbc");
802 "Error initializing cipher [%s]\n",
803 crypt_stat->cipher);
964 strcpy(crypt_stat->cipher, ECRYPTFS_DEFAULT_CIPHER);
978 * - What cipher to use?
1013 memcpy(crypt_stat->cipher,
1016 crypt_stat->cipher[cipher_name_len] = '\0';
1023 "context for cipher [%s]: rc = [%d]\n",
1024 crypt_stat->cipher, rc);
1150 * @cipher_name: The string alias for the cipher
1153 * Returns zero on no match, or the cipher code on match
1185 * @str: Destination to write out the cipher name
1186 * @cipher_code: The code to convert to cipher name string
1737 * ecryptfs_process_key_cipher - Perform key cipher initialization.
1739 * @cipher_name: Name of the cipher
1768 printk(KERN_ERR "Unable to allocate crypto cipher with name "
1782 "cipher [%s]; rc = [%d]\n", *key_size, full_alg_name,
1852 "cipher with name = [%s]; rc = [%d]\n",
1866 * @cipher_name: the name of the cipher to search for
1897 * @cipher_name: the name of the cipher to search for and/or add
1901 * Returns 0 on success, non-zero if adding new cipher failed
2079 * ecryptfs_encrypt_and_encode_filename - converts a plaintext file name to cipher text
2195 * ecryptfs_decode_and_decrypt_filename - converts the encoded cipher text name to decoded plaintext
2199 * @name: The filename in cipher text
2200 * @name_size: The cipher text name size