diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/evp/evp_locl.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/libcrypto/evp/evp_locl.h b/src/lib/libcrypto/evp/evp_locl.h index 6f9218eafc..3083f30975 100644 --- a/src/lib/libcrypto/evp/evp_locl.h +++ b/src/lib/libcrypto/evp/evp_locl.h | |||
@@ -354,13 +354,13 @@ struct evp_aead_st { | |||
354 | size_t key_len, size_t tag_len); | 354 | size_t key_len, size_t tag_len); |
355 | void (*cleanup)(struct evp_aead_ctx_st*); | 355 | void (*cleanup)(struct evp_aead_ctx_st*); |
356 | 356 | ||
357 | ssize_t (*seal)(const struct evp_aead_ctx_st *ctx, unsigned char *out, | 357 | int (*seal)(const struct evp_aead_ctx_st *ctx, unsigned char *out, |
358 | size_t max_out_len, const unsigned char *nonce, size_t nonce_len, | 358 | size_t *out_len, size_t max_out_len, const unsigned char *nonce, |
359 | const unsigned char *in, size_t in_len, const unsigned char *ad, | 359 | size_t nonce_len, const unsigned char *in, size_t in_len, |
360 | size_t ad_len); | 360 | const unsigned char *ad, size_t ad_len); |
361 | 361 | ||
362 | ssize_t (*open)(const struct evp_aead_ctx_st *ctx, unsigned char *out, | 362 | int (*open)(const struct evp_aead_ctx_st *ctx, unsigned char *out, |
363 | size_t max_out_len, const unsigned char *nonce, size_t nonce_len, | 363 | size_t *out_len, size_t max_out_len, const unsigned char *nonce, |
364 | const unsigned char *in, size_t in_len, const unsigned char *ad, | 364 | size_t nonce_len, const unsigned char *in, size_t in_len, |
365 | size_t ad_len); | 365 | const unsigned char *ad, size_t ad_len); |
366 | }; | 366 | }; |