Paul Yang 2aee35d37d Support key check in EVP interface
A new method is added to EVP_PKEY_METH as:

    int (*check) (EVP_PKEY_CTX *ctx);

and to EVP_PKEY_ASN1_METHOD as:

    int (*pkey_check) (EVP_PKEY_CTX *ctx);

This is used to check the validity of a specific key.

The order of calls is:
EVP_PKEY_check -> pmeth.check -> ameth.pkey_check.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4337)
2017-09-13 20:38:14 +02:00
..
2017-07-03 10:40:33 -04:00
2017-04-25 11:13:39 +01:00
2017-07-03 10:40:33 -04:00
2017-08-01 09:30:11 +10:00
2017-08-01 09:30:11 +10:00
2017-03-12 08:27:30 -04:00
2017-03-20 16:25:22 -04:00
2017-03-11 08:56:44 -05:00
2017-08-23 17:33:27 -04:00
2017-03-11 08:56:44 -05:00
2017-04-07 13:48:19 -04:00
2017-07-05 12:53:28 -05:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-07-03 19:26:56 -04:00
2017-03-11 08:56:44 -05:00
2017-03-11 08:56:44 -05:00
2017-07-03 10:40:33 -04:00
2017-03-11 08:56:44 -05:00
2017-08-01 09:30:11 +10:00
2016-11-11 13:06:43 +01:00
2017-08-01 09:30:11 +10:00
2017-03-11 08:56:44 -05:00
2017-08-01 09:30:11 +10:00
2017-08-23 23:54:51 +01:00
2017-08-01 09:30:11 +10:00
2017-09-02 09:35:50 -04:00
2017-08-01 09:30:11 +10:00
2017-07-03 10:40:33 -04:00
2017-08-01 09:30:11 +10:00
2017-05-08 21:17:28 +02:00
2017-07-03 10:40:33 -04:00
2017-06-11 16:21:33 -04:00
2017-07-12 11:09:39 -04:00
2017-07-22 14:00:07 -04:00
2017-08-01 09:30:11 +10:00
2017-03-11 08:56:44 -05:00
2017-08-11 10:16:33 -04:00
2017-07-03 10:40:33 -04:00
2017-03-29 07:18:57 +02:00
2017-03-30 14:18:11 +02:00
2017-03-29 07:14:29 +02:00
2017-07-03 10:40:33 -04:00
2017-06-11 16:21:33 -04:00
2017-04-25 22:12:35 +01:00
2017-07-03 10:40:33 -04:00