Lines Matching refs:tmp_len
346 int ret = -1, tmp_len;
356 tmp_len = BN_num_bytes(K);
357 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL)
360 ret = s->method->ssl3_enc->generate_master_secret(s,master_key,tmp,tmp_len);
364 OPENSSL_cleanse(tmp,tmp_len) ;
376 int ret = -1, tmp_len;
389 tmp_len = BN_num_bytes(K);
390 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) goto err;
392 ret = s->method->ssl3_enc->generate_master_secret(s,master_key,tmp,tmp_len);
396 OPENSSL_cleanse(tmp,tmp_len) ;