Lines Matching refs:setkey_error

1316 			if (err == vec->setkey_error)  in test_shash_vec_cfg()
1319 driver, vec_name, vec->setkey_error, err, in test_shash_vec_cfg()
1323 if (vec->setkey_error) { in test_shash_vec_cfg()
1325 driver, vec_name, vec->setkey_error); in test_shash_vec_cfg()
1503 if (err == vec->setkey_error) in test_ahash_vec_cfg()
1506 driver, vec_name, vec->setkey_error, err, in test_ahash_vec_cfg()
1510 if (vec->setkey_error) { in test_ahash_vec_cfg()
1512 driver, vec_name, vec->setkey_error); in test_ahash_vec_cfg()
1729 vec->setkey_error = 0; in generate_random_hash_testvec()
1737 vec->setkey_error = crypto_shash_setkey(desc->tfm, vec->key, in generate_random_hash_testvec()
1740 if (vec->setkey_error) in generate_random_hash_testvec()
2083 if (err && err != vec->setkey_error) { in test_aead_vec_cfg()
2085 driver, vec_name, vec->setkey_error, err, in test_aead_vec_cfg()
2089 if (!err && vec->setkey_error) { in test_aead_vec_cfg()
2091 driver, vec_name, vec->setkey_error); in test_aead_vec_cfg()
2108 if (vec->setkey_error || vec->setauthsize_error) in test_aead_vec_cfg()
2420 vec->setkey_error = crypto_aead_setkey(tfm, vec->key, vec->klen); in generate_random_aead_testvec()
2451 if (vec->setkey_error == 0 && vec->setauthsize_error == 0) in generate_random_aead_testvec()
2793 if (ret == template[i].setkey_error) in test_cipher()
2796 algo, j, template[i].setkey_error, ret, in test_cipher()
2800 if (template[i].setkey_error) { in test_cipher()
2802 algo, j, template[i].setkey_error); in test_cipher()
2864 if (err == vec->setkey_error) in test_skcipher_vec_cfg()
2867 driver, vec_name, vec->setkey_error, err, in test_skcipher_vec_cfg()
2871 if (vec->setkey_error) { in test_skcipher_vec_cfg()
2873 driver, vec_name, vec->setkey_error); in test_skcipher_vec_cfg()
3066 vec->setkey_error = crypto_skcipher_setkey(tfm, vec->key, vec->klen); in generate_random_cipher_testvec()
3076 if (vec->setkey_error) in generate_random_cipher_testvec()