Searched refs:textcopy (Results 1 – 3 of 3) sorted by relevance
/crypto/ |
D | fips140-module.c | 459 void *textcopy, *rodatacopy; in check_fips140_module_hmac() local 470 textcopy = kmalloc(textsize + rodatasize, GFP_KERNEL); in check_fips140_module_hmac() 471 if (!textcopy) { in check_fips140_module_hmac() 476 rodatacopy = textcopy + textsize; in check_fips140_module_hmac() 478 memcpy(textcopy, __text_start, textsize); in check_fips140_module_hmac() 482 unapply_text_relocations(textcopy, textsize, in check_fips140_module_hmac() 490 unapply_scs_patch(textcopy, textsize); in check_fips140_module_hmac() 492 fips140_init_integrity_debug_files(textcopy, textsize, in check_fips140_module_hmac() 495 fips140_inject_integrity_failure(textcopy); in check_fips140_module_hmac() 511 crypto_shash_update(desc, textcopy, textsize) ?: in check_fips140_module_hmac() [all …]
|
D | fips140-module.h | 26 void fips140_inject_integrity_failure(u8 *textcopy); 32 static inline void fips140_inject_integrity_failure(u8 *textcopy) in fips140_inject_integrity_failure() argument
|
D | fips140-eval-testing.c | 61 void fips140_inject_integrity_failure(u8 *textcopy) in fips140_inject_integrity_failure() argument 64 textcopy[0] ^= 0xff; in fips140_inject_integrity_failure()
|