Lines Matching refs:textsize
391 int textsize; member
401 saved_integrity_check_info.textsize); in fips140_text_read()
420 static void fips140_init_integrity_debug_files(const void *text, int textsize, in fips140_init_integrity_debug_files() argument
428 saved_integrity_check_info.text = kmemdup(text, textsize, GFP_KERNEL); in fips140_init_integrity_debug_files()
429 saved_integrity_check_info.textsize = textsize; in fips140_init_integrity_debug_files()
442 static void fips140_init_integrity_debug_files(const void *text, int textsize, in fips140_init_integrity_debug_files() argument
460 int textsize, rodatasize; in check_fips140_module_hmac() local
464 textsize = &__fips140_text_end - &__fips140_text_start; in check_fips140_module_hmac()
467 pr_info("text size : 0x%x\n", textsize); in check_fips140_module_hmac()
470 textcopy = kmalloc(textsize + rodatasize, GFP_KERNEL); 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()
511 crypto_shash_update(desc, textcopy, textsize) ?: in check_fips140_module_hmac()