X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=prf_tls12%2Fprf_tls12.h;h=e312f7e1b68f93594b143546aa8b6284bb862c72;hb=7390f9235d6bc08b7fe34a5f43a04bd3b58f6ea6;hp=759580d3adaffb7464b442cbf28e060ddf58f383;hpb=b9d6e1eb867eaa431c4c555a7409342805fa2706;p=arm-crypto-lib.git diff --git a/prf_tls12/prf_tls12.h b/prf_tls12/prf_tls12.h index 759580d..e312f7e 100644 --- a/prf_tls12/prf_tls12.h +++ b/prf_tls12/prf_tls12.h @@ -21,9 +21,9 @@ #define PRF_TLS12_H_ #include -#include -#include -#include +#include "hashfunction_descriptor.h" +#include "hfal-basic.h" +#include "hfal-hmac.h" typedef struct{ hfhmacgen_ctx_t mainctx; @@ -43,6 +43,7 @@ uint8_t prf_tls12_init_w_label(prf_tls12_ctx_t* ctx, const hfdesc_t* hash, void prf_tls12_free(prf_tls12_ctx_t* ctx); uint8_t prf_tls12_next(void* dest, prf_tls12_ctx_t* ctx); +uint8_t prf_tls12_fill(void* dest, uint16_t length_B, prf_tls12_ctx_t* ctx); #endif /* PRF_TLS12_H_ */