Lines Matching refs:textcopy
574 void *textcopy, *rodatacopy; in check_fips140_module_hmac() local
585 textcopy = kmalloc(textsize + rodatasize, GFP_KERNEL); in check_fips140_module_hmac()
586 if (!textcopy) { in check_fips140_module_hmac()
591 rodatacopy = textcopy + textsize; in check_fips140_module_hmac()
593 memcpy(textcopy, fips140_text_start, textsize); in check_fips140_module_hmac()
597 unapply_text_relocations(textcopy, textsize, in check_fips140_module_hmac()
605 unapply_scs_patch(textcopy, textsize); in check_fips140_module_hmac()
607 fips140_init_integrity_debug_files(textcopy, textsize, in check_fips140_module_hmac()
610 fips140_inject_integrity_failure(textcopy); in check_fips140_module_hmac()
626 crypto_shash_update(desc, textcopy, textsize) ?: in check_fips140_module_hmac()
655 kfree_sensitive(textcopy); in check_fips140_module_hmac()