Lines Matching defs:pkey_op
77 char *passargin, int pkey_op, ENGINE *e,
83 static int do_keyop(EVP_PKEY_CTX *ctx, int pkey_op,
94 int pkey_op = EVP_PKEY_OP_SIGN, key_type = KEY_PRIVKEY;
183 pkey_op = EVP_PKEY_OP_SIGN;
185 pkey_op = EVP_PKEY_OP_VERIFY;
187 pkey_op = EVP_PKEY_OP_VERIFYRECOVER;
189 pkey_op = EVP_PKEY_OP_ENCRYPT;
191 pkey_op = EVP_PKEY_OP_DECRYPT;
193 pkey_op = EVP_PKEY_OP_DERIVE;
216 (peerkey != NULL && pkey_op != EVP_PKEY_OP_DERIVE)) {
221 passargin, pkey_op, e, engine_impl);
247 if (sigfile && (pkey_op != EVP_PKEY_OP_VERIFY)) {
252 if (!sigfile && (pkey_op == EVP_PKEY_OP_VERIFY)) {
260 if (pkey_op != EVP_PKEY_OP_DERIVE) {
320 if (pkey_op == EVP_PKEY_OP_VERIFY) {
330 rv = do_keyop(ctx, pkey_op, NULL, (size_t *)&buf_outlen,
337 rv = do_keyop(ctx, pkey_op,
405 char *passargin, int pkey_op, ENGINE *e,
414 if (((pkey_op == EVP_PKEY_OP_SIGN) || (pkey_op == EVP_PKEY_OP_DECRYPT)
415 || (pkey_op == EVP_PKEY_OP_DERIVE))
462 switch (pkey_op) {
527 static int do_keyop(EVP_PKEY_CTX *ctx, int pkey_op,
532 switch (pkey_op) {