Skip to content

Commit

Permalink
Corrected struct stack type parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Futaura committed Dec 21, 2023
1 parent ec12bf6 commit eed1668
Show file tree
Hide file tree
Showing 12 changed files with 94 additions and 94 deletions.
18 changes: 9 additions & 9 deletions include/defines/amisslext.h
Original file line number Diff line number Diff line change
Expand Up @@ -6638,7 +6638,7 @@ typedef ULONG _sfdc_vararg;

#define OSSL_STACK_OF_X509_free(___certs) \
AROS_LC1(void, OSSL_STACK_OF_X509_free, \
AROS_LCA(struct stack_st_X509 *, (___certs), A0), \
AROS_LCA(STACK_OF(X509) *, (___certs), A0), \
struct Library *, AMISSLEXT_BASE_NAME, 1022, Amisslext)

#define OSSL_trace_string(___out, ___text, ___full, ___data, ___size) \
Expand Down Expand Up @@ -6711,19 +6711,19 @@ typedef ULONG _sfdc_vararg;

#define OSSL_CMP_ITAV_new_caCerts(___caCerts) \
AROS_LC1(OSSL_CMP_ITAV *, OSSL_CMP_ITAV_new_caCerts, \
AROS_LCA(const struct stack_st_X509 *, (___caCerts), A0), \
AROS_LCA(const STACK_OF(X509) *, (___caCerts), A0), \
struct Library *, AMISSLEXT_BASE_NAME, 1033, Amisslext)

#define OSSL_CMP_ITAV_get0_caCerts(___itav, ___out) \
AROS_LC2(int, OSSL_CMP_ITAV_get0_caCerts, \
AROS_LCA(const OSSL_CMP_ITAV *, (___itav), A0), \
AROS_LCA(struct stack_st_X509 **, (___out), A1), \
AROS_LCA(STACK_OF(X509) **, (___out), A1), \
struct Library *, AMISSLEXT_BASE_NAME, 1034, Amisslext)

#define OSSL_CMP_get1_caCerts(___ctx, ___out) \
AROS_LC2(int, OSSL_CMP_get1_caCerts, \
AROS_LCA(OSSL_CMP_CTX *, (___ctx), A0), \
AROS_LCA(struct stack_st_X509 **, (___out), A1), \
AROS_LCA(STACK_OF(X509) **, (___out), A1), \
struct Library *, AMISSLEXT_BASE_NAME, 1035, Amisslext)

#define OSSL_CMP_ITAV_new_rootCaCert(___rootCaCert) \
Expand Down Expand Up @@ -6825,10 +6825,10 @@ typedef ULONG _sfdc_vararg;
AROS_LC9(BIO *, CMS_SignedData_verify, \
AROS_LCA(CMS_SignedData *, (___sd), A0), \
AROS_LCA(BIO *, (___detached_data), A1), \
AROS_LCA(struct stack_st_X509 *, (___scerts), A2), \
AROS_LCA(STACK_OF(X509) *, (___scerts), A2), \
AROS_LCA(X509_STORE *, (___store), A3), \
AROS_LCA(struct stack_st_X509 *, (___extra), D0), \
AROS_LCA(struct stack_st_X509_CRL *, (___crls), D1), \
AROS_LCA(STACK_OF(X509) *, (___extra), D0), \
AROS_LCA(STACK_OF(X509_CRL) *, (___crls), D1), \
AROS_LCA(unsigned int, (___flags), D2), \
AROS_LCA(OSSL_LIB_CTX *, (___libctx), D3), \
AROS_LCA(const char *, (___propq), D4), \
Expand Down Expand Up @@ -6914,7 +6914,7 @@ typedef ULONG _sfdc_vararg;
#define PKCS12_SAFEBAG_set0_attrs(___bag, ___attrs) \
AROS_LC2(void, PKCS12_SAFEBAG_set0_attrs, \
AROS_LCA(PKCS12_SAFEBAG *, (___bag), A0), \
AROS_LCA(struct stack_st_X509_ATTRIBUTE *, (___attrs), A1), \
AROS_LCA(STACK_OF(X509_ATTRIBUTE) *, (___attrs), A1), \
struct Library *, AMISSLEXT_BASE_NAME, 1064, Amisslext)

#define PKCS12_create_ex2_amiga_1(___pass, ___name, ___pkey, ___cert, ___ca, ___nid_key, ___nid_cert, ___moreargs) \
Expand All @@ -6923,7 +6923,7 @@ typedef ULONG _sfdc_vararg;
AROS_LCA(const char *, (___name), A1), \
AROS_LCA(EVP_PKEY *, (___pkey), A2), \
AROS_LCA(X509 *, (___cert), A3), \
AROS_LCA(struct stack_st_X509 *, (___ca), D0), \
AROS_LCA(STACK_OF(X509) *, (___ca), D0), \
AROS_LCA(int, (___nid_key), D1), \
AROS_LCA(int, (___nid_cert), D2), \
AROS_LCA(void *, (___moreargs), D3), \
Expand Down
14 changes: 7 additions & 7 deletions include/inline/amisslext.h
Original file line number Diff line number Diff line change
Expand Up @@ -4099,7 +4099,7 @@ typedef ULONG _sfdc_vararg;
, AMISSLEXT_BASE_NAME)

