diff options
Diffstat (limited to 'include/fpsensor_crypto.h')
-rw-r--r-- | include/fpsensor_crypto.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/include/fpsensor_crypto.h b/include/fpsensor_crypto.h index b6252b3fd2..7dff9238fa 100644 --- a/include/fpsensor_crypto.h +++ b/include/fpsensor_crypto.h @@ -1,4 +1,4 @@ -/* Copyright 2019 The Chromium OS Authors. All rights reserved. +/* Copyright 2019 The ChromiumOS Authors * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ @@ -67,11 +67,9 @@ int derive_positive_match_secret(uint8_t *output, * @param tag_size the size of |tag|. * @return EC_SUCCESS on success and error code otherwise. */ -int aes_gcm_encrypt(const uint8_t *key, int key_size, - const uint8_t *plaintext, - uint8_t *ciphertext, int text_size, - const uint8_t *nonce, int nonce_size, - uint8_t *tag, int tag_size); +int aes_gcm_encrypt(const uint8_t *key, int key_size, const uint8_t *plaintext, + uint8_t *ciphertext, int text_size, const uint8_t *nonce, + int nonce_size, uint8_t *tag, int tag_size); /** * Decrypt |plaintext| using AES-GCM128. @@ -89,7 +87,7 @@ int aes_gcm_encrypt(const uint8_t *key, int key_size, */ int aes_gcm_decrypt(const uint8_t *key, int key_size, uint8_t *plaintext, const uint8_t *ciphertext, int text_size, - const uint8_t *nonce, int nonce_size, - const uint8_t *tag, int tag_size); + const uint8_t *nonce, int nonce_size, const uint8_t *tag, + int tag_size); #endif /* __CROS_EC_FPSENSOR_CRYPTO_H */ |