diff options
| author | beck <> | 2023-07-07 12:01:32 +0000 |
|---|---|---|
| committer | beck <> | 2023-07-07 12:01:32 +0000 |
| commit | e7aea55ea47e895c51a84147a1cb230cf7a29b33 (patch) | |
| tree | 088d60cfe20bcd912db9923f7699deabc41696db /src/lib/libcrypto/poly1305/poly1305.c | |
| parent | 14511626652d6b0fa30a078729000f6bae028842 (diff) | |
| download | openbsd-e7aea55ea47e895c51a84147a1cb230cf7a29b33.tar.gz openbsd-e7aea55ea47e895c51a84147a1cb230cf7a29b33.tar.bz2 openbsd-e7aea55ea47e895c51a84147a1cb230cf7a29b33.zip | |
hide symbols in sm, rand, and poly1305
ok jsing@
Diffstat (limited to 'src/lib/libcrypto/poly1305/poly1305.c')
| -rw-r--r-- | src/lib/libcrypto/poly1305/poly1305.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/poly1305/poly1305.c b/src/lib/libcrypto/poly1305/poly1305.c index 75a34cc3e1..a34e8f8e88 100644 --- a/src/lib/libcrypto/poly1305/poly1305.c +++ b/src/lib/libcrypto/poly1305/poly1305.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: poly1305.c,v 1.3 2014/06/12 15:49:30 deraadt Exp $ */ | 1 | /* $OpenBSD: poly1305.c,v 1.4 2023/07/07 12:01:32 beck Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -23,6 +23,7 @@ CRYPTO_poly1305_init(poly1305_context *ctx, const unsigned char key[32]) | |||
| 23 | { | 23 | { |
| 24 | poly1305_init(ctx, key); | 24 | poly1305_init(ctx, key); |
| 25 | } | 25 | } |
| 26 | LCRYPTO_ALIAS(CRYPTO_poly1305_init); | ||
| 26 | 27 | ||
| 27 | void | 28 | void |
| 28 | CRYPTO_poly1305_update(poly1305_context *ctx, const unsigned char *in, | 29 | CRYPTO_poly1305_update(poly1305_context *ctx, const unsigned char *in, |
| @@ -30,9 +31,11 @@ CRYPTO_poly1305_update(poly1305_context *ctx, const unsigned char *in, | |||
| 30 | { | 31 | { |
| 31 | poly1305_update(ctx, in, len); | 32 | poly1305_update(ctx, in, len); |
| 32 | } | 33 | } |
| 34 | LCRYPTO_ALIAS(CRYPTO_poly1305_update); | ||
| 33 | 35 | ||
| 34 | void | 36 | void |
| 35 | CRYPTO_poly1305_finish(poly1305_context *ctx, unsigned char mac[16]) | 37 | CRYPTO_poly1305_finish(poly1305_context *ctx, unsigned char mac[16]) |
| 36 | { | 38 | { |
| 37 | poly1305_finish(ctx, mac); | 39 | poly1305_finish(ctx, mac); |
| 38 | } | 40 | } |
| 41 | LCRYPTO_ALIAS(CRYPTO_poly1305_finish); | ||
