[common] actually thread safe crpt check macro