Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 2 of 2) sorted by relevance

/certs/
Dsystem_keyring.c169 int ret; in verify_pkcs7_message_sig() local
174 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 …]
Dblacklist.c120 int ret = 0; in is_hash_blacklisted() local
136 ret = -EKEYREJECTED; in is_hash_blacklisted()
140 return ret; in is_hash_blacklisted()
185 int ret; in is_key_on_revocation_list() local
187 ret = pkcs7_validate_trust(pkcs7, blacklist_keyring); in is_key_on_revocation_list()
189 if (ret == 0) in is_key_on_revocation_list()