From 02500365bfbd891af660b88a462d598be2aedb8f Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 11 Apr 2019 06:15:39 -0700 Subject: [PATCH] Revert additional atmel.h changes for opaque types in PR #2199. --- wolfssl/wolfcrypt/port/atmel/atmel.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/wolfssl/wolfcrypt/port/atmel/atmel.h b/wolfssl/wolfcrypt/port/atmel/atmel.h index 5e4c2777d..6413647e8 100644 --- a/wolfssl/wolfcrypt/port/atmel/atmel.h +++ b/wolfssl/wolfcrypt/port/atmel/atmel.h @@ -115,15 +115,15 @@ int atmel_ecc_verify(const byte* message, const byte* signature, #endif /* WOLFSSL_ATECC508A */ #ifdef HAVE_PK_CALLBACKS - int atcatls_create_key_cb(WOLFSSL* ssl, ecc_key* key, unsigned int keySz, + int atcatls_create_key_cb(struct WOLFSSL* ssl, struct ecc_key* key, unsigned int keySz, int ecc_curve, void* ctx); - int atcatls_create_pms_cb(WOLFSSL* ssl, ecc_key* otherKey, + int atcatls_create_pms_cb(struct WOLFSSL* ssl, struct ecc_key* otherKey, unsigned char* pubKeyDer, word32* pubKeySz, unsigned char* out, word32* outlen, int side, void* ctx); - int atcatls_sign_certificate_cb(WOLFSSL* ssl, const byte* in, unsigned int inSz, + int atcatls_sign_certificate_cb(struct WOLFSSL* ssl, const byte* in, unsigned int inSz, byte* out, word32* outSz, const byte* key, unsigned int keySz, void* ctx); - int atcatls_verify_signature_cb(WOLFSSL* ssl, const byte* sig, unsigned int sigSz, + int atcatls_verify_signature_cb(struct WOLFSSL* ssl, const byte* sig, unsigned int sigSz, const byte* hash, unsigned int hashSz, const byte* key, unsigned int keySz, int* result, void* ctx);