diff options
| author | Matthew Garrett <matthew.garrett@nebula.com> | 2013-10-03 13:19:32 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2013-10-04 11:51:09 -0400 |
| commit | 9107ff9046dc09e8afdb89e86ce588edb3f4a642 (patch) | |
| tree | 23dbc103ff77c4b098c05dd5125a9ddc2c327350 /Cryptlib/Hash/CryptSha256.c | |
| parent | 16c55f99e872fe52a22336ccb4f09f35d33b2ffa (diff) | |
| download | efi-boot-shim-9107ff9046dc09e8afdb89e86ce588edb3f4a642.tar.gz efi-boot-shim-9107ff9046dc09e8afdb89e86ce588edb3f4a642.zip | |
Update to current Tiano Cryptlib
Diffstat (limited to 'Cryptlib/Hash/CryptSha256.c')
| -rw-r--r-- | Cryptlib/Hash/CryptSha256.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Cryptlib/Hash/CryptSha256.c b/Cryptlib/Hash/CryptSha256.c index ca0cb1aa..56894aca 100644 --- a/Cryptlib/Hash/CryptSha256.c +++ b/Cryptlib/Hash/CryptSha256.c @@ -30,7 +30,7 @@ Sha256GetContextSize ( //
// Retrieves OpenSSL SHA-256 Context Size
//
- return (UINTN)(sizeof (SHA256_CTX));
+ return (UINTN) (sizeof (SHA256_CTX));
}
/**
@@ -61,7 +61,7 @@ Sha256Init ( //
// OpenSSL SHA-256 Context Initialization
//
- return (BOOLEAN) (SHA256_Init ((SHA256_CTX *)Sha256Context));
+ return (BOOLEAN) (SHA256_Init ((SHA256_CTX *) Sha256Context));
}
/**
@@ -139,7 +139,7 @@ Sha256Update ( //
// OpenSSL SHA-256 Hash Update
//
- return (BOOLEAN) (SHA256_Update ((SHA256_CTX *)Sha256Context, Data, DataSize));
+ return (BOOLEAN) (SHA256_Update ((SHA256_CTX *) Sha256Context, Data, DataSize));
}
/**
@@ -179,5 +179,5 @@ Sha256Final ( //
// OpenSSL SHA-256 Hash Finalization
//
- return (BOOLEAN) (SHA256_Final (HashValue, (SHA256_CTX *)Sha256Context));
+ return (BOOLEAN) (SHA256_Final (HashValue, (SHA256_CTX *) Sha256Context));
}
|
