Searched refs:ret (Results 1 – 2 of 2) sorted by relevance
169 int ret; in verify_pkcs7_message_sig() local174 ret = -EBADMSG; in verify_pkcs7_message_sig()178 ret = pkcs7_verify(pkcs7, usage); in verify_pkcs7_message_sig()179 if (ret < 0) in verify_pkcs7_message_sig()197 ret = -ENOKEY; in verify_pkcs7_message_sig()202 ret = is_key_on_revocation_list(pkcs7); in verify_pkcs7_message_sig()203 if (ret != -ENOKEY) { in verify_pkcs7_message_sig()208 ret = pkcs7_validate_trust(pkcs7, trusted_keys); in verify_pkcs7_message_sig()209 if (ret < 0) { in verify_pkcs7_message_sig()210 if (ret == -ENOKEY) in verify_pkcs7_message_sig()[all …]
120 int ret = 0; in is_hash_blacklisted() local136 ret = -EKEYREJECTED; in is_hash_blacklisted()140 return ret; in is_hash_blacklisted()185 int ret; in is_key_on_revocation_list() local187 ret = pkcs7_validate_trust(pkcs7, blacklist_keyring); in is_key_on_revocation_list()189 if (ret == 0) in is_key_on_revocation_list()