Searched refs:alg_id (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-crypto.c | 39 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 …]
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_algo.c | 677 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id) in xfrm_aalg_get_byid() argument 680 (void *)(unsigned long)alg_id, 1); in xfrm_aalg_get_byid() 684 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id) in xfrm_ealg_get_byid() argument 687 (void *)(unsigned long)alg_id, 1); in xfrm_ealg_get_byid() 691 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id) in xfrm_calg_get_byid() argument 694 (void *)(unsigned long)alg_id, 1); in xfrm_calg_get_byid()
|
/linux-4.4.14/include/net/ |
D | xfrm.h | 1637 struct xfrm_algo_desc *xfrm_aalg_get_byid(int alg_id); 1638 struct xfrm_algo_desc *xfrm_ealg_get_byid(int alg_id); 1639 struct xfrm_algo_desc *xfrm_calg_get_byid(int alg_id);
|