Searched refs:base_algo (Results 1 – 1 of 1) sorted by relevance
/external/iproute2/ip/ |
D | ipxfrm.c | 562 struct xfrm_algo *base_algo = alloca(sizeof(*base_algo) + algo->alg_key_len / 8); in xfrm_aead_print() local 564 memcpy(base_algo->alg_name, algo->alg_name, sizeof(base_algo->alg_name)); in xfrm_aead_print() 565 base_algo->alg_key_len = algo->alg_key_len; in xfrm_aead_print() 566 memcpy(base_algo->alg_key, algo->alg_key, algo->alg_key_len / 8); in xfrm_aead_print() 568 __xfrm_algo_print(base_algo, XFRMA_ALG_AEAD, len, fp, prefix, 0); in xfrm_aead_print() 578 struct xfrm_algo *base_algo = alloca(sizeof(*base_algo) + algo->alg_key_len / 8); in xfrm_auth_trunc_print() local 580 memcpy(base_algo->alg_name, algo->alg_name, sizeof(base_algo->alg_name)); in xfrm_auth_trunc_print() 581 base_algo->alg_key_len = algo->alg_key_len; in xfrm_auth_trunc_print() 582 memcpy(base_algo->alg_key, algo->alg_key, algo->alg_key_len / 8); in xfrm_auth_trunc_print() 584 __xfrm_algo_print(base_algo, XFRMA_ALG_AUTH_TRUNC, len, fp, prefix, 0); in xfrm_auth_trunc_print()
|