mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
e9492d1cec
Two demos are provided: one using RSA-PSS directly in which a digest must be provided, and one using RSA-PSS with the EVP_DigestSign APIs which performs the hashing for you. Fixes #14113. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/17800)
23 lines
452 B
Makefile
23 lines
452 B
Makefile
#
|
|
# To run the demos when linked with a shared library (default):
|
|
#
|
|
# LD_LIBRARY_PATH=../.. ./EVP_Signature_demo
|
|
|
|
CFLAGS = -I../../include -g -Wall
|
|
LDFLAGS = -L../..
|
|
LDLIBS = -lcrypto
|
|
|
|
all: EVP_Signature_demo rsa_pss_direct rsa_pss_hash
|
|
|
|
%.o: %.c
|
|
$(CC) $(CFLAGS) -c $<
|
|
|
|
EVP_Signature_demo: EVP_Signature_demo.o
|
|
rsa_pss_direct: rsa_pss_direct.o
|
|
rsa_pss_hash: rsa_pss_hash.o
|
|
|
|
test: ;
|
|
|
|
clean:
|
|
$(RM) *.o EVP_Signature_demo rsa_pss_direct rsa_pss_hash
|