]> git.ipfire.org Git - thirdparty/asterisk.git/commit
test: Add coverage for res_crypto
authorPhilip Prindeville <philipp@redfish-solutions.com>
Wed, 4 May 2022 00:27:48 +0000 (18:27 -0600)
committerGeorge Joseph <gjoseph@digium.com>
Mon, 12 Sep 2022 19:57:52 +0000 (14:57 -0500)
commit63e7832f26076b0907772172c52f996d0a726923
treed4407e50777f10cdbeb5f9eca5e874bb11f5ad42
parent6f7280a4cac11791a8b21f285eab1a7838183751
test: Add coverage for res_crypto

We're validating the following functionality:

encrypting a block of data with RSA
decrypting a block of data with RSA
signing a block of data with RSA
verifying a signature with RSA
encrypting a block of data with AES-ECB
encrypting a block of data with AES-ECB

as well as accessing test keys from the keystore.

ASTERISK-30045 #close

Change-Id: I0d10e7b41009c5290a4356c6480e636712d5c96d
include/asterisk/crypto.h
res/res_crypto.c
tests/Makefile
tests/keys/rsa_key1.key [new file with mode: 0644]
tests/keys/rsa_key1.pub [new file with mode: 0644]
tests/test_crypto.c [new file with mode: 0644]