Expose poly1305_context as crypto_onetimeauth_poly1305_state
This commit is contained in:
parent
3ae2cb5c26
commit
47f409a0c8
@ -3,10 +3,9 @@
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
typedef struct poly1305_context {
|
||||
unsigned long long aligner;
|
||||
unsigned char opaque[136];
|
||||
} poly1305_context;
|
||||
#include "crypto_onetimeauth_poly1305.h"
|
||||
|
||||
typedef crypto_onetimeauth_poly1305_state poly1305_context;
|
||||
|
||||
#endif /* POLY1305_DONNA_H */
|
||||
|
||||
|
@ -28,6 +28,11 @@ typedef struct crypto_onetimeauth_poly1305_implementation {
|
||||
const unsigned char *k);
|
||||
} crypto_onetimeauth_poly1305_implementation;
|
||||
|
||||
typedef struct crypto_onetimeauth_poly1305_state {
|
||||
unsigned long long aligner;
|
||||
unsigned char opaque[136];
|
||||
} crypto_onetimeauth_poly1305_state;
|
||||
|
||||
#define crypto_onetimeauth_poly1305_BYTES 16U
|
||||
SODIUM_EXPORT
|
||||
size_t crypto_onetimeauth_poly1305_bytes(void);
|
||||
|
Loading…
Reference in New Issue
Block a user