Vadim Bendebury | 5679752 | 2015-05-20 10:32:25 -0700 | [diff] [blame] | 1 | // This file was extracted from the TCG Published |
| 2 | // Trusted Platform Module Library |
| 3 | // Part 4: Supporting Routines |
| 4 | // Family "2.0" |
| 5 | // Level 00 Revision 01.16 |
| 6 | // October 30, 2014 |
| 7 | |
| 8 | #include "InternalRoutines.h" |
| 9 | // |
| 10 | // Functions |
| 11 | // |
| 12 | // Signal_Hash_Start() |
| 13 | // |
| 14 | // This function interfaces between the platform code and _TPM_Hash_Start(). |
| 15 | // |
| 16 | LIB_EXPORT void |
| 17 | Signal_Hash_Start( |
| 18 | void |
| 19 | ) |
| 20 | { |
| 21 | _TPM_Hash_Start(); |
| 22 | return; |
| 23 | } |
| 24 | // |
| 25 | // |
| 26 | // Signal_Hash_Data() |
| 27 | // |
| 28 | // This function interfaces between the platform code and _TPM_Hash_Data(). |
| 29 | // |
| 30 | LIB_EXPORT void |
| 31 | Signal_Hash_Data( |
| 32 | unsigned int size, |
| 33 | unsigned char *buffer |
| 34 | ) |
| 35 | { |
| 36 | _TPM_Hash_Data(size, buffer); |
| 37 | return; |
| 38 | } |
| 39 | // |
| 40 | // |
| 41 | // Signal_Hash_End() |
| 42 | // |
| 43 | // This function interfaces between the platform code and _TPM_Hash_End(). |
| 44 | // |
| 45 | LIB_EXPORT void |
| 46 | Signal_Hash_End( |
| 47 | void |
| 48 | ) |
| 49 | { |
| 50 | _TPM_Hash_End(); |
| 51 | return; |
| 52 | } |