Esempio n. 1
0
void __init crypto_init_proc(void)
{
	struct proc_dir_entry *proc;
	
	proc = create_proc_entry("crypto", 0, NULL);
	if (proc)
		proc->proc_fops = &proc_crypto_ops;
	crypto_proc_fips_init();
}
Esempio n. 2
0
void __init crypto_init_proc(void)
{
	proc_create("crypto", 0, NULL, &proc_crypto_ops);
	crypto_proc_fips_init();
}
void crypto_init_proc(int *fips_error)
{
	proc_create("crypto", 0, NULL, &proc_crypto_ops);
	crypto_sysctl_table[0].data = fips_error;
	crypto_proc_fips_init();
}