#include <stdio.h>
#include <stdlib.h>
#include "cryptlib.h"
#include <openssl/objects.h>
#include <openssl/evp.h>
#include "evp_locl.h"
Go to the source code of this file.
|
int | EVP_PKEY_sign_init (EVP_PKEY_CTX *ctx) |
|
int | EVP_PKEY_sign (EVP_PKEY_CTX *ctx, unsigned char *sig, size_t *siglen, const unsigned char *tbs, size_t tbslen) |
|
int | EVP_PKEY_verify_init (EVP_PKEY_CTX *ctx) |
|
int | EVP_PKEY_verify (EVP_PKEY_CTX *ctx, const unsigned char *sig, size_t siglen, const unsigned char *tbs, size_t tbslen) |
|
int | EVP_PKEY_verify_recover_init (EVP_PKEY_CTX *ctx) |
|
int | EVP_PKEY_verify_recover (EVP_PKEY_CTX *ctx, unsigned char *rout, size_t *routlen, const unsigned char *sig, size_t siglen) |
|
int | EVP_PKEY_encrypt_init (EVP_PKEY_CTX *ctx) |
|
int | EVP_PKEY_encrypt (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) |
|
int | EVP_PKEY_decrypt_init (EVP_PKEY_CTX *ctx) |
|
int | EVP_PKEY_decrypt (EVP_PKEY_CTX *ctx, unsigned char *out, size_t *outlen, const unsigned char *in, size_t inlen) |
|
int | EVP_PKEY_derive_init (EVP_PKEY_CTX *ctx) |
|
int | EVP_PKEY_derive_set_peer (EVP_PKEY_CTX *ctx, EVP_PKEY *peer) |
|
int | EVP_PKEY_derive (EVP_PKEY_CTX *ctx, unsigned char *key, size_t *pkeylen) |
|
#define M_check_autoarg |
( |
|
ctx, |
|
|
|
arg, |
|
|
|
arglen, |
|
|
|
err |
|
) |
| |
Value:
{ \
{ \
*arglen = pksize; \
return 1; \
} \
else if (*arglen < pksize) \
{ \
return 0; \
} \
}
Definition at line 66 of file pmeth_fn.c.
int EVP_PKEY_decrypt |
( |
EVP_PKEY_CTX * |
ctx, |
|
|
unsigned char * |
out, |
|
|
size_t * |
outlen, |
|
|
const unsigned char * |
in, |
|
|
size_t |
inlen |
|
) |
| |
int EVP_PKEY_derive |
( |
EVP_PKEY_CTX * |
ctx, |
|
|
unsigned char * |
key, |
|
|
size_t * |
pkeylen |
|
) |
| |
int EVP_PKEY_encrypt |
( |
EVP_PKEY_CTX * |
ctx, |
|
|
unsigned char * |
out, |
|
|
size_t * |
outlen, |
|
|
const unsigned char * |
in, |
|
|
size_t |
inlen |
|
) |
| |
int EVP_PKEY_sign |
( |
EVP_PKEY_CTX * |
ctx, |
|
|
unsigned char * |
sig, |
|
|
size_t * |
siglen, |
|
|
const unsigned char * |
tbs, |
|
|
size_t |
tbslen |
|
) |
| |
int EVP_PKEY_verify |
( |
EVP_PKEY_CTX * |
ctx, |
|
|
const unsigned char * |
sig, |
|
|
size_t |
siglen, |
|
|
const unsigned char * |
tbs, |
|
|
size_t |
tbslen |
|
) |
| |
int EVP_PKEY_verify_recover |
( |
EVP_PKEY_CTX * |
ctx, |
|
|
unsigned char * |
rout, |
|
|
size_t * |
routlen, |
|
|
const unsigned char * |
sig, |
|
|
size_t |
siglen |
|
) |
| |