Searched defs:outlen (Results 1 - 25 of 105) sorted by relevance

12345

/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/
H A Dzcgzip.cc60 int outlen; local
63 ok = out.Next(&outptr, &outlen);
67 } while (outlen <= 0);
68 readlen = read(STDIN_FILENO, outptr, outlen);
70 out.BackUp(outlen);
73 if (readlen < outlen) {
74 out.BackUp(outlen - readlen);
/external/protobuf/src/google/protobuf/testing/
H A Dzcgzip.cc60 int outlen; local
63 ok = out.Next(&outptr, &outlen);
67 } while (outlen <= 0);
68 readlen = read(STDIN_FILENO, outptr, outlen);
70 out.BackUp(outlen);
73 if (readlen < outlen) {
74 out.BackUp(outlen - readlen);
/external/openssl/crypto/ecdh/
H A Dech_key.c72 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument
74 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
79 return ecdh->meth->compute_key(out, outlen, pub_key, eckey, KDF);
H A Dech_ossl.c84 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen));
108 static int ecdh_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument
110 void *(*KDF)(const void *in, size_t inlen, void *out, size_t *outlen))
121 if (outlen > INT_MAX)
193 if (KDF(buf, buflen, out, &outlen) == NULL)
198 ret = outlen;
203 if (outlen > buflen)
204 outlen = buflen;
205 memcpy(out, buf, outlen);
206 ret = outlen;
[all...]
H A Decdhtest.c109 static void *KDF1_SHA1(const void *in, size_t inlen, void *out, size_t *outlen) argument
112 if (*outlen < SHA_DIGEST_LENGTH)
115 *outlen = SHA_DIGEST_LENGTH;
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dsha256-tlsprf.c23 * @outlen: Number of bytes of key to generate
30 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
56 while (pos < outlen) {
60 clen = outlen - pos;
29 tls_prf_sha256(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
H A Dcrypto_internal-rsa.c74 u8 *out, size_t *outlen)
77 0, in, inlen, out, outlen);
83 u8 *out, size_t *outlen)
86 in, inlen, out, outlen);
92 u8 *out, size_t *outlen)
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 Dsha1-tlsprf.c24 * @outlen: Number of bytes of key to generate
31 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
79 for (i = 0; i < outlen; i++) {
30 tls_prf_sha1_md5(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
/external/wpa_supplicant_8/src/crypto/
H A Dsha256-tlsprf.c23 * @outlen: Number of bytes of key to generate
30 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
56 while (pos < outlen) {
60 clen = outlen - pos;
29 tls_prf_sha256(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
H A Dcrypto_internal-rsa.c74 u8 *out, size_t *outlen)
77 0, in, inlen, out, outlen);
83 u8 *out, size_t *outlen)
86 in, inlen, out, outlen);
92 u8 *out, size_t *outlen)
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 Dsha1-tlsprf.c24 * @outlen: Number of bytes of key to generate
31 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
79 for (i = 0; i < outlen; i++) {
30 tls_prf_sha1_md5(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dsha256-tlsprf.c23 * @outlen: Number of bytes of key to generate
30 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
56 while (pos < outlen) {
60 clen = outlen - pos;
29 tls_prf_sha256(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
H A Dcrypto_internal-rsa.c74 u8 *out, size_t *outlen)
77 0, in, inlen, out, outlen);
83 u8 *out, size_t *outlen)
86 in, inlen, out, outlen);
92 u8 *out, size_t *outlen)
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 Dsha1-tlsprf.c24 * @outlen: Number of bytes of key to generate
31 const u8 *seed, size_t seed_len, u8 *out, size_t outlen)
79 for (i = 0; i < outlen; i++) {
30 tls_prf_sha1_md5(const u8 *secret, size_t secret_len, const char *label, const u8 *seed, size_t seed_len, u8 *out, size_t outlen) argument
/external/chromium_org/content/child/webcrypto/openssl/
H A Drsa_oaep_openssl.cc27 size_t* outlen,
78 size_t outlen = 0; local
80 ctx.get(), NULL, &outlen, data.bytes(), data.byte_length())) {
83 buffer->resize(outlen);
88 &outlen,
93 buffer->resize(outlen);
/external/chromium_org/third_party/leveldatabase/port/
H A Dport_chromium.cc80 size_t outlen; local
81 snappy::RawCompress(input, input_length, &(*output)[0], &outlen);
82 output->resize(outlen);
/external/chromium_org/third_party/leveldatabase/src/port/
H A Dport_posix.h123 size_t outlen; local
124 snappy::RawCompress(input, length, &(*output)[0], &outlen);
125 output->resize(outlen);
/external/openssl/crypto/pkcs12/
H A Dp12_decr.c76 int outlen, i; local
100 outlen = i;
107 outlen += i;
108 if (datalen) *datalen = outlen;
126 int outlen; local
129 &out, &outlen, 0)) {
142 fwrite (p, 1, outlen, op);
146 ret = ASN1_item_d2i(NULL, &p, outlen, it);
147 if (zbuf) OPENSSL_cleanse(out, outlen);
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Da_mbstr.c95 int outform, outlen = 0; local
209 outlen = nchar;
214 outlen = nchar << 1;
219 outlen = nchar << 2;
224 outlen = 0;
225 traverse_string(in, len, inform, out_utf8, &outlen);
229 if(!(p = OPENSSL_malloc(outlen + 1))) {
234 dest->length = outlen;
236 p[outlen] = 0;
294 int *outlen; local
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/ecdh/
H A Decdh.c75 int ECDH_compute_key(void *out, size_t outlen, const EC_POINT *pub_key, argument
77 void *out, size_t *outlen)) {
137 if (KDF(buf, buflen, out, &outlen) == NULL) {
141 ret = outlen;
144 if (outlen > buflen) {
145 outlen = buflen;
147 memcpy(out, buf, outlen);
148 ret = outlen;
167 int ECDH_KDF_X9_62(uint8_t *out, size_t outlen, const uint8_t *Z, argument
176 if (sinfolen > ECDH_KDF_MAX || outlen > ECDH_KDF_MA
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/g722/
H A Dg722_decode.c262 int outlen; local
266 outlen = 0;
374 amp[outlen++] = (int16_t) (rlow << 1);
375 amp[outlen++] = (int16_t) (rhigh << 1);
381 amp[outlen++] = (int16_t) (rlow << 1);
401 amp[outlen++] = saturate(xout1 >> 11);
402 amp[outlen++] = saturate(xout2 >> 11);
406 return outlen;
/external/openssl/crypto/asn1/
H A Da_mbstr.c96 int outform, outlen = 0; local
214 outlen = nchar;
219 outlen = nchar << 1;
224 outlen = nchar << 2;
229 outlen = 0;
230 traverse_string(in, len, inform, out_utf8, &outlen);
234 if(!(p = OPENSSL_malloc(outlen + 1))) {
239 dest->length = outlen;
241 p[outlen] = 0;
299 int *outlen; local
[all...]
/external/openssl/crypto/cms/
H A Dcms_pwri.c225 static int kek_unwrap_key(unsigned char *out, size_t *outlen, argument
269 *outlen = (size_t)tmp[0];
270 memcpy(out, tmp + 4, *outlen);
279 static int kek_wrap_key(unsigned char *out, size_t *outlen, argument
316 *outlen = olen;
/external/openssl/crypto/ec/
H A Dec_pmeth.c173 size_t outlen; local
191 /* NB: unlike PKCS#3 DH, if *outlen is less than maximum size this is
195 outlen = *keylen;
197 ret = ECDH_compute_key(key, outlen, pubkey, ctx->pkey->pkey.ec, 0);
/external/openssl/crypto/evp/
H A Dpmeth_fn.c211 unsigned char *out, size_t *outlen,
225 M_check_autoarg(ctx, out, outlen, EVP_F_EVP_PKEY_ENCRYPT)
226 return ctx->pmeth->encrypt(ctx, out, outlen, in, inlen);
248 unsigned char *out, size_t *outlen,
262 M_check_autoarg(ctx, out, outlen, EVP_F_EVP_PKEY_DECRYPT)
263 return ctx->pmeth->decrypt(ctx, out, outlen, in, inlen);
210 EVP_PKEY_encrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument
247 EVP_PKEY_decrypt(EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) argument

Completed in 404 milliseconds

12345