Home
last modified time | relevance | path

Searched refs:sa_len (Results 1 - 14 of 14) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A 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()
/kernel/linux/linux-5.10/drivers/crypto/amcc/
H A 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()
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 Dcrypto4xx_core.h123 u32 sa_len; member
160 const unsigned int sa_len,
H A Dcrypto4xx_core.c148 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 Dcrypto4xx_reg_def.h278 u32 sa_len; /* only if dynamic sa is used */ member
/kernel/linux/linux-6.6/drivers/crypto/amcc/
H A 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()
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 Dcrypto4xx_core.h123 u32 sa_len; member
160 const unsigned int sa_len,
H A Dcrypto4xx_core.c148 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 Dcrypto4xx_reg_def.h278 u32 sa_len; /* only if dynamic sa is used */ member
/kernel/liteos_a/net/lwip-2.1/porting/include/lwip/
H A Dsockets.h65 // 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 Dsockets.h65 // 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 Dsockets.h45 // 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 Dl2tp_ppp.c563 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 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()

Completed in 15 milliseconds