Implement ANSI X9.63 sha256 per spec

This commit is contained in:
Grayson Martin committed 2023-07-08 18:18:34 -05:00
1 parent 44f2e253d8
commit 610b8a7410
2 files changed
+36

No files matched your search

+3
View File
@@ -64,4 +64,7 @@ size_t FindISO9797M2PaddingDataLen(const uint8_t *data, size_t datalen);
// BLOWFISH
int blowfish_decrypt(uint8_t *iv, uint8_t *key, uint8_t *input, uint8_t *output, int length);
// KDF
int ansi_x963_sha256(uint8_t *sharedSecret, size_t sharedSecretLen, uint8_t *sharedInfo, size_t sharedInfoLen, size_t keyDataLen, uint8_t *keyData);
#endif /* libpcrypto.h */