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