Home
last modified time | relevance | path

Searched refs:alg_id (Results 1 – 1 of 1) sorted by relevance

/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c39 static int cfs_crypto_hash_alloc(unsigned char alg_id, in cfs_crypto_hash_alloc() argument
46 *type = cfs_crypto_hash_type(alg_id); in cfs_crypto_hash_alloc()
50 alg_id, CFS_HASH_ALG_MAX); in cfs_crypto_hash_alloc()
87 cfs_crypto_hash_speeds[alg_id]); in cfs_crypto_hash_alloc()
92 int cfs_crypto_hash_digest(unsigned char alg_id, in cfs_crypto_hash_digest() argument
105 err = cfs_crypto_hash_alloc(alg_id, &type, &hdesc, key, key_len); in cfs_crypto_hash_digest()
125 cfs_crypto_hash_init(unsigned char alg_id, in cfs_crypto_hash_init() argument
137 err = cfs_crypto_hash_alloc(alg_id, &type, hdesc, key, key_len); in cfs_crypto_hash_init()
199 static void cfs_crypto_performance_test(unsigned char alg_id, in cfs_crypto_performance_test() argument
211 err = cfs_crypto_hash_digest(alg_id, buf, buf_len, NULL, 0, in cfs_crypto_performance_test()
[all …]