Home
last modified time | relevance | path

Searched refs:ptlen (Results 1 – 11 of 11) sorted by relevance

/third_party/openssl/util/
Dcavs-to-evptest.pl24 my $ptlen = 0;
52 $ptlen = $2;
83 $ptlen = $2;
103 if ($ptlen > 0) {
/third_party/node/deps/openssl/openssl/util/
Dcavs-to-evptest.pl24 my $ptlen = 0;
52 $ptlen = $2;
83 $ptlen = $2;
103 if ($ptlen > 0) {
/third_party/openssl/test/
Dtls13encryptiontest.c243 size_t ptlen; in load_record() local
248 pt = multihexstr2buf(recd->plaintext, &ptlen); in load_record()
253 rec->data = rec->input = OPENSSL_malloc(ptlen + EVP_GCM_TLS_TAG_LEN); in load_record()
258 rec->length = ptlen; in load_record()
259 memcpy(rec->data, pt, ptlen); in load_record()
Daesgcmtest.c71 int outlen, ptlen; in do_decrypt() local
82 && TEST_true(EVP_DecryptUpdate(ctx, pt, &ptlen, ct, in do_decrypt()
87 && TEST_mem_eq(gcm_pt, sizeof(gcm_pt), pt, ptlen); in do_decrypt()
Devp_fetch_prov_test.c244 int ret = 0, ctlen, ptlen; in encrypt_decrypt() local
255 || !TEST_true(EVP_CipherUpdate(ctx, pt, &ptlen, ct, ctlen)) in encrypt_decrypt()
256 || !TEST_true(EVP_CipherFinal_ex(ctx, pt, &ptlen)) in encrypt_decrypt()
257 || !TEST_mem_eq(pt, ptlen, msg, len)) in encrypt_decrypt()
Dthreadstest.c393 size_t ptlen, ctlen = sizeof(ctbuf); in thread_shared_evp_pkey() local
419 ptlen = sizeof(ptbuf); in thread_shared_evp_pkey()
421 || !TEST_int_gt(EVP_PKEY_decrypt(ctx, ptbuf, &ptlen, ctbuf, ctlen), in thread_shared_evp_pkey()
423 || !TEST_mem_eq(msg, strlen(msg), ptbuf, ptlen)) in thread_shared_evp_pkey()
Devp_extra_test.c2850 int ctlen, ptlen, tmp = 99; in test_decrypt_null_chunks() local
2875 || !TEST_true(EVP_DecryptUpdate(ctx, plaintext, &ptlen, ciphertext, in test_decrypt_null_chunks()
2881 || !TEST_true(EVP_DecryptUpdate(ctx, plaintext + ptlen, &tmp, NULL, in test_decrypt_null_chunks()
2884 || !TEST_true(EVP_DecryptUpdate(ctx, plaintext + ptlen, &tmp, in test_decrypt_null_chunks()
2887 || !TEST_int_eq(ptlen += tmp, sizeof(msg)) in test_decrypt_null_chunks()
2888 || !TEST_true(EVP_DecryptFinal(ctx, plaintext + ptlen, &tmp)) in test_decrypt_null_chunks()
2890 || !TEST_mem_eq(msg, sizeof(msg), plaintext, ptlen)) in test_decrypt_null_chunks()
/third_party/openssl/doc/man3/
DEVP_PKEY_set1_encoded_public_key.pod23 const unsigned char *pt, size_t ptlen);
/third_party/openssl/include/openssl/
Devp.h1447 # define EVP_PKEY_set1_tls_encodedpoint(pkey, pt, ptlen) \ argument
1448 EVP_PKEY_set1_encoded_public_key((pkey), (pt), (ptlen))
/third_party/node/deps/openssl/openssl/include/openssl/
Devp.h1447 # define EVP_PKEY_set1_tls_encodedpoint(pkey, pt, ptlen) \ argument
1448 EVP_PKEY_set1_encoded_public_key((pkey), (pt), (ptlen))
/third_party/openssl/ohos_lite/include/openssl/
Devp.h1070 const unsigned char *pt, size_t ptlen);