Home
last modified time | relevance | path

Searched refs:tmp_len (Results 1 – 5 of 5) sorted by relevance

/external/openssl/crypto/evp/
Dbio_b64.c84 int tmp_len; /* used to find the start when decoding */ member
120 ctx->tmp_len=0; in b64_new()
159 ctx->tmp_len=0; in b64_read()
191 i=BIO_read(b->next_bio,&(ctx->tmp[ctx->tmp_len]), in b64_read()
192 B64_BLOCK_SIZE-ctx->tmp_len); in b64_read()
203 if(ctx->tmp_len == 0) in b64_read()
213 i+=ctx->tmp_len; in b64_read()
214 ctx->tmp_len = i; in b64_read()
221 ctx->tmp_len=0; in b64_read()
274 ctx->tmp_len=0; in b64_read()
[all …]
/external/openssl/apps/
Decparam.c482 size_t buf_len = 0, tmp_len = 0; in MAIN() local
528 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len) in MAIN()
529 buf_len = tmp_len; in MAIN()
530 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len) in MAIN()
531 buf_len = tmp_len; in MAIN()
532 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len) in MAIN()
533 buf_len = tmp_len; in MAIN()
534 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len) in MAIN()
535 buf_len = tmp_len; in MAIN()
536 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len) in MAIN()
[all …]
/external/openssl/crypto/ec/
Dec_mult.c489 size_t tmp_len = 0; in ec_wNAF_mul() local
499 tmp_wNAF = compute_wNAF(scalar, wsize[num], &tmp_len); in ec_wNAF_mul()
503 if (tmp_len <= max_len) in ec_wNAF_mul()
513 wNAF_len[num] = tmp_len; in ec_wNAF_mul()
514 if (tmp_len > max_len) in ec_wNAF_mul()
515 max_len = tmp_len; in ec_wNAF_mul()
527 if (tmp_len < numblocks * blocksize) in ec_wNAF_mul()
530 numblocks = (tmp_len + blocksize - 1) / blocksize; in ec_wNAF_mul()
548 if (tmp_len < blocksize) in ec_wNAF_mul()
553 tmp_len -= blocksize; in ec_wNAF_mul()
[all …]
Dec_asn1.c1214 size_t buf_len=0, tmp_len; in i2d_ECPrivateKey() local
1274 tmp_len = EC_POINT_point2oct(a->group, a->pub_key, in i2d_ECPrivateKey()
1277 if (tmp_len > buf_len) in i2d_ECPrivateKey()
1279 unsigned char *tmp_buffer = OPENSSL_realloc(buffer, tmp_len); in i2d_ECPrivateKey()
1286 buf_len = tmp_len; in i2d_ECPrivateKey()
/external/libpng/
Dltmain.sh3318 int tmp_len;
3376 tmp_len = strlen (tmp);
3378 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
3379 memcpy (concat_name, tmp, tmp_len);
3380 concat_name[tmp_len] = '/';
3381 strcpy (concat_name + tmp_len + 1, wrapper);
3401 tmp_len = strlen (tmp);
3402 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
3403 memcpy (concat_name, tmp, tmp_len);
3404 concat_name[tmp_len] = '/';
[all …]