Home
last modified time | relevance | path

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

/openssl/crypto/evp/
H A Dbio_b64.c135 ctx->tmp_len = 0; in b64_read()
186 if (ctx->tmp_len == 0) in b64_read()
194 i += ctx->tmp_len; in b64_read()
195 ctx->tmp_len = i; in b64_read()
202 ctx->tmp_len = 0; in b64_read()
269 ctx->tmp_len = 0; in b64_read()
281 ctx->tmp_len = 0; in b64_read()
336 ctx->tmp_len = 0; in b64_write()
376 ctx->tmp_len += n; in b64_write()
388 ctx->tmp_len = 0; in b64_write()
[all …]
/openssl/ssl/
H A Dtls_srp.c329 int ret = 0, tmp_len = 0; in srp_generate_server_master_secret() local
342 tmp_len = BN_num_bytes(K); in srp_generate_server_master_secret()
343 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) { in srp_generate_server_master_secret()
349 ret = ssl_generate_master_secret(s, tmp, tmp_len, 1); in srp_generate_server_master_secret()
360 int ret = 0, tmp_len = 0; in srp_generate_client_master_secret() local
393 tmp_len = BN_num_bytes(K); in srp_generate_client_master_secret()
394 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) { in srp_generate_client_master_secret()
400 ret = ssl_generate_master_secret(s, tmp, tmp_len, 1); in srp_generate_client_master_secret()
/openssl/crypto/ec/
H A Dec_mult.c552 size_t tmp_len = 0; in ossl_ec_wNAF_mul() local
563 tmp_wNAF = bn_compute_wNAF(scalar, wsize[num], &tmp_len); in ossl_ec_wNAF_mul()
567 if (tmp_len <= max_len) { in ossl_ec_wNAF_mul()
578 wNAF_len[num] = tmp_len; in ossl_ec_wNAF_mul()
592 if (tmp_len < numblocks * blocksize) { in ossl_ec_wNAF_mul()
596 numblocks = (tmp_len + blocksize - 1) / blocksize; in ossl_ec_wNAF_mul()
612 if (tmp_len < blocksize) { in ossl_ec_wNAF_mul()
617 tmp_len -= blocksize; in ossl_ec_wNAF_mul()
623 wNAF_len[i] = tmp_len; in ossl_ec_wNAF_mul()
/openssl/providers/implementations/macs/
H A Dkmac_prov.c648 size_t tmp_len; in kmac_bytepad_encode_key() local
650 if (!encode_string(tmp, sizeof(tmp), &tmp_len, in, in_len)) in kmac_bytepad_encode_key()
652 if (!bytepad(NULL, out_len, tmp, tmp_len, NULL, 0, w)) in kmac_bytepad_encode_key()
656 return bytepad(out, NULL, tmp, tmp_len, NULL, 0, w); in kmac_bytepad_encode_key()
/openssl/util/
H A Dcheck-format-test-negatives.c90 ctx->tmp_len); in f()

Completed in 16 milliseconds