Home
last modified time | relevance | path

Searched refs:in_len (Results 1 – 4 of 4) sorted by relevance

/net/ceph/
A Dcrypto.c208 void *buf, int buf_len, int in_len, int *pout_len) in ceph_aes_crypt() argument
214 int pad_byte = AES_BLOCK_SIZE - (in_len & (AES_BLOCK_SIZE - 1)); in ceph_aes_crypt()
215 int crypt_len = encrypt ? in_len + pad_byte : in_len; in ceph_aes_crypt()
220 memset(buf + in_len, pad_byte, pad_byte); in ceph_aes_crypt()
254 pad_byte = *(char *)(buf + in_len - 1); in ceph_aes_crypt()
256 in_len >= pad_byte) { in ceph_aes_crypt()
257 *pout_len = in_len - pad_byte; in ceph_aes_crypt()
260 __func__, pad_byte, in_len); in ceph_aes_crypt()
272 void *buf, int buf_len, int in_len, int *pout_len) in ceph_crypt() argument
276 *pout_len = in_len; in ceph_crypt()
[all …]
A Dcrypto.h30 void *buf, int buf_len, int in_len, int *pout_len);
/net/tls/
A Dtls_device_fallback.c44 struct scatter_walk *out, int *in_len, in tls_enc_record() argument
59 len = min_t(int, *in_len, buf_size); in tls_enc_record()
64 *in_len -= len; in tls_enc_record()
65 if (!*in_len) in tls_enc_record()
82 *in_len -= len; in tls_enc_record()
83 if (*in_len < 0) { in tls_enc_record()
84 *in_len += cipher_desc->tag; in tls_enc_record()
92 if (*in_len < 0) in tls_enc_record()
93 len += *in_len; in tls_enc_record()
95 *in_len = 0; in tls_enc_record()
[all …]
A Dtls_strp.c212 size_t in_len) in tls_strp_copyin_frag() argument
220 len = in_len; in tls_strp_copyin_frag()
277 return in_len - len; in tls_strp_copyin_frag()
282 size_t in_len) in tls_strp_copyin_skb() argument
293 chunk = min(chunk, in_len); in tls_strp_copyin_skb()
337 unsigned int offset, size_t in_len) in tls_strp_copyin() argument
353 ret = tls_strp_copyin_skb(strp, skb, in_skb, offset, in_len); in tls_strp_copyin()
355 ret = tls_strp_copyin_frag(strp, skb, in_skb, offset, in_len); in tls_strp_copyin()

Completed in 10 milliseconds