/external/chromium_org/third_party/protobuf/src/google/protobuf/testing/ |
H A D | zcgzip.cc | 60 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 D | zcgzip.cc | 60 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 D | ech_key.c | 72 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 D | ech_ossl.c | 84 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 D | ecdhtest.c | 109 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 D | sha256-tlsprf.c | 23 * @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 D | crypto_internal-rsa.c | 74 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 D | sha1-tlsprf.c | 24 * @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 D | sha256-tlsprf.c | 23 * @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 D | crypto_internal-rsa.c | 74 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 D | sha1-tlsprf.c | 24 * @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 D | sha256-tlsprf.c | 23 * @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 D | crypto_internal-rsa.c | 74 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 D | sha1-tlsprf.c | 24 * @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 D | rsa_oaep_openssl.cc | 27 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 D | port_chromium.cc | 80 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 D | port_posix.h | 123 size_t outlen; local 124 snappy::RawCompress(input, length, &(*output)[0], &outlen); 125 output->resize(outlen);
|
/external/openssl/crypto/pkcs12/ |
H A D | p12_decr.c | 76 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 D | a_mbstr.c | 95 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 D | ecdh.c | 75 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 D | g722_decode.c | 262 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 D | a_mbstr.c | 96 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 D | cms_pwri.c | 225 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 D | ec_pmeth.c | 173 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 D | pmeth_fn.c | 211 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
|