Searched defs:tmp_len (Results 1 - 15 of 15) sorted by relevance

/external/libsepol/src/
H A Dpolicydb_convert.c39 size_t tmp_len; local
62 tmp_len = pf.len;
75 pf.len = tmp_len;
90 *newlen = tmp_len;
/external/chromium_org/third_party/libsrtp/srtp/crypto/test/
H A Dsha1_driver.c73 unsigned tmp_len; local
79 tmp_len = hex_string_to_octet_string((char *)test_case->data, hex_data, data_len*2);
80 if (tmp_len != data_len*2)
83 tmp_len = hex_string_to_octet_string((char *)test_case->hash, hex_hash, hash_len*2);
84 if (tmp_len != hash_len*2)
/external/srtp/crypto/test/
H A Dsha1_driver.c73 unsigned tmp_len; local
79 tmp_len = hex_string_to_octet_string((char *)test_case->data, hex_data, data_len*2);
80 if (tmp_len != data_len*2)
83 tmp_len = hex_string_to_octet_string((char *)test_case->hash, hex_hash, hash_len*2);
84 if (tmp_len != hash_len*2)
/external/chromium_org/third_party/boringssl/src/crypto/ec/
H A Dwnaf.c428 size_t tmp_len = 0; local
437 tmp_wNAF = compute_wNAF(scalar, wsize[num], &tmp_len);
441 if (tmp_len <= max_len) {
450 wNAF_len[num] = tmp_len;
460 if (tmp_len < numblocks * blocksize) {
462 numblocks = (tmp_len + blocksize - 1) / blocksize;
477 if (tmp_len < blocksize) {
481 tmp_len -= blocksize;
485 wNAF_len[i] = tmp_len;
H A Dec_asn1.c385 size_t buf_len = 0, tmp_len; local
435 tmp_len = EC_POINT_point2oct(key->group, key->pub_key, key->conv_form, NULL,
438 if (tmp_len > buf_len) {
439 uint8_t *tmp_buffer = OPENSSL_realloc(buffer, tmp_len);
445 buf_len = tmp_len;
/external/openssl/apps/
H A Decparam.c479 size_t buf_len = 0, tmp_len = 0; local
525 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len)
526 buf_len = tmp_len;
527 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len)
528 buf_len = tmp_len;
529 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len)
530 buf_len = tmp_len;
531 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len)
532 buf_len = tmp_len;
533 if ((tmp_len
[all...]
/external/openssl/crypto/evp/
H A Dbio_b64.c84 int tmp_len; /* used to find the start when decoding */ member in struct:b64_struct
120 ctx->tmp_len=0;
162 ctx->tmp_len=0;
194 i=BIO_read(b->next_bio,&(ctx->tmp[ctx->tmp_len]),
195 B64_BLOCK_SIZE-ctx->tmp_len);
206 if(ctx->tmp_len == 0)
216 i+=ctx->tmp_len;
217 ctx->tmp_len = i;
224 ctx->tmp_len=0;
278 ctx->tmp_len
[all...]
/external/openssl/ssl/
H A Dtls_srp.c347 int ret = -1, tmp_len; local
357 tmp_len = BN_num_bytes(K);
358 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL)
361 ret = s->method->ssl3_enc->generate_master_secret(s,master_key,tmp,tmp_len);
365 OPENSSL_cleanse(tmp,tmp_len) ;
377 int ret = -1, tmp_len; local
390 tmp_len = BN_num_bytes(K);
391 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) goto err;
393 ret = s->method->ssl3_enc->generate_master_secret(s,master_key,tmp,tmp_len);
397 OPENSSL_cleanse(tmp,tmp_len) ;
[all...]
/external/openssl/crypto/ec/
H A Dec_mult.c491 size_t tmp_len = 0; local
501 tmp_wNAF = compute_wNAF(scalar, wsize[num], &tmp_len);
505 if (tmp_len <= max_len)
515 wNAF_len[num] = tmp_len;
516 if (tmp_len > max_len)
517 max_len = tmp_len;
529 if (tmp_len < numblocks * blocksize)
532 numblocks = (tmp_len + blocksize - 1) / blocksize;
550 if (tmp_len < blocksize)
555 tmp_len
[all...]
H A Dec_asn1.c1247 size_t buf_len=0, tmp_len; local
1308 tmp_len = EC_POINT_point2oct(a->group, a->pub_key,
1311 if (tmp_len > buf_len)
1313 unsigned char *tmp_buffer = OPENSSL_realloc(buffer, tmp_len);
1320 buf_len = tmp_len;
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig_file.c1211 int tmp_len = os_strlen(name) + 5; /* allow space for .tmp suffix */ local
1212 char *tmp_name = os_malloc(tmp_len);
1217 os_snprintf(tmp_name, tmp_len, "%s.tmp", name);
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/
H A Dbezier.c661 VGfloat tmp_len; local
663 tmp_len = bezier_length(&left, error);
664 if (ABS(tmp_len - at_length) < error)
667 if (tmp_len < at_length) {
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dbezier.c661 VGfloat tmp_len; local
663 tmp_len = bezier_length(&left, error);
664 if (ABS(tmp_len - at_length) < error)
667 if (tmp_len < at_length) {
/external/chromium_org/third_party/opus/src/src/
H A Dopus_encoder.c1373 int tmp_len; local
1378 tmp_len = opus_encode_native(st, pcm+i*(st->channels*st->Fs/50), st->Fs/50,
1381 if (tmp_len<0)
1386 ret = opus_repacketizer_cat(rp, tmp_data+i*bytes_per_frame, tmp_len);
/external/libopus/src/
H A Dopus_encoder.c1373 int tmp_len; local
1378 tmp_len = opus_encode_native(st, pcm+i*(st->channels*st->Fs/50), st->Fs/50,
1381 if (tmp_len<0)
1386 ret = opus_repacketizer_cat(rp, tmp_data+i*bytes_per_frame, tmp_len);

Completed in 957 milliseconds