diff options
| author | jsing <> | 2014-06-21 13:42:14 +0000 |
|---|---|---|
| committer | jsing <> | 2014-06-21 13:42:14 +0000 |
| commit | 415c0aa250bb30e28ba0c8a4a5b012fff4e5bf12 (patch) | |
| tree | 630b9b1b9589f6fa12e705f2da2d35788b2dcbb7 /src/lib/libcrypto/cmac/cmac.h | |
| parent | 66103ef8158b07886dde011479a7955a3e261878 (diff) | |
| download | openbsd-415c0aa250bb30e28ba0c8a4a5b012fff4e5bf12.tar.gz openbsd-415c0aa250bb30e28ba0c8a4a5b012fff4e5bf12.tar.bz2 openbsd-415c0aa250bb30e28ba0c8a4a5b012fff4e5bf12.zip | |
More KNF.
Diffstat (limited to 'src/lib/libcrypto/cmac/cmac.h')
| -rw-r--r-- | src/lib/libcrypto/cmac/cmac.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libcrypto/cmac/cmac.h b/src/lib/libcrypto/cmac/cmac.h index 10ae543f41..cb6d64b02f 100644 --- a/src/lib/libcrypto/cmac/cmac.h +++ b/src/lib/libcrypto/cmac/cmac.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cmac.h,v 1.2 2014/06/12 15:49:28 deraadt Exp $ */ | 1 | /* $OpenBSD: cmac.h,v 1.3 2014/06/21 13:42:14 jsing Exp $ */ |
| 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 3 | * project. | 3 | * project. |
| 4 | */ | 4 | */ |
| @@ -10,7 +10,7 @@ | |||
| 10 | * are met: | 10 | * are met: |
| 11 | * | 11 | * |
| 12 | * 1. Redistributions of source code must retain the above copyright | 12 | * 1. Redistributions of source code must retain the above copyright |
| 13 | * notice, this list of conditions and the following disclaimer. | 13 | * notice, this list of conditions and the following disclaimer. |
| 14 | * | 14 | * |
| 15 | * 2. Redistributions in binary form must reproduce the above copyright | 15 | * 2. Redistributions in binary form must reproduce the above copyright |
| 16 | * notice, this list of conditions and the following disclaimer in | 16 | * notice, this list of conditions and the following disclaimer in |
| @@ -70,8 +70,8 @@ void CMAC_CTX_free(CMAC_CTX *ctx); | |||
| 70 | EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); | 70 | EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx); |
| 71 | int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); | 71 | int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in); |
| 72 | 72 | ||
| 73 | int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, | 73 | int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen, |
| 74 | const EVP_CIPHER *cipher, ENGINE *impl); | 74 | const EVP_CIPHER *cipher, ENGINE *impl); |
| 75 | int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen); | 75 | int CMAC_Update(CMAC_CTX *ctx, const void *data, size_t dlen); |
| 76 | int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen); | 76 | int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen); |
| 77 | int CMAC_resume(CMAC_CTX *ctx); | 77 | int CMAC_resume(CMAC_CTX *ctx); |
