/freebsd/crypto/openssl/util/ |
H A D | cavs-to-evptest.pl | 24 my $ptlen = 0; 52 $ptlen = $2; 83 $ptlen = $2; 103 if ($ptlen > 0) {
|
/freebsd/libexec/phttpget/ |
H A D | phttpget.c | 76 size_t ptlen, ctlen; in b64enc() local 84 ptlen = strlen(ptext); in b64enc() 85 if (ptlen > ((SIZE_MAX - 1) / 4) * 3 - 2) in b64enc() 87 ctlen = 4 * ((ptlen + 2) / 3) + 1; in b64enc() 96 for (pt = ptext, pc = ctext; ptlen; ptlen -= 3, pc += 4) { in b64enc() 100 if (j < ptlen) in b64enc() 106 if (j <= ptlen + 1) in b64enc() 114 if (ptlen <= 3) in b64enc()
|
/freebsd/crypto/openssl/test/ |
H A D | tls13encryptiontest.c | 243 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()
|
H A D | aesgcmtest.c | 71 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()
|
H A D | evp_fetch_prov_test.c | 244 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()
|
H A D | threadstest.c | 393 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()
|
H A D | evp_extra_test.c | 3025 int ctlen, ptlen, tmp = 99; in test_decrypt_null_chunks() local 3050 || !TEST_true(EVP_DecryptUpdate(ctx, plaintext, &ptlen, ciphertext, in test_decrypt_null_chunks() 3056 || !TEST_true(EVP_DecryptUpdate(ctx, plaintext + ptlen, &tmp, NULL, in test_decrypt_null_chunks() 3059 || !TEST_true(EVP_DecryptUpdate(ctx, plaintext + ptlen, &tmp, in test_decrypt_null_chunks() 3062 || !TEST_int_eq(ptlen += tmp, sizeof(msg)) in test_decrypt_null_chunks() 3063 || !TEST_true(EVP_DecryptFinal(ctx, plaintext + ptlen, &tmp)) in test_decrypt_null_chunks() 3065 || !TEST_mem_eq(msg, sizeof(msg), plaintext, ptlen)) in test_decrypt_null_chunks()
|
/freebsd/contrib/tcpdump/ |
H A D | print-esp.c | 181 unsigned int ptlen; in do_decrypt() local 230 ptlen = ctlen; in do_decrypt() 231 pt = (u_char *)calloc(1, ptlen); in do_decrypt()
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | EVP_PKEY_set1_encoded_public_key.pod | 23 const unsigned char *pt, size_t ptlen);
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | evp.h | 1449 # define EVP_PKEY_set1_tls_encodedpoint(pkey, pt, ptlen) \ argument 1450 EVP_PKEY_set1_encoded_public_key((pkey), (pt), (ptlen))
|