Searched refs:textcopy (Results 1 – 3 of 3) sorted by relevance
360 void *textcopy, *rodatacopy; in check_fips140_module_hmac() local371 textcopy = kmalloc(textsize + rodatasize, GFP_KERNEL); in check_fips140_module_hmac()372 if (!textcopy) { in check_fips140_module_hmac()377 rodatacopy = textcopy + textsize; in check_fips140_module_hmac()379 memcpy(textcopy, __text_start, textsize); in check_fips140_module_hmac()383 unapply_text_relocations(textcopy, textsize, in check_fips140_module_hmac()391 fips140_inject_integrity_failure(textcopy); in check_fips140_module_hmac()407 crypto_shash_update(desc, textcopy, textsize) ?: in check_fips140_module_hmac()436 kfree_sensitive(textcopy); in check_fips140_module_hmac()
26 void fips140_inject_integrity_failure(u8 *textcopy);32 static inline void fips140_inject_integrity_failure(u8 *textcopy) in fips140_inject_integrity_failure() argument
53 void fips140_inject_integrity_failure(u8 *textcopy) in fips140_inject_integrity_failure() argument56 textcopy[0] ^= 0xff; in fips140_inject_integrity_failure()