Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dconnect_ping.c32 socklen_t sa_len; in subtest() local
39 sa_len = sizeof(sa4); in subtest()
44 sa_len = sizeof(sa6); in subtest()
56 if (!ASSERT_OK(connect(sock_fd, sa, sa_len), "connect")) in subtest()
68 if (!ASSERT_OK(getsockname(sock_fd, sa, &sa_len), in subtest()
/Linux-v6.1/drivers/crypto/amcc/
Dcrypto4xx_alg.c85 ctx->sa_len, 0, NULL); in crypto4xx_crypt()
165 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes()
234 ctx->sa_out, ctx->sa_len, 0, NULL); in crypto4xx_rfc3686_encrypt()
249 ctx->sa_out, ctx->sa_len, 0, NULL); in crypto4xx_rfc3686_decrypt()
421 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_ccm()
457 memcpy(tmp_sa, decrypt ? ctx->sa_in : ctx->sa_out, ctx->sa_len * 4); in crypto4xx_crypt_aes_ccm()
470 sa, ctx->sa_len, req->assoclen, rctx->dst); in crypto4xx_crypt_aes_ccm()
576 memcpy(ctx->sa_out, ctx->sa_in, ctx->sa_len * 4); in crypto4xx_setkey_aes_gcm()
607 ctx->sa_len, req->assoclen, rctx->dst); in crypto4xx_crypt_aes_gcm()
624 unsigned int sa_len, in crypto4xx_hash_alg_init() argument
[all …]
Dcrypto4xx_core.h123 u32 sa_len; member
160 const unsigned int sa_len,
Dcrypto4xx_core.c148 ctx->sa_len = size; in crypto4xx_alloc_sa()
159 ctx->sa_len = 0; in crypto4xx_free_sa()
686 const unsigned int sa_len, in crypto4xx_build_pd() argument
810 pd->sa_len = sa_len; in crypto4xx_build_pd()
822 memcpy(sa, req_sa, sa_len * 4); in crypto4xx_build_pd()
942 ctx->sa_len = 0; in crypto4xx_ctx_init()
Dcrypto4xx_reg_def.h278 u32 sa_len; /* only if dynamic sa is used */ member
/Linux-v6.1/net/l2tp/
Dl2tp_ppp.c562 static int pppol2tp_sockaddr_get_info(const void *sa, int sa_len, in pppol2tp_sockaddr_get_info() argument
565 switch (sa_len) { in pppol2tp_sockaddr_get_info()