Skip to content

Commit e2e1df7

Browse files
committed
bearssl-missing-crypto
1 parent ae7d2ca commit e2e1df7

18 files changed

Lines changed: 946 additions & 327 deletions

File tree

include/libwebsockets/lws-genaes.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,10 @@ struct lws_genaes_ctx {
109109
union {
110110
br_aes_ct_cbcenc_keys cbcenc;
111111
br_aes_ct_cbcdec_keys cbcdec;
112-
br_aes_ct_ctr_keys ctr;
112+
br_aes_ct_ctr_keys ctr; /* GCM's underlying CTR */
113+
br_aes_ct_ctrcbc_keys ctrcbc; /* CTR mode */
113114
} u;
114115
br_gcm_context gcm;
115-
const br_block_cbcenc_class *cbcenc_vtable;
116-
const br_block_cbcdec_class *cbcdec_vtable;
117-
const br_block_ctr_class *ctr_vtable;
118116
#elif defined(LWS_WITH_OPENHITLS)
119117
CRYPT_EAL_CipherCtx *ctx;
120118
#else

0 commit comments

Comments
 (0)