Home
last modified time | relevance | path

Searched refs:inlen (Results 1 – 25 of 61) sorted by relevance

123

/external/boringssl/
Dandroid_compat_keywrap.c65 const uint8_t *in, unsigned int inlen) { in AES_wrap_key() argument
68 if ((inlen & 0x7) || (inlen < 8)) return -1; in AES_wrap_key()
71 memcpy(out + 8, in, inlen); in AES_wrap_key()
78 for (i = 0; i < inlen; i += 8, t++, R += 8) { in AES_wrap_key()
91 return inlen + 8; in AES_wrap_key()
95 const uint8_t *in, unsigned int inlen) { in AES_unwrap_key() argument
98 inlen -= 8; in AES_unwrap_key()
99 if (inlen & 0x7) return -1; in AES_unwrap_key()
100 if (inlen < 8) return -1; in AES_unwrap_key()
102 t = 6 * (inlen >> 3); in AES_unwrap_key()
[all …]
/external/libxml2/
Dencoding.c174 const unsigned char* in, int *inlen) { in asciiToUTF8() argument
182 inend = in + (*inlen); in asciiToUTF8()
192 *inlen = processed - base; in asciiToUTF8()
199 *inlen = processed - base; in asciiToUTF8()
221 const unsigned char* in, int *inlen) { in UTF8Toascii() argument
230 if ((out == NULL) || (outlen == NULL) || (inlen == NULL)) return(-1); in UTF8Toascii()
236 *inlen = 0; in UTF8Toascii()
239 inend = in + (*inlen); in UTF8Toascii()
247 *inlen = processed - instart; in UTF8Toascii()
255 *inlen = processed - instart; in UTF8Toascii()
[all …]
/external/protobuf/src/google/protobuf/testing/
Dzcgunzip.cc60 int inlen; in main() local
62 ok = in.Next(&inptr, &inlen); in main()
66 if (inlen > 0) { in main()
67 int err = write(STDOUT_FILENO, inptr, inlen); in main()
68 assert(err == inlen); in main()
/external/wpa_supplicant_8/src/crypto/
Dcrypto_internal-rsa.c73 const u8 *in, size_t inlen, in crypto_public_key_encrypt_pkcs1_v15() argument
77 0, in, inlen, out, outlen); in crypto_public_key_encrypt_pkcs1_v15()
82 const u8 *in, size_t inlen, in crypto_private_key_decrypt_pkcs1_v15() argument
86 in, inlen, out, outlen); in crypto_private_key_decrypt_pkcs1_v15()
91 const u8 *in, size_t inlen, in crypto_private_key_sign_pkcs1() argument
95 1, in, inlen, out, outlen); in crypto_private_key_sign_pkcs1()
Dsha256-internal.c149 unsigned long inlen) in sha256_process() argument
156 while (inlen > 0) { in sha256_process()
157 if (md->curlen == 0 && inlen >= SHA256_BLOCK_SIZE) { in sha256_process()
162 inlen -= SHA256_BLOCK_SIZE; in sha256_process()
164 n = MIN(inlen, (SHA256_BLOCK_SIZE - md->curlen)); in sha256_process()
168 inlen -= n; in sha256_process()
Dsha512-internal.c181 unsigned long inlen) in sha512_process() argument
188 while (inlen > 0) { in sha512_process()
189 if (md->curlen == 0 && inlen >= SHA512_BLOCK_SIZE) { in sha512_process()
194 inlen -= SHA512_BLOCK_SIZE; in sha512_process()
196 n = MIN(inlen, (SHA512_BLOCK_SIZE - md->curlen)); in sha512_process()
200 inlen -= n; in sha512_process()
Dcrypto_libtomcrypt.c487 const u8 *in, size_t inlen, in pkcs1_generate_encryption_block() argument
503 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { in pkcs1_generate_encryption_block()
508 (unsigned long) inlen); in pkcs1_generate_encryption_block()
515 ps_len = modlen - inlen - 3; in pkcs1_generate_encryption_block()
543 os_memcpy(pos, in, inlen); /* D */ in pkcs1_generate_encryption_block()
550 const u8 *in, size_t inlen, in crypto_rsa_encrypt_pkcs1() argument
558 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in crypto_rsa_encrypt_pkcs1()
576 const u8 *in, size_t inlen, in crypto_public_key_encrypt_pkcs1_v15() argument
579 return crypto_rsa_encrypt_pkcs1(2, &key->rsa, PK_PUBLIC, in, inlen, in crypto_public_key_encrypt_pkcs1_v15()
585 const u8 *in, size_t inlen, in crypto_private_key_sign_pkcs1() argument
[all …]
Dsha384-internal.c67 unsigned long inlen) in sha384_process() argument
69 return sha512_process(md, in, inlen); in sha384_process()
Dcrypto.h347 struct crypto_public_key *key, const u8 *in, size_t inlen,
364 struct crypto_private_key *key, const u8 *in, size_t inlen,
381 const u8 *in, size_t inlen,
/external/wpa_supplicant_8/src/tls/
Dpkcs1.c19 const u8 *in, size_t inlen, in pkcs1_generate_encryption_block() argument
35 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) { in pkcs1_generate_encryption_block()
40 (unsigned long) inlen); in pkcs1_generate_encryption_block()
47 ps_len = modlen - inlen - 3; in pkcs1_generate_encryption_block()
75 os_memcpy(pos, in, inlen); /* D */ in pkcs1_generate_encryption_block()
82 int use_private, const u8 *in, size_t inlen, in pkcs1_encrypt() argument
89 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen, in pkcs1_encrypt()
98 const u8 *in, size_t inlen, in pkcs1_v15_private_key_decrypt() argument
104 res = crypto_rsa_exptmod(in, inlen, out, outlen, key, 1); in pkcs1_v15_private_key_decrypt()
Dpkcs1.h16 int use_private, const u8 *in, size_t inlen,
19 const u8 *in, size_t inlen,
/external/boringssl/src/crypto/chacha/
Dchacha_vec.c155 size_t inlen, in CRYPTO_chacha_20_neon() argument
182 for (iters = 0; iters < inlen/(BPI*64); iters++) in CRYPTO_chacha_20_neon()
273 for (iters = inlen%(BPI*64)/64; iters != 0; iters--) in CRYPTO_chacha_20_neon()
286 inlen = inlen % 64; in CRYPTO_chacha_20_neon()
287 if (inlen) in CRYPTO_chacha_20_neon()
297 if (inlen >= 16) in CRYPTO_chacha_20_neon()
300 if (inlen >= 32) in CRYPTO_chacha_20_neon()
303 if (inlen >= 48) in CRYPTO_chacha_20_neon()
318 for (i=inlen & ~15; i<inlen; i++) in CRYPTO_chacha_20_neon()
/external/libxml2/include/libxml/
Dencoding.h102 const unsigned char *in, int *inlen);
124 const unsigned char *in, int *inlen);
229 int *inlen);
235 int *inlen);
/external/curl/lib/
Ddotdot.c52 size_t inlen = strlen(input); in Curl_dedotdotify() local
54 size_t clen = inlen; /* the length of the cloned input */ in Curl_dedotdotify()
55 char *out = malloc(inlen+1); in Curl_dedotdotify()
/external/curl/tests/unit/
Dunit1396.c39 int inlen; member
83 list1[i].in, list1[i].inlen,
98 char *out = curl_easy_escape(hnd, list2[i].in, list2[i].inlen);
/external/ppp/pppd/plugins/radius/
Dmd5.c6 void rc_md5_calc (unsigned char *output, unsigned char *input, unsigned int inlen) in rc_md5_calc() argument
11 MD5_Update (&context, input, inlen); in rc_md5_calc()
/external/boringssl/src/crypto/asn1/
Dtasn_utl.c154 int asn1_enc_save(ASN1_VALUE **pval, const unsigned char *in, int inlen, in asn1_enc_save() argument
165 enc->enc = OPENSSL_malloc(inlen); in asn1_enc_save()
169 memcpy(enc->enc, in, inlen); in asn1_enc_save()
170 enc->len = inlen; in asn1_enc_save()
Da_strnid.c122 int inlen, int inform, int nid) in ASN1_STRING_set_by_NID() argument
133 ret = ASN1_mbstring_ncopy(out, in, inlen, inform, mask, in ASN1_STRING_set_by_NID()
135 } else ret = ASN1_mbstring_copy(out, in, inlen, inform, DIRSTRING_TYPE & global_mask); in ASN1_STRING_set_by_NID()
/external/zlib/src/contrib/puff/
Dpuff.c106 unsigned long inlen; /* available input at in */ member
133 if (s->incnt == s->inlen) in bits()
173 if (s->incnt + 4 > s->inlen) in stored()
182 if (s->incnt + len > s->inlen) in stored()
298 if (s->incnt == s->inlen) in decode()
809 s.inlen = *sourcelen; in puff()
/external/squashfs-tools/squashfs-tools/
Dlzma_wrapper.c86 size_t outlen, inlen = size - LZMA_HEADER_SIZE; in lzma_uncompress() local
99 res = LzmaUncompress(dest, &outlen, src + LZMA_HEADER_SIZE, &inlen, src, in lzma_uncompress()
/external/boringssl/src/crypto/evp/
Dp_rsa.c260 const uint8_t *in, size_t inlen) { in pkey_rsa_encrypt() argument
277 !RSA_padding_add_PKCS1_OAEP_mgf1(rctx->tbuf, key_len, in, inlen, in pkey_rsa_encrypt()
287 return RSA_encrypt(rsa, outlen, out, *outlen, in, inlen, rctx->pad_mode); in pkey_rsa_encrypt()
292 size_t inlen) { in pkey_rsa_decrypt() argument
312 !RSA_decrypt(rsa, &plaintext_len, rctx->tbuf, key_len, in, inlen, in pkey_rsa_decrypt()
327 return RSA_decrypt(rsa, outlen, out, key_len, in, inlen, rctx->pad_mode); in pkey_rsa_decrypt()
Devp_ctx.c304 const uint8_t *in, size_t inlen) { in EVP_PKEY_encrypt() argument
313 return ctx->pmeth->encrypt(ctx, out, outlen, in, inlen); in EVP_PKEY_encrypt()
333 const uint8_t *in, size_t inlen) { in EVP_PKEY_decrypt() argument
342 return ctx->pmeth->decrypt(ctx, out, outlen, in, inlen); in EVP_PKEY_decrypt()
/external/ppp/pppd/
Deap.c115 static void eap_input __P((int unit, u_char *inp, int inlen));
119 static int eap_printpkt __P((u_char *inp, int inlen,
345 b64enc(bs, inp, inlen, outp) in b64enc() argument
348 int inlen;
353 while (inlen > 0) {
355 inlen--;
393 b64dec(bs, inp, inlen, outp) in b64dec() argument
396 int inlen;
402 while (inlen > 0) {
406 inlen--;
[all …]
/external/libxml2/os400/libxmlrpg/
Dencoding.rpgle100 * @inlen: the length of @in
107 * The value of @inlen after return is the number of octets consumed
119 * @inlen: the length of @in
128 * The value of @inlen after return is the number of octets consumed
264 d inlen 10i 0
272 d inlen 10i 0
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
Dlzo.h60 int av_lzo1x_decode(void *out, int *outlen, const void *in, int *inlen);

123