Lines Matching defs:size
273 arg0.size(),
279 initialized = diffieHellman->Init(arg0.data(), arg0.size(),
280 arg1.data(), arg1.size());
306 const int size = BN_num_bytes(pub_key);
307 CHECK_GE(size, 0);
309 bs = ArrayBuffer::NewBackingStore(env->isolate(), size);
338 const int size = BN_num_bytes(num);
339 CHECK_GE(size, 0);
341 bs = ArrayBuffer::NewBackingStore(env->isolate(), size);
399 BignumPointer key(BN_bin2bn(key_buf.data(), key_buf.size(), nullptr));
408 int size = DH_compute_key(static_cast<unsigned char*>(bs->Data()),
412 if (size == -1) {
435 CHECK_GE(size, 0);
436 ZeroPadDiffieHellmanSecret(size,
455 BIGNUM* num = BN_bin2bn(buf.data(), buf.size(), nullptr);
523 int size = args[*offset].As<Int32>()->Value();
524 if (size < 0) {
525 THROW_ERR_OUT_OF_RANGE(env, "Invalid prime size");
528 params->params.prime = size;
536 BN_bin2bn(input.data(), input.size(), nullptr));
641 ZeroPadDiffieHellmanSecret(out_size, out.data<char>(), out.size());