]> 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:39 +0000 (14:57 -0500)
commit0972106d5101d7163133bcd559ba62cc86792224
treeb6967ba4f86b38001721912e52041da7b8fb09db
parent53f8cc1d49771282b6bec9da8719850139bc22c6
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]