Searched refs:inlen (Results 1 - 25 of 134) sorted by relevance

123456

/freebsd-11-stable/crypto/openssl/crypto/aes/
H A Daes_wrap.c61 const unsigned char *in, unsigned int inlen)
63 return CRYPTO_128_wrap(key, iv, out, in, inlen, (block128_f) AES_encrypt);
68 const unsigned char *in, unsigned int inlen)
70 return CRYPTO_128_unwrap(key, iv, out, in, inlen,
59 AES_wrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen) argument
66 AES_unwrap_key(AES_KEY *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, unsigned int inlen) argument
/freebsd-11-stable/crypto/openssl/crypto/modes/
H A Dwrap128.c70 const unsigned char *in, size_t inlen,
75 if ((inlen & 0x7) || (inlen < 8) || (inlen > CRYPTO128_WRAP_MAX))
79 memmove(out + 8, in, inlen);
87 for (i = 0; i < inlen; i += 8, t++, R += 8) {
100 return inlen + 8;
105 const unsigned char *in, size_t inlen,
110 inlen -= 8;
111 if ((inlen
68 CRYPTO_128_wrap(void *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) argument
103 CRYPTO_128_unwrap(void *key, const unsigned char *iv, unsigned char *out, const unsigned char *in, size_t inlen, block128_f block) argument
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dhash.c30 int crypto_hash_sha512(unsigned char *out,const unsigned char *in,unsigned long long inlen) argument
35 unsigned long long bytes = inlen;
39 blocks(h,in,inlen);
40 in += inlen;
41 inlen &= 127;
42 in -= inlen;
44 for (i = 0;i < inlen;++i) padded[i] = in[i];
45 padded[inlen] = 0x80;
47 if (inlen < 112) {
48 for (i = inlen
[all...]
H A Dpoly1305.h16 void poly1305_auth(u_char out[POLY1305_TAGLEN], const u_char *m, size_t inlen,
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dtransobj.h33 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen,
35 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 *in, int inlen);
38 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen,
40 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 *in, int inlen);
43 int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen,
46 int mlx5_core_create_tis(struct mlx5_core_dev *dev, u32 *in, int inlen,
49 int inlen);
51 int mlx5_core_create_rmp(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rmpn);
52 int mlx5_core_modify_rmp(struct mlx5_core_dev *dev, u32 *in, int inlen);
56 int mlx5_core_create_xsrq(struct mlx5_core_dev *dev, u32 *in, int inlen, u3
[all...]
H A Dmlx5_transobj.c62 int mlx5_core_create_rq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqn) argument
69 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out));
76 int mlx5_core_modify_rq(struct mlx5_core_dev *dev, u32 *in, int inlen) argument
82 return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out));
107 int mlx5_core_create_sq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *sqn) argument
114 err = mlx5_cmd_exec(dev, in, inlen, out, sizeof(out));
121 int mlx5_core_modify_sq(struct mlx5_core_dev *dev, u32 *in, int inlen) argument
127 return mlx5_cmd_exec(dev, in, inlen, out, sizeof(out));
152 int mlx5_core_create_tir(struct mlx5_core_dev *dev, u32 *in, int inlen, argument
160 err = mlx5_cmd_exec(dev, in, inlen, ou
178 mlx5_core_create_tis(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *tisn) argument
193 mlx5_core_modify_tis(struct mlx5_core_dev *dev, u32 tisn, u32 *in, int inlen) argument
215 mlx5_core_create_rmp(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rmpn) argument
229 mlx5_core_modify_rmp(struct mlx5_core_dev *dev, u32 *in, int inlen) argument
289 mlx5_core_create_xsrq(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *xsrqn) argument
351 mlx5_core_create_rqt(struct mlx5_core_dev *dev, u32 *in, int inlen, u32 *rqtn) argument
366 mlx5_core_modify_rqt(struct mlx5_core_dev *dev, u32 rqtn, u32 *in, int inlen) argument
[all...]
H A Dmlx5_mad.c37 int inlen = MLX5_ST_SZ_BYTES(mad_ifc_in); local
44 in = kzalloc(inlen, GFP_KERNEL);
56 err = mlx5_cmd_exec(dev, in, inlen, out, outlen);
/freebsd-11-stable/contrib/smbfs/lib/smb/
H A Dnls.c109 size_t inlen, outlen; local
113 inlen = outlen = strlen(src);
115 while (iconv(nls_toloc, &src, &inlen, &p, &outlen) == -1) {
117 inlen--;
132 size_t inlen, outlen; local
136 inlen = outlen = strlen(src);
138 while (iconv(nls_toext, &src, &inlen, &p, &outlen) == -1) {
140 inlen--;
156 size_t inlen, outlen; local
163 inlen
182 size_t inlen, outlen; local
[all...]
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dsha384_i.h20 unsigned long inlen);
H A Dcrypto_internal-rsa.c73 const u8 *in, size_t inlen,
77 0, in, inlen, out, outlen);
82 const u8 *in, size_t inlen,
86 in, inlen, out, outlen);
91 const u8 *in, size_t inlen,
95 1, in, inlen, out, outlen);
72 crypto_public_key_encrypt_pkcs1_v15(struct crypto_public_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
81 crypto_private_key_decrypt_pkcs1_v15(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
90 crypto_private_key_sign_pkcs1(struct crypto_private_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
H A Dsha256_i.h22 unsigned long inlen);
H A Dsha512_i.h22 unsigned long inlen);
H A Dsha384-internal.c67 unsigned long inlen)
69 return sha512_process(md, in, inlen);
66 sha384_process(struct sha384_state *md, const unsigned char *in, unsigned long inlen) argument
/freebsd-11-stable/contrib/wpa/src/tls/
H A Dpkcs1.h16 int use_private, const u8 *in, size_t inlen,
19 const u8 *in, size_t inlen,
H A Drsa.h22 int crypto_rsa_exptmod(const u8 *in, size_t inlen, u8 *out, size_t *outlen,
H A Dpkcs1.c19 const u8 *in, size_t inlen,
35 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) {
37 "lengths (modlen=%lu outlen=%lu inlen=%lu)",
40 (unsigned long) inlen);
47 ps_len = modlen - inlen - 3;
75 os_memcpy(pos, in, inlen); /* D */
82 int use_private, const u8 *in, size_t inlen,
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
98 const u8 *in, size_t inlen,
104 res = crypto_rsa_exptmod(in, inlen, ou
18 pkcs1_generate_encryption_block(u8 block_type, size_t modlen, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
81 pkcs1_encrypt(int block_type, struct crypto_rsa_key *key, int use_private, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
97 pkcs1_v15_private_key_decrypt(struct crypto_rsa_key *key, const u8 *in, size_t inlen, u8 *out, size_t *outlen) argument
[all...]
/freebsd-11-stable/contrib/apr-util/test/
H A Dtestcrypto.c277 const apr_size_t inlen, unsigned char **cipherText,
326 rv = apr_crypto_block_encrypt(cipherText, cipherTextLen, in, inlen, block);
463 const unsigned char *in, apr_size_t inlen, apr_size_t secretLen,
489 cipherText = encrypt_block(tc, pool, driver1, f1, key1, in, inlen,
496 if (memcmp(in, plainText, inlen)) {
511 cipherText = encrypt_block(tc, pool, driver1, f1, key3, in, inlen,
518 if (memcmp(in, plainText, inlen)) {
533 cipherText = encrypt_block(tc, pool, driver1, f1, key5, in, inlen,
540 if (memcmp(in, plainText, inlen)) {
633 apr_size_t inlen local
274 encrypt_block(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t *driver, const apr_crypto_t *f, const apr_crypto_key_t *key, const unsigned char *in, const apr_size_t inlen, unsigned char **cipherText, apr_size_t *cipherTextLen, const unsigned char **iv, apr_size_t *blockSize, const char *description) argument
459 crypto_block_cross(abts_case *tc, apr_pool_t *pool, const apr_crypto_driver_t **drivers, const apr_crypto_block_key_type_e type, const apr_crypto_block_key_mode_e mode, int doPad, const unsigned char *in, apr_size_t inlen, apr_size_t secretLen, const char *description) argument
667 apr_size_t inlen = sizeof(ALIGNED_STRING); local
701 apr_size_t inlen = sizeof(ALIGNED_STRING); local
735 apr_size_t inlen = sizeof(ALIGNED_STRING); local
771 apr_size_t inlen = sizeof(ALIGNED_STRING); local
808 apr_size_t inlen = sizeof(ALIGNED_STRING); local
844 apr_size_t inlen = sizeof(ALIGNED_STRING); local
879 apr_size_t inlen = sizeof(TEST_STRING); local
916 apr_size_t inlen = sizeof(TEST_STRING); local
958 apr_size_t inlen = sizeof(TEST_STRING); local
994 apr_size_t inlen = sizeof(TEST_STRING); local
1039 apr_size_t inlen = sizeof(TEST_STRING); local
1085 apr_size_t inlen = sizeof(TEST_STRING); local
1123 apr_size_t inlen = sizeof(TEST_STRING); local
[all...]
/freebsd-11-stable/crypto/openssl/crypto/ecdh/
H A Dech_key.c74 void *(*KDF) (const void *in, size_t inlen, void *out,
72 ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, EC_KEY *eckey, void *(*KDF) (const void *in, size_t inlen, void *out, size_t *outlen)) argument
H A Dech_locl.h69 size_t inlen, void *out,
/freebsd-11-stable/crypto/openssl/crypto/pkcs12/
H A Dp12_decr.c75 int passlen, unsigned char *in, int inlen,
91 if (!(out = OPENSSL_malloc(inlen + EVP_CIPHER_CTX_block_size(&ctx)))) {
96 if (!EVP_CipherUpdate(&ctx, out, &i, in, inlen)) {
176 int inlen; local
181 inlen = ASN1_item_i2d(obj, &in, it);
186 if (!PKCS12_pbe_crypt(algor, pass, passlen, in, inlen, &oct->data,
193 OPENSSL_cleanse(in, inlen);
74 PKCS12_pbe_crypt(X509_ALGOR *algor, const char *pass, int passlen, unsigned char *in, int inlen, unsigned char **data, int *datalen, int en_de) argument
/freebsd-11-stable/crypto/openssl/crypto/cms/
H A Dcms_pwri.c222 const unsigned char *in, size_t inlen,
228 if (inlen < 2 * blocklen) {
232 if (inlen % blocklen) {
236 tmp = OPENSSL_malloc(inlen);
240 EVP_DecryptUpdate(ctx, tmp + inlen - 2 * blocklen, &outl,
241 in + inlen - 2 * blocklen, blocklen * 2);
247 EVP_DecryptUpdate(ctx, tmp, &outl, tmp + inlen - blocklen, blocklen);
249 EVP_DecryptUpdate(ctx, tmp, &outl, in, inlen - blocklen);
254 EVP_DecryptUpdate(ctx, tmp, &outl, tmp, inlen);
260 if (inlen < (size_
221 kek_unwrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx) argument
274 kek_wrap_key(unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen, EVP_CIPHER_CTX *ctx) argument
[all...]
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_blake2.h148 int blake2s_update( blake2s_state *S, const void *in, size_t inlen );
154 int blake2b_update( blake2b_state *S, const void *in, size_t inlen );
159 int blake2sp_update( blake2sp_state *S, const void *in, size_t inlen );
164 int blake2bp_update( blake2bp_state *S, const void *in, size_t inlen );
170 int blake2xs_update( blake2xs_state *S, const void *in, size_t inlen );
175 int blake2xb_update( blake2xb_state *S, const void *in, size_t inlen );
179 int blake2s( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
180 int blake2b( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
182 int blake2sp( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen );
183 int blake2bp( void *out, size_t outlen, const void *in, size_t inlen, cons
[all...]
H A Darchive_blake2s_ref.c214 int blake2s_update( blake2s_state *S, const void *pin, size_t inlen )
217 if( inlen > 0 )
221 if( inlen > fill )
227 in += fill; inlen -= fill;
228 while(inlen > BLAKE2S_BLOCKBYTES) {
232 inlen -= BLAKE2S_BLOCKBYTES;
235 memcpy( S->buf + S->buflen, in, inlen );
236 S->buflen += inlen;
265 int blake2s( void *out, size_t outlen, const void *in, size_t inlen, const void *key, size_t keylen ) argument
270 if ( NULL == in && inlen >
[all...]
/freebsd-11-stable/sys/libkern/
H A Diconv_ucs.c173 size_t in, on, ir, or, inlen, outlen, ucslen; local
196 inlen = 0;
197 code = utf8_to_ucs4(p, &inlen, ir);
216 if (inlen == 4) {
236 inlen = ir;
238 ret = iconv_convchr_case(dp->f_ctp, &p, &inlen, (char **)&q,
242 inlen = ir - inlen;
259 inlen = ucslen = 4;
266 inlen
[all...]
/freebsd-11-stable/sys/dev/hptmv/
H A Daccess601.h45 int HPTLIBAPI sx508x_ioctl(MV_SATA_ADAPTER *pSataAdapter, UCHAR *indata, ULONG inlen,
57 #define sx508x_ioctl(pSataAdapter, indata, inlen, outdata, maxoutlen, poutlen) 0

Completed in 153 milliseconds

123456