Home
last modified time | relevance | path

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

/third_party/libwebsockets/plugins/ssh-base/crypto/
Dchacha.c230 struct lws_cipher_chacha { struct
234 #define K_1(_keys) &((struct lws_cipher_chacha *)_keys->cipher)->ccctx[0] argument
235 #define K_2(_keys) &((struct lws_cipher_chacha *)_keys->cipher)->ccctx[1]
245 keys->cipher = malloc(sizeof(struct lws_cipher_chacha)); in lws_chacha_activate()
249 memset(keys->cipher, 0, sizeof(struct lws_cipher_chacha)); in lws_chacha_activate()