Home
last modified time | relevance | path

Searched refs:ciphertext_len (Results 1 – 7 of 7) sorted by relevance

/openssl/include/crypto/
H A Dsm2.h76 uint8_t *ciphertext_buf, size_t *ciphertext_len);
80 const uint8_t *ciphertext, size_t ciphertext_len,
/openssl/crypto/sm2/
H A Dsm2_crypt.c110 uint8_t *ciphertext_buf, size_t *ciphertext_len) in ossl_sm2_encrypt() argument
181 memset(ciphertext_buf, 0, *ciphertext_len); in ossl_sm2_encrypt()
257 *ciphertext_len = (size_t)ciphertext_leni; in ossl_sm2_encrypt()
277 const uint8_t *ciphertext, size_t ciphertext_len, in ossl_sm2_decrypt() argument
305 sm2_ctext = d2i_SM2_Ciphertext(NULL, &ciphertext, ciphertext_len); in ossl_sm2_decrypt()
/openssl/include/internal/
H A Dquic_record_tx.h140 size_t ciphertext_len,
151 size_t *ciphertext_len);
/openssl/ssl/quic/
H A Dquic_record_tx.c406 size_t *ciphertext_len) in ossl_qtx_calculate_ciphertext_payload_len() argument
413 *ciphertext_len = 0; in ossl_qtx_calculate_ciphertext_payload_len()
423 *ciphertext_len = plaintext_len + tag_len; in ossl_qtx_calculate_ciphertext_payload_len()
429 size_t ciphertext_len, in ossl_qtx_calculate_plaintext_payload_len() argument
443 if (ciphertext_len <= tag_len) { in ossl_qtx_calculate_plaintext_payload_len()
448 *plaintext_len = ciphertext_len - tag_len; in ossl_qtx_calculate_plaintext_payload_len()
H A Dquic_txp.c1666 size_t hdr_len, ciphertext_len; in txp_pkt_postgen_update_pkt_overhead() local
1682 &ciphertext_len)) in txp_pkt_postgen_update_pkt_overhead()
1685 pkt->phdr.len = ciphertext_len; in txp_pkt_postgen_update_pkt_overhead()
1690 pkt->geom.pkt_overhead = hdr_len + ciphertext_len - pkt->h.bytes_appended; in txp_pkt_postgen_update_pkt_overhead()
/openssl/test/
H A Devp_extra_test.c1653 int len, kek_len, ciphertext_len, plaintext_len; in test_EVP_Enveloped() local
1671 || !TEST_true(EVP_SealUpdate(ctx, ciphertext, &ciphertext_len, in test_EVP_Enveloped()
1673 || !TEST_true(EVP_SealFinal(ctx, ciphertext + ciphertext_len, in test_EVP_Enveloped()
1677 ciphertext_len += len; in test_EVP_Enveloped()
1681 ciphertext, ciphertext_len)) in test_EVP_Enveloped()
H A Devp_test.c882 size_t ciphertext_len; member
1012 return parse_bin(value, &cdat->ciphertext, &cdat->ciphertext_len); in cipher_test_parse()
1097 out_len = expected->ciphertext_len; in cipher_test_enc()
1100 in_len = expected->ciphertext_len; in cipher_test_enc()

Completed in 43 milliseconds