#define OSSL_STACK_OF_X509_free(___certs) \
LP1NR(0x17f4, OSSL_STACK_OF_X509_free , struct stack_st_X509 *, ___certs, a0,\
LP1NR(0x17f4, OSSL_STACK_OF_X509_free , STACK_OF(X509) *, ___certs, a0,\
, AMISSLEXT_BASE_NAME)

#define OSSL_trace_string(___out, ___text, ___full, ___data, ___size) \
Expand Down Expand Up @@ -4143,15 +4143,15 @@ typedef ULONG _sfdc_vararg;
, AMISSLEXT_BASE_NAME)

#define OSSL_CMP_ITAV_new_caCerts(___caCerts) \
LP1(0x1836, OSSL_CMP_ITAV *, OSSL_CMP_ITAV_new_caCerts , const struct stack_st_X509 *, ___caCerts, a0,\
LP1(0x1836, OSSL_CMP_ITAV *, OSSL_CMP_ITAV_new_caCerts , const STACK_OF(X509) *, ___caCerts, a0,\
, AMISSLEXT_BASE_NAME)

#define OSSL_CMP_ITAV_get0_caCerts(___itav, ___out) \
LP2(0x183c, int, OSSL_CMP_ITAV_get0_caCerts , const OSSL_CMP_ITAV *, ___itav, a0, struct stack_st_X509 **, ___out, a1,\
LP2(0x183c, int, OSSL_CMP_ITAV_get0_caCerts , const OSSL_CMP_ITAV *, ___itav, a0, STACK_OF(X509) **, ___out, a1,\
, AMISSLEXT_BASE_NAME)

#define OSSL_CMP_get1_caCerts(___ctx, ___out) \
LP2(0x1842, int, OSSL_CMP_get1_caCerts , OSSL_CMP_CTX *, ___ctx, a0, struct stack_st_X509 **, ___out, a1,\
LP2(0x1842, int, OSSL_CMP_get1_caCerts , OSSL_CMP_CTX *, ___ctx, a0, STACK_OF(X509) **, ___out, a1,\
, AMISSLEXT_BASE_NAME)

#define OSSL_CMP_ITAV_new_rootCaCert(___rootCaCert) \
Expand Down Expand Up @@ -4215,7 +4215,7 @@ typedef ULONG _sfdc_vararg;
, AMISSLEXT_BASE_NAME)

#define CMS_SignedData_verify(___sd, ___detached_data, ___scerts, ___store, ___extra, ___crls, ___flags, ___libctx, ___propq) \
LP9(0x18a2, BIO *, CMS_SignedData_verify , CMS_SignedData *, ___sd, a0, BIO *, ___detached_data, a1, struct stack_st_X509 *, ___scerts, a2, X509_STORE *, ___store, a3, struct stack_st_X509 *, ___extra, d0, struct stack_st_X509_CRL *, ___crls, d1, unsigned int, ___flags, d2, OSSL_LIB_CTX *, ___libctx, d3, const char *, ___propq, d4,\
LP9(0x18a2, BIO *, CMS_SignedData_verify , CMS_SignedData *, ___sd, a0, BIO *, ___detached_data, a1, STACK_OF(X509) *, ___scerts, a2, X509_STORE *, ___store, a3, STACK_OF(X509) *, ___extra, d0, STACK_OF(X509_CRL) *, ___crls, d1, unsigned int, ___flags, d2, OSSL_LIB_CTX *, ___libctx, d3, const char *, ___propq, d4,\
, AMISSLEXT_BASE_NAME)

#define BIO_s_dgram_mem() \
Expand Down Expand Up @@ -4267,11 +4267,11 @@ typedef ULONG _sfdc_vararg;
, AMISSLEXT_BASE_NAME)

#define PKCS12_SAFEBAG_set0_attrs(___bag, ___attrs) \
LP2NR(0x18f0, PKCS12_SAFEBAG_set0_attrs , PKCS12_SAFEBAG *, ___bag, a0, struct stack_st_X509_ATTRIBUTE *, ___attrs, a1,\
LP2NR(0x18f0, PKCS12_SAFEBAG_set0_attrs , PKCS12_SAFEBAG *, ___bag, a0, STACK_OF(X509_ATTRIBUTE) *, ___attrs, a1,\
, AMISSLEXT_BASE_NAME)

#define PKCS12_create_ex2_amiga_1(___pass, ___name, ___pkey, ___cert, ___ca, ___nid_key, ___nid_cert, ___moreargs) \
LP8(0x18f6, PKCS12 *, PKCS12_create_ex2_amiga_1 , const char *, ___pass, a0, const char *, ___name, a1, EVP_PKEY *, ___pkey, a2, X509 *, ___cert, a3, struct stack_st_X509 *, ___ca, d0, int, ___nid_key, d1, int, ___nid_cert, d2, void *, ___moreargs, d3,\
LP8(0x18f6, PKCS12 *, PKCS12_create_ex2_amiga_1 , const char *, ___pass, a0, const char *, ___name, a1, EVP_PKEY *, ___pkey, a2, X509 *, ___cert, a3, STACK_OF(X509) *, ___ca, d0, int, ___nid_key, d1, int, ___nid_cert, d2, void *, ___moreargs, d3,\
, AMISSLEXT_BASE_NAME)

#define PKCS12_create_ex2_amiga_2(___iter, ___mac_iter, ___keytype, ___ctx, ___propq, ___cb, ___cbarg) \
Expand Down
14 changes: 7 additions & 7 deletions include/inline/amisslext_protos.h
Original file line number Diff line number Diff line change
Expand Up @@ -3073,7 +3073,7 @@ const BIO_METHOD * __BIO_f_zlib(__reg("a6") struct Library * ) = "\tjsr\t-6120(a
void __X509_PUBKEY_set0_public_key(__reg("a6") struct Library * , __reg("a0") X509_PUBKEY * pub , __reg("a1") unsigned char * penc , __reg("d0") int penclen ) = "\tjsr\t-6126(a6)";
#define X509_PUBKEY_set0_public_key(pub, penc, penclen) __X509_PUBKEY_set0_public_key(AmiSSLExtBase, (pub), (penc), (penclen))

void __OSSL_STACK_OF_X509_free(__reg("a6") struct Library * , __reg("a0") struct stack_st_X509 * certs ) = "\tjsr\t-6132(a6)";
void __OSSL_STACK_OF_X509_free(__reg("a6") struct Library * , __reg("a0") STACK_OF(X509) * certs ) = "\tjsr\t-6132(a6)";
#define OSSL_STACK_OF_X509_free(certs) __OSSL_STACK_OF_X509_free(AmiSSLExtBase, (certs))

int __OSSL_trace_string(__reg("a6") struct Library * , __reg("a0") BIO * out , __reg("d0") int text , __reg("d1") int full , __reg("a1") const unsigned char * data , __reg("d2") size_t size ) = "\tjsr\t-6138(a6)";
Expand Down Expand Up @@ -3106,13 +3106,13 @@ void __ASYNC_get_mem_functions(__reg("a6") struct Library * , __reg("a0") ASYNC_
BIO_ADDR * __BIO_ADDR_dup(__reg("a6") struct Library * , __reg("a0") const BIO_ADDR * ap ) = "\tjsr\t-6192(a6)";
#define BIO_ADDR_dup(ap) __BIO_ADDR_dup(AmiSSLExtBase, (ap))

OSSL_CMP_ITAV * __OSSL_CMP_ITAV_new_caCerts(__reg("a6") struct Library * , __reg("a0") const struct stack_st_X509 * caCerts ) = "\tjsr\t-6198(a6)";
OSSL_CMP_ITAV * __OSSL_CMP_ITAV_new_caCerts(__reg("a6") struct Library * , __reg("a0") const STACK_OF(X509) * caCerts ) = "\tjsr\t-6198(a6)";
#define OSSL_CMP_ITAV_new_caCerts(caCerts) __OSSL_CMP_ITAV_new_caCerts(AmiSSLExtBase, (caCerts))

int __OSSL_CMP_ITAV_get0_caCerts(__reg("a6") struct Library * , __reg("a0") const OSSL_CMP_ITAV * itav , __reg("a1") struct stack_st_X509 ** out ) = "\tjsr\t-6204(a6)";
int __OSSL_CMP_ITAV_get0_caCerts(__reg("a6") struct Library * , __reg("a0") const OSSL_CMP_ITAV * itav , __reg("a1") STACK_OF(X509) ** out ) = "\tjsr\t-6204(a6)";
#define OSSL_CMP_ITAV_get0_caCerts(itav, out) __OSSL_CMP_ITAV_get0_caCerts(AmiSSLExtBase, (itav), (out))

int __OSSL_CMP_get1_caCerts(__reg("a6") struct Library * , __reg("a0") OSSL_CMP_CTX * ctx , __reg("a1") struct stack_st_X509 ** out ) = "\tjsr\t-6210(a6)";
int __OSSL_CMP_get1_caCerts(__reg("a6") struct Library * , __reg("a0") OSSL_CMP_CTX * ctx , __reg("a1") STACK_OF(X509) ** out ) = "\tjsr\t-6210(a6)";
#define OSSL_CMP_get1_caCerts(ctx, out) __OSSL_CMP_get1_caCerts(AmiSSLExtBase, (ctx), (out))

OSSL_CMP_ITAV * __OSSL_CMP_ITAV_new_rootCaCert(__reg("a6") struct Library * , __reg("a0") const X509 * rootCaCert ) = "\tjsr\t-6216(a6)";
Expand Down Expand Up @@ -3160,7 +3160,7 @@ void __CMS_SignedData_free(__reg("a6") struct Library * , __reg("a0") CMS_Signed
CMS_SignedData * __CMS_SignedData_new(__reg("a6") struct Library * ) = "\tjsr\t-6300(a6)";
#define CMS_SignedData_new() __CMS_SignedData_new(AmiSSLExtBase)

BIO * __CMS_SignedData_verify(__reg("a6") struct Library * , __reg("a0") CMS_SignedData * sd , __reg("a1") BIO * detached_data , __reg("a2") struct stack_st_X509 * scerts , __reg("a3") X509_STORE * store , __reg("d0") struct stack_st_X509 * extra , __reg("d1") struct stack_st_X509_CRL * crls , __reg("d2") unsigned int flags , __reg("d3") OSSL_LIB_CTX * libctx , __reg("d4") const char * propq ) = "\tjsr\t-6306(a6)";
BIO * __CMS_SignedData_verify(__reg("a6") struct Library * , __reg("a0") CMS_SignedData * sd , __reg("a1") BIO * detached_data , __reg("a2") STACK_OF(X509) * scerts , __reg("a3") X509_STORE * store , __reg("d0") STACK_OF(X509) * extra , __reg("d1") STACK_OF(X509_CRL) * crls , __reg("d2") unsigned int flags , __reg("d3") OSSL_LIB_CTX * libctx , __reg("d4") const char * propq ) = "\tjsr\t-6306(a6)";
#define CMS_SignedData_verify(sd, detached_data, scerts, store, extra, crls, flags, libctx, propq) __CMS_SignedData_verify(AmiSSLExtBase, (sd), (detached_data), (scerts), (store), (extra), (crls), (flags), (libctx), (propq))

const BIO_METHOD * __BIO_s_dgram_mem(__reg("a6") struct Library * ) = "\tjsr\t-6312(a6)";
Expand Down Expand Up @@ -3199,10 +3199,10 @@ int __EVP_PKEY_auth_encapsulate_init(__reg("a6") struct Library * , __reg("a0")
int __EVP_PKEY_auth_decapsulate_init(__reg("a6") struct Library * , __reg("a0") EVP_PKEY_CTX * ctx , __reg("a1") EVP_PKEY * authpub , __reg("a2") const OSSL_PARAM * params ) = "\tjsr\t-6378(a6)";
#define EVP_PKEY_auth_decapsulate_init(ctx, authpub, params) __EVP_PKEY_auth_decapsulate_init(AmiSSLExtBase, (ctx), (authpub), (params))

void __PKCS12_SAFEBAG_set0_attrs(__reg("a6") struct Library * , __reg("a0") PKCS12_SAFEBAG * bag , __reg("a1") struct stack_st_X509_ATTRIBUTE * attrs ) = "\tjsr\t-6384(a6)";
void __PKCS12_SAFEBAG_set0_attrs(__reg("a6") struct Library * , __reg("a0") PKCS12_SAFEBAG * bag , __reg("a1") STACK_OF(X509_ATTRIBUTE) * attrs ) = "\tjsr\t-6384(a6)";
#define PKCS12_SAFEBAG_set0_attrs(bag, attrs) __PKCS12_SAFEBAG_set0_attrs(AmiSSLExtBase, (bag), (attrs))

PKCS12 * __PKCS12_create_ex2_amiga_1(__reg("a6") struct Library * , __reg("a0") const char * pass , __reg("a1") const char * name , __reg("a2") EVP_PKEY * pkey , __reg("a3") X509 * cert , __reg("d0") struct stack_st_X509 * ca , __reg("d1") int nid_key , __reg("d2") int nid_cert , __reg("d3") void * moreargs ) = "\tjsr\t-6390(a6)";
PKCS12 * __PKCS12_create_ex2_amiga_1(__reg("a6") struct Library * , __reg("a0") const char * pass , __reg("a1") const char * name , __reg("a2") EVP_PKEY * pkey , __reg("a3") X509 * cert , __reg("d0") STACK_OF(X509) * ca , __reg("d1") int nid_key , __reg("d2") int nid_cert , __reg("d3") void * moreargs ) = "\tjsr\t-6390(a6)";
#define PKCS12_create_ex2_amiga_1(pass, name, pkey, cert, ca, nid_key, nid_cert, moreargs) __PKCS12_create_ex2_amiga_1(AmiSSLExtBase, (pass), (name), (pkey), (cert), (ca), (nid_key), (nid_cert), (moreargs))

void * __PKCS12_create_ex2_amiga_2(__reg("a6") struct Library * , __reg("d0") int iter , __reg("d1") int mac_iter , __reg("d2") int keytype , __reg("a1") OSSL_LIB_CTX * ctx , __reg("a2") const char * propq , __reg("a3") PKCS12_create_cb * cb , __reg("d3") void * cbarg ) = "\tjsr\t-6396(a6)";
Expand Down
14 changes: 7 additions & 7 deletions include/interfaces/amissl.h
Original file line number Diff line number Diff line change
Expand Up @@ -6521,7 +6521,7 @@ struct AmiSSLIFace
APICALL int (*SSL_is_stream_local)(struct AmiSSLIFace *Self, SSL * s);
APICALL const BIO_METHOD * (*BIO_f_zlib)(struct AmiSSLIFace *Self);
APICALL void (*X509_PUBKEY_set0_public_key)(struct AmiSSLIFace *Self, X509_PUBKEY * pub, unsigned char * penc, int penclen);
APICALL void (*OSSL_STACK_OF_X509_free)(struct AmiSSLIFace *Self, struct stack_st_X509 * certs);
APICALL void (*OSSL_STACK_OF_X509_free)(struct AmiSSLIFace *Self, STACK_OF(X509) * certs);
APICALL int (*OSSL_trace_string)(struct AmiSSLIFace *Self, BIO * out, int text, int full, const unsigned char * data, size_t size);
APICALL BIGNUM * (*BN_signed_bin2bn)(struct AmiSSLIFace *Self, const unsigned char * s, int len, BIGNUM * ret);
APICALL int (*BN_signed_bn2bin)(struct AmiSSLIFace *Self, const BIGNUM * a, unsigned char * to, int tolen);
Expand All @@ -6532,9 +6532,9 @@ struct AmiSSLIFace
APICALL int (*ASYNC_set_mem_functions)(struct AmiSSLIFace *Self, ASYNC_stack_alloc_fn alloc_fn, ASYNC_stack_free_fn free_fn);
APICALL void (*ASYNC_get_mem_functions)(struct AmiSSLIFace *Self, ASYNC_stack_alloc_fn * alloc_fn, ASYNC_stack_free_fn * free_fn);
APICALL BIO_ADDR * (*BIO_ADDR_dup)(struct AmiSSLIFace *Self, const BIO_ADDR * ap);
APICALL OSSL_CMP_ITAV * (*OSSL_CMP_ITAV_new_caCerts)(struct AmiSSLIFace *Self, const struct stack_st_X509 * caCerts);
APICALL int (*OSSL_CMP_ITAV_get0_caCerts)(struct AmiSSLIFace *Self, const OSSL_CMP_ITAV * itav, struct stack_st_X509 ** out);
APICALL int (*OSSL_CMP_get1_caCerts)(struct AmiSSLIFace *Self, OSSL_CMP_CTX * ctx, struct stack_st_X509 ** out);
APICALL OSSL_CMP_ITAV * (*OSSL_CMP_ITAV_new_caCerts)(struct AmiSSLIFace *Self, const STACK_OF(X509) * caCerts);
APICALL int (*OSSL_CMP_ITAV_get0_caCerts)(struct AmiSSLIFace *Self, const OSSL_CMP_ITAV * itav, STACK_OF(X509) ** out);
APICALL int (*OSSL_CMP_get1_caCerts)(struct AmiSSLIFace *Self, OSSL_CMP_CTX * ctx, STACK_OF(X509) ** out);
APICALL OSSL_CMP_ITAV * (*OSSL_CMP_ITAV_new_rootCaCert)(struct AmiSSLIFace *Self, const X509 * rootCaCert);
APICALL int (*OSSL_CMP_ITAV_get0_rootCaCert)(struct AmiSSLIFace *Self, const OSSL_CMP_ITAV * itav, X509 ** out);
APICALL OSSL_CMP_ITAV * (*OSSL_CMP_ITAV_new_rootCaKeyUpdate)(struct AmiSSLIFace *Self, const X509 * newWithNew, const X509 * newWithOld, const X509 * oldWithNew);
Expand All @@ -6550,7 +6550,7 @@ struct AmiSSLIFace
APICALL BIO * (*CMS_EnvelopedData_decrypt)(struct AmiSSLIFace *Self, CMS_EnvelopedData * env, BIO * detached_data, EVP_PKEY * pkey, X509 * cert, ASN1_OCTET_STRING * secret, unsigned int flags, OSSL_LIB_CTX * libctx, const char * propq);
APICALL void (*CMS_SignedData_free)(struct AmiSSLIFace *Self, CMS_SignedData * a);
APICALL CMS_SignedData * (*CMS_SignedData_new)(struct AmiSSLIFace *Self);
APICALL BIO * (*CMS_SignedData_verify)(struct AmiSSLIFace *Self, CMS_SignedData * sd, BIO * detached_data, struct stack_st_X509 * scerts, X509_STORE * store, struct stack_st_X509 * extra, struct stack_st_X509_CRL * crls, unsigned int flags, OSSL_LIB_CTX * libctx, const char * propq);
APICALL BIO * (*CMS_SignedData_verify)(struct AmiSSLIFace *Self, CMS_SignedData * sd, BIO * detached_data, STACK_OF(X509) * scerts, X509_STORE * store, STACK_OF(X509) * extra, STACK_OF(X509_CRL) * crls, unsigned int flags, OSSL_LIB_CTX * libctx, const char * propq);
APICALL const BIO_METHOD * (*BIO_s_dgram_mem)(struct AmiSSLIFace *Self);
APICALL int (*BIO_recvmmsg)(struct AmiSSLIFace *Self, BIO * b, BIO_MSG * msg, size_t stride, size_t num_msg, uint64_t flags, size_t * msgs_processed);
APICALL int (*BIO_sendmmsg)(struct AmiSSLIFace *Self, BIO * b, BIO_MSG * msg, size_t stride, size_t num_msg, uint64_t flags, size_t * msgs_processed);
Expand All @@ -6563,8 +6563,8 @@ struct AmiSSLIFace
APICALL int (*BIO_new_bio_dgram_pair)(struct AmiSSLIFace *Self, BIO ** bio1, size_t writebuf1, BIO ** bio2, size_t writebuf2);
APICALL int (*EVP_PKEY_auth_encapsulate_init)(struct AmiSSLIFace *Self, EVP_PKEY_CTX * ctx, EVP_PKEY * authpriv, const OSSL_PARAM * params);
APICALL int (*EVP_PKEY_auth_decapsulate_init)(struct AmiSSLIFace *Self, EVP_PKEY_CTX * ctx, EVP_PKEY * authpub, const OSSL_PARAM * params);
APICALL void (*PKCS12_SAFEBAG_set0_attrs)(struct AmiSSLIFace *Self, PKCS12_SAFEBAG * bag, struct stack_st_X509_ATTRIBUTE * attrs);
APICALL PKCS12 * (*PKCS12_create_ex2_amiga_1)(struct AmiSSLIFace *Self, const char * pass, const char * name, EVP_PKEY * pkey, X509 * cert, struct stack_st_X509 * ca, int nid_key, int nid_cert, void * moreargs);
APICALL void (*PKCS12_SAFEBAG_set0_attrs)(struct AmiSSLIFace *Self, PKCS12_SAFEBAG * bag, STACK_OF(X509_ATTRIBUTE) * attrs);
APICALL PKCS12 * (*PKCS12_create_ex2_amiga_1)(struct AmiSSLIFace *Self, const char * pass, const char * name, EVP_PKEY * pkey, X509 * cert, STACK_OF(X509) * ca, int nid_key, int nid_cert, void * moreargs);
APICALL void * (*PKCS12_create_ex2_amiga_2)(struct AmiSSLIFace *Self, int iter, int mac_iter, int keytype, OSSL_LIB_CTX * ctx, const char * propq, PKCS12_create_cb * cb, void * cbarg);
APICALL void (*OSSL_sleep)(struct AmiSSLIFace *Self, uint64_t millis);
APICALL uint32_t (*OSSL_get_thread_support_flags)(struct AmiSSLIFace *Self);
Expand Down
Loading

0 comments on commit eed1668

Please sign in to comment.