/third_party/node/deps/ngtcp2/ngtcp2/crypto/ |
H A D | shared.c | 215 ngtcp2_crypto_cipher_ctx hp_ctx = {0}; in ngtcp2_crypto_derive_and_install_rx_key() local 278 if (ngtcp2_crypto_cipher_ctx_encrypt_init(&hp_ctx, hp, hp_key) != 0) { in ngtcp2_crypto_derive_and_install_rx_key() 284 rv = ngtcp2_conn_install_early_key(conn, &aead_ctx, iv, ivlen, &hp_ctx); in ngtcp2_crypto_derive_and_install_rx_key() 291 &hp_ctx); in ngtcp2_crypto_derive_and_install_rx_key() 305 ivlen, &hp_ctx); in ngtcp2_crypto_derive_and_install_rx_key() 318 ngtcp2_crypto_cipher_ctx_free(&hp_ctx); in ngtcp2_crypto_derive_and_install_rx_key() 356 ngtcp2_crypto_cipher_ctx hp_ctx = {0}; in ngtcp2_crypto_derive_and_install_tx_key() local 419 if (ngtcp2_crypto_cipher_ctx_encrypt_init(&hp_ctx, hp, hp_key) != 0) { in ngtcp2_crypto_derive_and_install_tx_key() 425 rv = ngtcp2_conn_install_early_key(conn, &aead_ctx, iv, ivlen, &hp_ctx); in ngtcp2_crypto_derive_and_install_tx_key() 432 &hp_ctx); in ngtcp2_crypto_derive_and_install_tx_key() 787 ngtcp2_crypto_hp_mask_cb(uint8_t *dest, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx, const uint8_t *sample) ngtcp2_crypto_hp_mask_cb() argument 1233 ngtcp2_crypto_cipher_ctx hp_ctx = {0}; ngtcp2_crypto_write_connection_close() local [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/lib/ |
H A D | ngtcp2_conn.h | 318 /* hp_ctx is cipher context for packet header protection. */ 319 ngtcp2_crypto_cipher_ctx hp_ctx; member 328 /* hp_ctx is cipher context for packet header protection. */ 329 ngtcp2_crypto_cipher_ctx hp_ctx; member 490 ngtcp2_crypto_cipher_ctx hp_ctx; member 641 ngtcp2_crypto_cipher_ctx hp_ctx; member 645 ngtcp2_crypto_cipher_ctx hp_ctx; member
|
H A D | ngtcp2_conn.c | 1478 conn_call_delete_crypto_cipher_ctx(conn, &conn->vneg.rx.hp_ctx); in conn_vneg_crypto_free() 1483 conn_call_delete_crypto_cipher_ctx(conn, &conn->vneg.tx.hp_ctx); in conn_vneg_crypto_free() 1499 conn_call_delete_crypto_cipher_ctx(conn, &conn->early.hp_ctx); in ngtcp2_conn_del() 1518 conn_call_delete_crypto_cipher_ctx(conn, &conn->pktns.crypto.rx.hp_ctx); in ngtcp2_conn_del() 1524 conn_call_delete_crypto_cipher_ctx(conn, &conn->pktns.crypto.tx.hp_ctx); in ngtcp2_conn_del() 1531 conn_call_delete_crypto_cipher_ctx(conn, &conn->hs_pktns->crypto.rx.hp_ctx); in ngtcp2_conn_del() 1537 conn_call_delete_crypto_cipher_ctx(conn, &conn->hs_pktns->crypto.tx.hp_ctx); in ngtcp2_conn_del() 1544 conn_call_delete_crypto_cipher_ctx(conn, &conn->in_pktns->crypto.rx.hp_ctx); in ngtcp2_conn_del() 1550 conn_call_delete_crypto_cipher_ctx(conn, &conn->in_pktns->crypto.tx.hp_ctx); in ngtcp2_conn_del() 2575 cc.hp_ctx in conn_write_handshake_pkt() 5725 decrypt_hp(ngtcp2_pkt_hd *hd, uint8_t *dest, const ngtcp2_crypto_cipher *hp, const uint8_t *pkt, size_t pktlen, size_t pkt_num_offset, const ngtcp2_crypto_cipher_ctx *hp_ctx, ngtcp2_hp_mask hp_mask) decrypt_hp() argument 6162 ngtcp2_crypto_cipher_ctx *hp_ctx; conn_recv_handshake_pkt() local 8761 ngtcp2_crypto_cipher_ctx *hp_ctx; conn_recv_pkt() local 10510 ngtcp2_conn_install_rx_handshake_key( ngtcp2_conn *conn, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *iv, size_t ivlen, const ngtcp2_crypto_cipher_ctx *hp_ctx) ngtcp2_conn_install_rx_handshake_key() argument 10542 ngtcp2_conn_install_tx_handshake_key( ngtcp2_conn *conn, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *iv, size_t ivlen, const ngtcp2_crypto_cipher_ctx *hp_ctx) ngtcp2_conn_install_tx_handshake_key() argument 10581 ngtcp2_conn_install_early_key(ngtcp2_conn *conn, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *iv, size_t ivlen, const ngtcp2_crypto_cipher_ctx *hp_ctx) ngtcp2_conn_install_early_key() argument 10618 ngtcp2_conn_install_rx_key(ngtcp2_conn *conn, const uint8_t *secret, size_t secretlen, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *iv, size_t ivlen, const ngtcp2_crypto_cipher_ctx *hp_ctx) ngtcp2_conn_install_rx_key() argument 10666 ngtcp2_conn_install_tx_key(ngtcp2_conn *conn, const uint8_t *secret, size_t secretlen, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *iv, size_t ivlen, const ngtcp2_crypto_cipher_ctx *hp_ctx) ngtcp2_conn_install_tx_key() argument 13422 ngtcp2_pkt_write_connection_close( uint8_t *dest, size_t destlen, uint32_t version, const ngtcp2_cid *dcid, const ngtcp2_cid *scid, uint64_t error_code, const uint8_t *reason, size_t reasonlen, ngtcp2_encrypt encrypt, const ngtcp2_crypto_aead *aead, const ngtcp2_crypto_aead_ctx *aead_ctx, const uint8_t *iv, ngtcp2_hp_mask hp_mask, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx) ngtcp2_pkt_write_connection_close() argument [all...] |
H A D | ngtcp2_crypto.h | 121 ngtcp2_crypto_cipher_ctx hp_ctx; member
|
H A D | ngtcp2_ppe.c | 137 rv = cc->hp_mask(mask, &cc->hp, &cc->hp_ctx, buf->begin + ppe->sample_offset); in ngtcp2_ppe_final()
|
/third_party/node/deps/ngtcp2/ngtcp2/lib/includes/ngtcp2/ |
H A D | ngtcp2.h | 2724 * The encryption cipher is |hp|. |hp_ctx| is the cipher context 2743 const ngtcp2_crypto_cipher_ctx *hp_ctx, 3610 const ngtcp2_crypto_cipher_ctx *hp_ctx); 3876 * with a decryption key. |iv| is IV of length |ivlen|. |hp_ctx| is 3883 * and |hp_ctx|. :type:`ngtcp2_delete_crypto_aead_ctx` and 3896 const uint8_t *iv, size_t ivlen, const ngtcp2_crypto_cipher_ctx *hp_ctx); 3904 * with an encryption key. |iv| is IV of length |ivlen|. |hp_ctx| is 3911 * |hp_ctx|. :type:`ngtcp2_delete_crypto_aead_ctx` and 3924 const uint8_t *iv, size_t ivlen, const ngtcp2_crypto_cipher_ctx *hp_ctx); 3931 * packet header protection cipher context object |hp_ctx| t [all...] |
/third_party/node/deps/ngtcp2/ngtcp2/crypto/includes/ngtcp2/ |
H A D | ngtcp2_crypto.h | 315 const ngtcp2_crypto_cipher_ctx *hp_ctx, 330 const ngtcp2_crypto_cipher_ctx *hp_ctx,
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/wolfssl/ |
H A D | wolfssl.c | 275 const ngtcp2_crypto_cipher_ctx *hp_ctx, in ngtcp2_crypto_hp_mask() 278 WOLFSSL_EVP_CIPHER_CTX *actx = hp_ctx->native_handle; in ngtcp2_crypto_hp_mask() 274 ngtcp2_crypto_hp_mask(uint8_t *dest, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx, const uint8_t *sample) ngtcp2_crypto_hp_mask() argument
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/boringssl/ |
H A D | boringssl.c | 368 const ngtcp2_crypto_cipher_ctx *hp_ctx, in ngtcp2_crypto_hp_mask() 371 ngtcp2_crypto_boringssl_cipher_ctx *ctx = hp_ctx->native_handle; in ngtcp2_crypto_hp_mask() 367 ngtcp2_crypto_hp_mask(uint8_t *dest, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx, const uint8_t *sample) ngtcp2_crypto_hp_mask() argument
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/openssl/ |
H A D | openssl.c | 577 const ngtcp2_crypto_cipher_ctx *hp_ctx, in ngtcp2_crypto_hp_mask() 580 EVP_CIPHER_CTX *actx = hp_ctx->native_handle; in ngtcp2_crypto_hp_mask() 576 ngtcp2_crypto_hp_mask(uint8_t *dest, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx, const uint8_t *sample) ngtcp2_crypto_hp_mask() argument
|
/third_party/node/deps/ngtcp2/ngtcp2/crypto/picotls/ |
H A D | picotls.c | 340 const ngtcp2_crypto_cipher_ctx *hp_ctx, in ngtcp2_crypto_hp_mask() 342 ptls_cipher_context_t *actx = hp_ctx->native_handle; in ngtcp2_crypto_hp_mask() 339 ngtcp2_crypto_hp_mask(uint8_t *dest, const ngtcp2_crypto_cipher *hp, const ngtcp2_crypto_cipher_ctx *hp_ctx, const uint8_t *sample) ngtcp2_crypto_hp_mask() argument
|