Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-crypto.c41 static int cfs_crypto_hash_alloc(unsigned char alg_id, in cfs_crypto_hash_alloc() argument
48 *type = cfs_crypto_hash_type(alg_id); in cfs_crypto_hash_alloc()
52 alg_id, CFS_HASH_ALG_MAX); in cfs_crypto_hash_alloc()
90 cfs_crypto_hash_speeds[alg_id]); in cfs_crypto_hash_alloc()
95 int cfs_crypto_hash_digest(unsigned char alg_id, in cfs_crypto_hash_digest() argument
108 err = cfs_crypto_hash_alloc(alg_id, &type, &hdesc, key, key_len); in cfs_crypto_hash_digest()
128 cfs_crypto_hash_init(unsigned char alg_id, in cfs_crypto_hash_init() argument
140 err = cfs_crypto_hash_alloc(alg_id, &type, hdesc, key, key_len); in cfs_crypto_hash_init()
202 static void cfs_crypto_performance_test(unsigned char alg_id, in cfs_crypto_performance_test() argument
214 err = cfs_crypto_hash_digest(alg_id, buf, buf_len, NULL, 0, in cfs_crypto_performance_test()
[all …]
/linux-4.1.27/net/xfrm/
Dxfrm_algo.c649 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id) in xfrm_aalg_get_byid() argument
652 (void *)(unsigned long)alg_id, 1); in xfrm_aalg_get_byid()
656 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id) in xfrm_ealg_get_byid() argument
659 (void *)(unsigned long)alg_id, 1); in xfrm_ealg_get_byid()
663 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id) in xfrm_calg_get_byid() argument
666 (void *)(unsigned long)alg_id, 1); in xfrm_calg_get_byid()
/linux-4.1.27/include/net/
Dxfrm.h1626 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id);
1627 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id);
1628 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id);