Home
last modified time | relevance | path

Searched refs:hmac (Results 1 – 2 of 2) sorted by relevance

/crypto/
Dfips140_gen_hmac.c117 static void hmac_section(HMAC_CTX *hmac, const char *start, const char *end) in hmac_section() argument
122 HMAC_Update(hmac, start_addr, end_addr - start_addr); in hmac_section()
132 HMAC_CTX *hmac; in main() local
184 hmac = HMAC_CTX_new(); in main()
185 HMAC_Init_ex(hmac, hmac_key, strlen(hmac_key), EVP_sha256(), NULL); in main()
187 hmac_section(hmac, "__fips140_text_start", "__fips140_text_end"); in main()
188 hmac_section(hmac, "__fips140_rodata_start", "__fips140_rodata_end"); in main()
190 HMAC_Final(hmac, dg, &dglen); in main()
DMakefile70 obj-$(CONFIG_CRYPTO_HMAC) += hmac.o
216 crypto-fips-objs := drbg.o ecb.o cbc.o ctr.o cts.o gcm.o xts.o hmac.o cmac.o \