Searched refs:sk (Results 1 - 4 of 4) sorted by relevance

/crypto/
H A Dalgif_skcipher.c55 static inline int skcipher_sndbuf(struct sock *sk) argument
57 struct alg_sock *ask = alg_sk(sk);
60 return max_t(int, max_t(int, sk->sk_sndbuf & PAGE_MASK, PAGE_SIZE) -
64 static inline bool skcipher_writable(struct sock *sk) argument
66 return PAGE_SIZE <= skcipher_sndbuf(sk);
69 static int skcipher_alloc_sgl(struct sock *sk) argument
71 struct alg_sock *ask = alg_sk(sk);
81 sgl = sock_kmalloc(sk, sizeof(*sgl) +
99 static void skcipher_pull_sgl(struct sock *sk, int used) argument
101 struct alg_sock *ask = alg_sk(sk);
141 skcipher_free_sgl(struct sock *sk) argument
149 skcipher_wait_for_wmem(struct sock *sk, unsigned flags) argument
175 skcipher_wmem_wakeup(struct sock *sk) argument
192 skcipher_wait_for_data(struct sock *sk, unsigned flags) argument
223 skcipher_data_wakeup(struct sock *sk) argument
245 struct sock *sk = sock->sk; local
375 struct sock *sk = sock->sk; local
421 struct sock *sk = sock->sk; local
506 struct sock *sk = sock->sk; local
560 skcipher_sock_destruct(struct sock *sk) argument
572 skcipher_accept_parent(void *private, struct sock *sk) argument
[all...]
H A Dalgif_hash.c41 struct sock *sk = sock->sk; local
42 struct alg_sock *ask = alg_sk(sk);
49 if (limit > sk->sk_sndbuf)
50 limit = sk->sk_sndbuf;
52 lock_sock(sk);
104 release_sock(sk);
112 struct sock *sk = sock->sk; local
113 struct alg_sock *ask = alg_sk(sk);
153 struct sock *sk = sock->sk; local
186 struct sock *sk = sock->sk; local
255 hash_sock_destruct(struct sock *sk) argument
266 hash_accept_parent(void *private, struct sock *sk) argument
[all...]
H A Daf_alg.c121 if (sock->sk)
122 sock_put(sock->sk);
129 struct sock *sk = sock->sk; local
130 struct alg_sock *ask = alg_sk(sk);
159 lock_sock(sk);
164 release_sock(sk);
171 static int alg_setkey(struct sock *sk, char __user *ukey, argument
174 struct alg_sock *ask = alg_sk(sk);
179 key = sock_kmalloc(sk, keyle
198 struct sock *sk = sock->sk; local
225 af_alg_accept(struct sock *sk, struct socket *newsock) argument
299 alg_sock_destruct(struct sock *sk) argument
309 struct sock *sk; local
[all...]
H A Dtwofish_common.c508 ctx->s[2][i] = mds[2][q1[q0[(a) ^ sc] ^ sg] ^ sk]; \
516 ctx->s[2][i] = mds[2][q1[q0[q0[(a) ^ sc] ^ sg] ^ sk] ^ so]; \
594 u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; local
629 CALC_S (si, sj, sk, sl, 16, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */
630 CALC_S (si, sj, sk, sl, 17, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */
631 CALC_S (si, sj, sk, sl, 18, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */
632 CALC_S (si, sj, sk, sl, 19, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */
633 CALC_S (si, sj, sk, sl, 20, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */
634 CALC_S (si, sj, sk, sl, 21, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */
635 CALC_S (si, sj, sk, s
[all...]

Completed in 43 milliseconds