Lines Matching refs:ret
303 int ret = -EAGAIN; in __crypto_register_alg() local
310 ret = -EEXIST; in __crypto_register_alg()
353 larval = ERR_PTR(ret); in __crypto_register_alg()
473 int ret; in crypto_unregister_alg() local
477 ret = crypto_remove_alg(alg, &list); in crypto_unregister_alg()
480 if (WARN(ret, "Algorithm %s is not registered", alg->cra_driver_name)) in crypto_unregister_alg()
495 int i, ret; in crypto_register_algs() local
498 ret = crypto_register_alg(&algs[i]); in crypto_register_algs()
499 if (ret) in crypto_register_algs()
509 return ret; in crypto_register_algs()
1068 int ret = 0; in crypto_type_has_alg() local
1073 ret = 1; in crypto_type_has_alg()
1076 return ret; in crypto_type_has_alg()
1094 int ret) in crypto_stats_aead_encrypt() argument
1096 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_aead_encrypt()
1107 int ret) in crypto_stats_aead_decrypt() argument
1109 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_aead_decrypt()
1119 void crypto_stats_akcipher_encrypt(unsigned int src_len, int ret, in crypto_stats_akcipher_encrypt() argument
1122 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_akcipher_encrypt()
1132 void crypto_stats_akcipher_decrypt(unsigned int src_len, int ret, in crypto_stats_akcipher_decrypt() argument
1135 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_akcipher_decrypt()
1145 void crypto_stats_akcipher_sign(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_sign() argument
1147 if (ret && ret != -EINPROGRESS && ret != -EBUSY) in crypto_stats_akcipher_sign()
1155 void crypto_stats_akcipher_verify(int ret, struct crypto_alg *alg) in crypto_stats_akcipher_verify() argument
1157 if (ret && ret != -EINPROGRESS && ret != -EBUSY) in crypto_stats_akcipher_verify()
1165 void crypto_stats_compress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_compress() argument
1167 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_compress()
1177 void crypto_stats_decompress(unsigned int slen, int ret, struct crypto_alg *alg) in crypto_stats_decompress() argument
1179 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_decompress()
1189 void crypto_stats_ahash_update(unsigned int nbytes, int ret, in crypto_stats_ahash_update() argument
1192 if (ret && ret != -EINPROGRESS && ret != -EBUSY) in crypto_stats_ahash_update()
1200 void crypto_stats_ahash_final(unsigned int nbytes, int ret, in crypto_stats_ahash_final() argument
1203 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_ahash_final()
1213 void crypto_stats_kpp_set_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_set_secret() argument
1215 if (ret) in crypto_stats_kpp_set_secret()
1223 void crypto_stats_kpp_generate_public_key(struct crypto_alg *alg, int ret) in crypto_stats_kpp_generate_public_key() argument
1225 if (ret) in crypto_stats_kpp_generate_public_key()
1233 void crypto_stats_kpp_compute_shared_secret(struct crypto_alg *alg, int ret) in crypto_stats_kpp_compute_shared_secret() argument
1235 if (ret) in crypto_stats_kpp_compute_shared_secret()
1243 void crypto_stats_rng_seed(struct crypto_alg *alg, int ret) in crypto_stats_rng_seed() argument
1245 if (ret && ret != -EINPROGRESS && ret != -EBUSY) in crypto_stats_rng_seed()
1254 int ret) in crypto_stats_rng_generate() argument
1256 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_rng_generate()
1266 void crypto_stats_skcipher_encrypt(unsigned int cryptlen, int ret, in crypto_stats_skcipher_encrypt() argument
1269 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_skcipher_encrypt()
1279 void crypto_stats_skcipher_decrypt(unsigned int cryptlen, int ret, in crypto_stats_skcipher_decrypt() argument
1282 if (ret && ret != -EINPROGRESS && ret != -EBUSY) { in crypto_stats_skcipher_decrypt()