/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | connect_ping.c | 32 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()
|
/kernel/linux/linux-5.10/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 85 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() 623 crypto4xx_hash_alg_init(struct crypto_tfm *tfm, unsigned int sa_len, unsigned char ha, unsigned char hm) crypto4xx_hash_alg_init() argument [all...] |
H A D | crypto4xx_core.h | 123 u32 sa_len; member 160 const unsigned int sa_len,
|
H A D | crypto4xx_core.c | 148 ctx->sa_len = size; in crypto4xx_alloc_sa() 159 ctx->sa_len = 0; in crypto4xx_free_sa() 684 const unsigned int sa_len, in crypto4xx_build_pd() 808 pd->sa_len = sa_len; in crypto4xx_build_pd() 820 memcpy(sa, req_sa, sa_len * 4); in crypto4xx_build_pd() 940 ctx->sa_len = 0; in crypto4xx_ctx_init() 677 crypto4xx_build_pd(struct crypto_async_request *req, struct crypto4xx_ctx *ctx, struct scatterlist *src, struct scatterlist *dst, const unsigned int datalen, const __le32 *iv, const u32 iv_len, const struct dynamic_sa_ctl *req_sa, const unsigned int sa_len, const unsigned int assoclen, struct scatterlist *_dst) crypto4xx_build_pd() argument
|
H A D | crypto4xx_reg_def.h | 278 u32 sa_len; /* only if dynamic sa is used */ member
|
/kernel/linux/linux-6.6/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 85 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() 623 crypto4xx_hash_alg_init(struct crypto_tfm *tfm, unsigned int sa_len, unsigned char ha, unsigned char hm) crypto4xx_hash_alg_init() argument [all...] |
H A D | crypto4xx_core.h | 123 u32 sa_len; member 160 const unsigned int sa_len,
|
H A D | crypto4xx_core.c | 148 ctx->sa_len = size; in crypto4xx_alloc_sa() 159 ctx->sa_len = 0; in crypto4xx_free_sa() 684 const unsigned int sa_len, in crypto4xx_build_pd() 808 pd->sa_len = sa_len; in crypto4xx_build_pd() 820 memcpy(sa, req_sa, sa_len * 4); in crypto4xx_build_pd() 940 ctx->sa_len = 0; in crypto4xx_ctx_init() 677 crypto4xx_build_pd(struct crypto_async_request *req, struct crypto4xx_ctx *ctx, struct scatterlist *src, struct scatterlist *dst, const unsigned int datalen, const __le32 *iv, const u32 iv_len, const struct dynamic_sa_ctl *req_sa, const unsigned int sa_len, const unsigned int assoclen, struct scatterlist *_dst) crypto4xx_build_pd() argument
|
H A D | crypto4xx_reg_def.h | 278 u32 sa_len; /* only if dynamic sa is used */ member
|
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/ |
H A D | sockets.h | 65 // For BSD 4.4 socket sa_len compatibility 68 #define sa_len sa_data[0] * 0 + SA_LEN(naddr, _) macro
|
/kernel/liteos_m/components/net/lwip-2.1/porting/include/lwip/ |
H A D | sockets.h | 65 // For BSD 4.4 socket sa_len compatibility 68 #define sa_len sa_data[0] * 0 + SA_LEN(naddr, _) macro
|
/kernel/uniproton/src/net/lwip-2.1/include/lwip/ |
H A D | sockets.h | 45 // For BSD 4.4 socket sa_len compatibility 48 #define sa_len sa_data[0] * 0 + SA_LEN(naddr, _) macro
|
/kernel/linux/linux-5.10/net/l2tp/ |
H A D | l2tp_ppp.c | 563 static int pppol2tp_sockaddr_get_info(const void *sa, int sa_len, in pppol2tp_sockaddr_get_info() argument 566 switch (sa_len) { in pppol2tp_sockaddr_get_info()
|
/kernel/linux/linux-6.6/net/l2tp/ |
H A D | l2tp_ppp.c | 562 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()
|