Lines Matching refs:message
92 const u8 *message; member
230 u8 *message = NULL; in fips_test_skcipher() local
253 message = kmemdup(vec->plaintext, vec->message_size, GFP_KERNEL); in fips_test_skcipher()
254 if (!req || !message) { in fips_test_skcipher()
258 sg_init_one(&sg, message, vec->message_size); in fips_test_skcipher()
277 err = fips_check_result(message, vec->ciphertext, vec->message_size, in fips_test_skcipher()
289 err = fips_check_result(message, vec->plaintext, vec->message_size, in fips_test_skcipher()
292 kfree(message); in fips_test_skcipher()
307 u8 *message = NULL; in fips_test_aead() local
332 message = kzalloc(vec->ciphertext_size, GFP_KERNEL); in fips_test_aead()
333 if (!req || !assoc || !message) { in fips_test_aead()
337 memcpy(message, vec->plaintext, vec->plaintext_size); in fips_test_aead()
342 sg_set_buf(&sg[sg_idx++], message, vec->ciphertext_size); in fips_test_aead()
371 err = fips_check_result(message, vec->ciphertext, vec->ciphertext_size, in fips_test_aead()
387 err = fips_check_result(message, vec->plaintext, vec->plaintext_size, in fips_test_aead()
390 kfree(message); in fips_test_aead()
435 err = crypto_shash_tfm_digest(tfm, vec->message, vec->message_size, in fips_test_hash()
457 sha256(vec->message, vec->message_size, digest); in fips_test_sha256_library()
617 .message = fips_message,
794 .message = fips_message,
815 .message = fips_message,
830 .message = fips_message,
850 .message = fips_message,
870 .message = fips_message,