Home
last modified time | relevance | path

Searched refs:encoded_len (Results 1 – 10 of 10) sorted by relevance

/openssl/crypto/rsa/
H A Drsa_sign.c291 size_t encoded_len = 0; in RSA_sign() local
311 encoded_len = SSL_SIG_LENGTH; in RSA_sign()
314 if (!encode_pkcs1(&tmps, &encoded_len, type, m, m_len)) in RSA_sign()
319 if (encoded_len + RSA_PKCS1_PADDING_SIZE > (size_t)RSA_size(rsa)) { in RSA_sign()
323 encrypt_len = RSA_private_encrypt((int)encoded_len, encoded, sigret, rsa, in RSA_sign()
332 OPENSSL_clear_free(tmps, encoded_len); in RSA_sign()
350 size_t decrypt_len, encoded_len = 0; in ossl_rsa_verify() local
437 if (!encode_pkcs1(&encoded, &encoded_len, type, m, m_len)) in ossl_rsa_verify()
440 if (encoded_len != decrypt_len in ossl_rsa_verify()
441 || memcmp(encoded, decrypt_buf, encoded_len) != 0) { in ossl_rsa_verify()
[all …]
/openssl/ssl/quic/
H A Dquic_cfq.c22 size_t encoded_len; member
45 return ex->encoded_len; in ossl_quic_cfq_item_get_encoded_len()
182 item->free_cb(item->encoded, item->encoded_len, item->free_cb_arg); in clear_item()
186 item->encoded_len = 0; in clear_item()
236 size_t encoded_len, in ossl_quic_cfq_add_frame() argument
249 item->encoded_len = encoded_len; in ossl_quic_cfq_add_frame()
H A Dquic_rx_depack.c941 size_t encoded_len; in depack_do_frame_path_challenge() local
959 encoded_len = sizeof(uint64_t) + 1; in depack_do_frame_path_challenge()
960 if ((encoded = OPENSSL_malloc(encoded_len)) == NULL) in depack_do_frame_path_challenge()
963 if (!WPACKET_init_static_len(&wpkt, encoded, encoded_len, 0)) in depack_do_frame_path_challenge()
976 encoded, encoded_len, in depack_do_frame_path_challenge()
H A Dquic_txp.c2707 size_t encoded_len = ossl_quic_cfq_item_get_encoded_len(cfq_item); in txp_generate_for_el() local
2757 if (encoded_len > tx_helper_get_space_left(h)) in txp_generate_for_el()
2760 if (!tx_helper_append_iovec(h, encoded, encoded_len)) in txp_generate_for_el()
/openssl/test/
H A Dendecode_test.c135 void **encoded, long *encoded_len,
163 long encoded_len = 0; in test_encode_decode() local
188 if (!TEST_true(check_cb(file, line, type, encoded, encoded_len)) in test_encode_decode()
227 if (encoded != NULL && encoded_len != 0) in test_encode_decode()
228 dump_cb("|pkey| encoded", encoded, encoded_len); in test_encode_decode()
243 void **encoded, long *encoded_len, in encode_EVP_PKEY_prov() argument
270 || !TEST_FL_long_gt(*encoded_len = mem_buf->length, 0)) in encode_EVP_PKEY_prov()
385 || !TEST_FL_long_gt(*encoded_len = mem_buf->length, 0)) in encode_EVP_PKEY_legacy_PEM()
424 || !TEST_FL_long_gt(*encoded_len = mem_buf->length, 0)) in encode_EVP_PKEY_MSBLOB()
444 void **encoded, long *encoded_len, in encode_EVP_PKEY_PVK() argument
[all …]
/openssl/crypto/dsa/
H A Ddsa_sign.c81 size_t encoded_len; in i2d_DSA_SIG() local
99 || !WPACKET_get_total_written(&pkt, &encoded_len) in i2d_DSA_SIG()
112 *ppout += encoded_len; in i2d_DSA_SIG()
116 return (int)encoded_len; in i2d_DSA_SIG()
/openssl/crypto/evp/
H A Devp_pkey.c73 int encoded_len; in EVP_PKCS82PKEY_ex() local
85 if ((encoded_len = i2d_PKCS8_PRIV_KEY_INFO(p8, &encoded_data)) <= 0 in EVP_PKCS82PKEY_ex()
90 len = encoded_len; in EVP_PKCS82PKEY_ex()
112 OPENSSL_clear_free(encoded_data, encoded_len); in EVP_PKCS82PKEY_ex()
/openssl/include/internal/
H A Dquic_cfq.h108 size_t encoded_len,
/openssl/crypto/ec/
H A Dec_asn1.c1242 size_t encoded_len; in i2d_ECDSA_SIG() local
1260 || !WPACKET_get_total_written(&pkt, &encoded_len) in i2d_ECDSA_SIG()
1273 *ppout += encoded_len; in i2d_ECDSA_SIG()
1277 return (int)encoded_len; in i2d_ECDSA_SIG()
/openssl/doc/designs/quic-design/
H A Dquic-fifm.md229 size_t encoded_len,

Completed in 35 milliseconds