| 1 | /* |
| 2 | * SHA256 hash implementation and interface functions |
| 3 | * Copyright (c) 2003-2016, Jouni Malinen <[email protected]> |
| 4 | * |
| 5 | * This software may be distributed under the terms of the BSD license. |
| 6 | * See README for more details. |
| 7 | */ |
| 8 | |
| 9 | #ifndef SHA256_H |
| 10 | #define SHA256_Hcxx . . $ `storage/maria/libmarias3/src/sha256.h:10:9`! |
| 11 | |
| 12 | #define SHA256_MAC_LENcxx . . $ `storage/maria/libmarias3/src/sha256.h:12:9`! 32 |
| 13 | |
| 14 | #include <stdint.h> |
| 15 | #include <stddef.h> |
| 16 | #include <string.h> |
| 17 | |
| 18 | int hmac_sha256_vectorcxx . . $ hmac_sha256_vector(c2099663945dceda).(const uint8_tcxx . . $ uint8_t# *key, size_t key_len, size_t num_elem, |
| 19 | const uint8_tcxx . . $ uint8_t# *addr[], const size_t *len, uint8_tcxx . . $ uint8_t# *mac); |
| 20 | int hmac_sha256cxx . . $ hmac_sha256(c4d812020367ce13).(const uint8_tcxx . . $ uint8_t# *key, size_t key_len, const uint8_tcxx . . $ uint8_t# *data, |
| 21 | size_t data_len, uint8_tcxx . . $ uint8_t# *mac); |
| 22 | |
| 23 | int sha256cxx . . $ sha256(66fcea6aea0a7a08).(const uint8_tcxx . . $ uint8_t# *addr, const size_t len, uint8_tcxx . . $ uint8_t# *mac); |
| 24 | |
| 25 | #endif /* SHA256_H */ |