Lines Matching refs:enc

75 static int test_cipher_jiffies(struct blkcipher_desc *desc, int enc,  in test_cipher_jiffies()  argument
84 if (enc) in test_cipher_jiffies()
98 static int test_cipher_cycles(struct blkcipher_desc *desc, int enc, in test_cipher_cycles() argument
109 if (enc) in test_cipher_cycles()
123 if (enc) in test_cipher_cycles()
145 static int test_aead_jiffies(struct aead_request *req, int enc, in test_aead_jiffies() argument
154 if (enc) in test_aead_jiffies()
168 static int test_aead_cycles(struct aead_request *req, int enc, int blen) in test_aead_cycles() argument
178 if (enc) in test_aead_cycles()
192 if (enc) in test_aead_cycles()
268 static void test_aead_speed(const char *algo, int enc, unsigned int secs, in test_aead_speed() argument
299 if (enc == ENCRYPT) in test_aead_speed()
378 *b_size + (enc ? authsize : 0)); in test_aead_speed()
381 *b_size + (enc ? authsize : 0)); in test_aead_speed()
387 ret = test_aead_jiffies(req, enc, *b_size, in test_aead_speed()
390 ret = test_aead_cycles(req, enc, *b_size); in test_aead_speed()
419 static void test_cipher_speed(const char *algo, int enc, unsigned int secs, in test_cipher_speed() argument
431 if (enc == ENCRYPT) in test_cipher_speed()
499 ret = test_cipher_jiffies(&desc, enc, sg, in test_cipher_speed()
502 ret = test_cipher_cycles(&desc, enc, sg, in test_cipher_speed()
1008 static int test_acipher_jiffies(struct ablkcipher_request *req, int enc, in test_acipher_jiffies() argument
1017 if (enc) in test_acipher_jiffies()
1033 static int test_acipher_cycles(struct ablkcipher_request *req, int enc, in test_acipher_cycles() argument
1042 if (enc) in test_acipher_cycles()
1058 if (enc) in test_acipher_cycles()
1080 static void test_acipher_speed(const char *algo, int enc, unsigned int secs, in test_acipher_speed() argument
1093 if (enc == ENCRYPT) in test_acipher_speed()
1185 ret = test_acipher_jiffies(req, enc, in test_acipher_speed()
1188 ret = test_acipher_cycles(req, enc, in test_acipher_speed()