Mercurial > hg > nginx
view src/event/quic/bpf/makefile @ 8694:cef042935003 quic
QUIC: the "quic_host_key" directive.
The token generation in QUIC is reworked. Single host key is used to generate
all required keys of needed sizes using HKDF.
The "quic_stateless_reset_token_key" directive is removed. Instead, the
"quic_host_key" directive is used, which reads key from file, or sets it
to random bytes if not specified.
author | Vladimir Homutov <vl@nginx.com> |
---|---|
date | Mon, 08 Feb 2021 16:49:33 +0300 |
parents | 7df607cb2d11 |
children |
line wrap: on
line source
CFLAGS=-O2 -Wall LICENSE=BSD PROGNAME=ngx_quic_reuseport_helper RESULT=ngx_event_quic_bpf_code DEST=../$(RESULT).c all: $(RESULT) $(RESULT): $(PROGNAME).o LICENSE=$(LICENSE) PROGNAME=$(PROGNAME) bash ./bpfgen.sh $< > $@ DEFS=-DPROGNAME=\"$(PROGNAME)\" \ -DLICENSE_$(LICENSE) \ -DLICENSE=\"$(LICENSE)\" \ $(PROGNAME).o: $(PROGNAME).c clang $(CFLAGS) $(DEFS) -target bpf -c $< -o $@ install: $(RESULT) cp $(RESULT) $(DEST) clean: @rm -f $(RESULT) *.o debug: $(PROGNAME).o llvm-objdump -S -no-show-raw-insn $< .DELETE_ON_ERROR: