struct asn1_builder plaintext;
struct asn1_builder ciphertext;
+ /* Test key matching */
+ okx ( pubkey_match ( pubkey, &test->private, &test->public ) == 0,
+ file, line );
+
/* Test decrypting with private key to obtain known plaintext */
plaintext.data = NULL;
plaintext.len = 0;
struct asn1_builder signature = { NULL, 0 };
uint8_t *bad;
+ /* Test key matching */
+ okx ( pubkey_match ( pubkey, &test->private, &test->public ) == 0,
+ file, line );
+
/* Construct digest over plaintext */
digest_init ( digest, digestctx );
digest_update ( digest, digestctx, test->plaintext,