HomeSort by relevance Sort by last modified time
    Searched defs:outlen (Results 1 - 25 of 32) sorted by null

1 2

  /external/protobuf/src/google/protobuf/testing/
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/dropbear/libtomcrypt/src/pk/rsa/
rsa_verify_hash.c 68 /* outlen must be at least the size of the modulus */
99 unsigned long outlen, loid[16]; local
110 outlen = ((modulus_bitlen >> 3) + (modulus_bitlen & 7 ? 1 : 0)) - 3;
111 out = XMALLOC(outlen);
117 if ((err = pkcs_1_v1_5_decode(tmpbuf, x, LTC_PKCS_1_EMSA, modulus_bitlen, out, &outlen, &decoded)) != CRYPT_OK) {
122 /* now we must decode out[0...outlen-1] using ASN.1, test the OID and then test the hash */
136 if ((err = der_decode_sequence(out, outlen, siginfo, 2)) != CRYPT_OK) {
150 zeromem(out, outlen);
  /external/openssl/crypto/pkcs12/
p12_decr.c 76 int outlen, i; local
93 outlen = i;
100 outlen += i;
101 if (datalen) *datalen = outlen;
119 int outlen; local
122 &out, &outlen, 0)) {
135 fwrite (p, 1, outlen, op);
139 ret = ASN1_item_d2i(NULL, &p, outlen, it);
140 if (zbuf) OPENSSL_cleanse(out, outlen);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis2/
Visualization2RS.java 66 int outlen = mPointData.length / 8; local
67 if (len > outlen) len = outlen;
  /external/dropbear/libtomcrypt/demos/
encrypt.c 100 unsigned long outlen, y, ivsize, x, decrypt; local
160 outlen = sizeof(key);
161 if ((errno = hash_memory(hash_idx,tmpkey,strlen((char *)tmpkey),key,&outlen)) != CRYPT_OK) {
tv_gen.c 118 unsigned long outlen, x, y, z; local
139 outlen = sizeof(md);
140 if ((err = hash_memory(x, buf, y, md, &outlen)) != CRYPT_OK) {
145 for (z = 0; z < outlen; z++) {
  /external/openssl/crypto/asn1/
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...]
a_strex.c 178 int i, outlen, len; local
183 outlen = 0;
225 outlen += len;
230 outlen += len;
233 return outlen;
269 int outlen, der_len; local
274 outlen = do_hex_dump(io_ch, arg, str->data, str->length);
275 if(outlen < 0) return -1;
276 return outlen + 1;
285 outlen = do_hex_dump(io_ch, arg, der_buf, der_len)
316 int outlen, len; local
402 int outlen, len; local
    [all...]
  /external/openssl/crypto/ec/
ec_pmeth.c 173 size_t outlen; local
191 /* NB: unlike PKS#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/rsa/
rsa_oaep.c 187 long i, outlen = 0; local
198 for (i = 0; outlen < len; i++)
208 if (outlen + mdlen <= len)
210 if (!EVP_DigestFinal_ex(&c, mask + outlen, NULL))
212 outlen += mdlen;
218 memcpy(mask + outlen, md, len - outlen);
219 outlen = len;
  /external/ppp/pppd/
cbcp.c 427 int outlen; local
431 outlen = 4 + len;
437 PUTSHORT(outlen, outp);
442 output(us->us_unit, outpacket_buf, outlen + PPP_HDRLEN);
fsm.c 803 int outlen; local
811 outlen = datalen + HEADERLEN;
815 PUTSHORT(outlen, outp);
816 output(f->unit, outpacket_buf, outlen + PPP_HDRLEN);
upap.c 555 int outlen; local
557 outlen = UPAP_HEADERLEN + 2 * sizeof (u_char) +
565 PUTSHORT(outlen, outp);
572 output(u->us_unit, outpacket_buf, outlen + PPP_HDRLEN);
591 int outlen; local
593 outlen = UPAP_HEADERLEN + sizeof (u_char) + msglen;
599 PUTSHORT(outlen, outp);
602 output(u->us_unit, outpacket_buf, outlen + PPP_HDRLEN);
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis3/
Visualization3RS.java 115 final int outlen = mPointData.length / 8; local
116 final int width = mWidth > outlen ? outlen : mWidth;
117 final int skip = (outlen - width) / 2;
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/generators/
DSAParametersGenerator.java 170 int outlen = d.getDigestSize() * 8; local
181 // 3. n = ceiling(L ? outlen) ? 1.
182 int n = (L - 1) / outlen;
184 // 4. b = L ? 1 ? (n ? outlen).
185 int b = (L - 1) % outlen;
218 // 11.2 W = V0 + (V1 ? 2^outlen) + ... + (V^(n?1) ? 2^((n?1) ? outlen)) + ((Vn mod 2^b) ? 2^(n ? outlen)).
221 for (int j = 0, exp = 0; j <= n; ++j, exp += outlen)
  /external/wpa_supplicant_6/wpa_supplicant/src/tls/
tlsv1_server_read.c 473 size_t outlen, outbuflen; local
487 outbuflen = outlen = end - pos;
488 out = os_malloc(outlen >= TLS_PRE_MASTER_SECRET_LEN ?
489 outlen : TLS_PRE_MASTER_SECRET_LEN);
516 out, &outlen) < 0) {
518 "PreMasterSecret (encr_len=%d outlen=%lu)",
519 (int) (end - pos), (unsigned long) outlen);
523 if (outlen != TLS_PRE_MASTER_SECRET_LEN) {
525 "length %lu", (unsigned long) outlen);
539 outlen = TLS_PRE_MASTER_SECRET_LEN
    [all...]
  /external/wpa_supplicant_8/src/tls/
tlsv1_server_read.c 473 size_t outlen, outbuflen; local
487 outbuflen = outlen = end - pos;
488 out = os_malloc(outlen >= TLS_PRE_MASTER_SECRET_LEN ?
489 outlen : TLS_PRE_MASTER_SECRET_LEN);
516 out, &outlen) < 0) {
518 "PreMasterSecret (encr_len=%d outlen=%lu)",
519 (int) (end - pos), (unsigned long) outlen);
523 if (outlen != TLS_PRE_MASTER_SECRET_LEN) {
525 "length %lu", (unsigned long) outlen);
539 outlen = TLS_PRE_MASTER_SECRET_LEN
    [all...]
  /external/dropbear/
keyimport.c 205 unsigned long outlen; local
212 outlen = sizeof(out);
213 base64_encode(data, n, out, &outlen);
216 fwrite(out, 1, outlen, fp);
368 unsigned long len, outlen; local
446 outlen = len*4/3;
447 if (ret->keyblob_len + outlen > ret->keyblob_size) {
448 ret->keyblob_size = ret->keyblob_len + outlen + 256;
452 outlen = ret->keyblob_size - ret->keyblob_len;
454 ret->keyblob + ret->keyblob_len, &outlen) != CRYPT_OK)
699 int outlen = -9999; local
    [all...]
  /external/dropbear/libtomcrypt/testprof/
der_tests.c 24 unsigned long x, val, outlen; local
33 outlen = sizeof(outbuf);
34 if ((err = der_encode_set(list, 3, outbuf, &outlen)) != CRYPT_OK) {
45 if ((err = der_decode_set(outbuf, outlen, list, 3)) != CRYPT_OK) {
81 outlen = sizeof(outbuf);
82 if ((err = der_encode_setof(list, 10, outbuf, &outlen)) != CRYPT_OK) {
92 if ((err = der_decode_set(outbuf, outlen, list, 10)) != CRYPT_OK) {
457 unsigned long integer, oidbuf[10], outlen, inlen, x, y; local
488 outlen = sizeof(outbuf);
489 DO(der_encode_sequence(&types[x>6?x-7:x], 1, outbuf, &outlen));
    [all...]
  /external/openssl/crypto/pem/
pvkfmt.c 488 int outlen, noinc = 0; local
503 outlen = 16 + blob_length(bitlen,
506 return outlen;
511 p = OPENSSL_malloc(outlen);
532 *out += outlen;
533 return outlen;
539 int outlen, wrlen; local
540 outlen = do_i2b(&tmp, pk, ispub);
541 if (outlen < 0)
543 wrlen = BIO_write(out, tmp, outlen);
842 int outlen = 24, pklen; local
922 int outlen, wrlen; local
    [all...]
  /external/sqlite/android/
sqlite3_android.cpp 106 uint32_t outlen = 0; local
109 U8_APPEND(out, outlen, sizeof(out), index[i], isError);
116 if (outlen == 0) {
121 sqlite3_result_text(context, (const char*)out, outlen, SQLITE_TRANSIENT);
171 int outlen = 0; local
172 android::phone_number_stripped_reversed_inter(number, out, PHONE_NUMBER_BUFFER_SIZE, &outlen);
173 sqlite3_result_text(context, (const char*)out, outlen, SQLITE_TRANSIENT);
  /external/zlib/contrib/puff/
puff.c 94 unsigned long outlen; /* available space at out */ member in struct:state
175 if (s->outcnt + len > s->outlen)
451 if (s->outcnt == s->outlen) return 1;
473 if (s->outcnt + len > s->outlen) return 1;
    [all...]
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/
GenericWaveRS.java 87 int outlen = mPointData.length / 8; local
88 int half = outlen / 2;
89 for(int i = 0; i < outlen; i++) {
  /packages/apps/Nfc/jni/
com_android_nfc_NativeNfcTag.cpp 719 uint32_t outlen; local
754 buflen = outlen = (uint32_t)e->GetArrayLength(data);
768 outlen += 2;
793 outlen += 2;
824 transceive_info.sSendData.length = outlen - offset;
    [all...]
  /packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis5/
Visualization5RS.java 101 int outlen = mPointData.length / 8; local
102 int half = outlen / 2;
103 for(int i = 0; i < outlen; i++) {
392 int outlen = mPointData.length / 8; local
394 if (len > outlen) len = outlen;

Completed in 722 milliseconds

1 2