Searched refs:plaintext (Results 1 - 8 of 8) sorted by relevance

/linux-master/crypto/
H A Dtestmgr.h30 * @plaintext: Pointer to source data
40 const char *plaintext; member in struct:hash_testvec
55 * @ptext: Pointer to plaintext
85 * @ptext: Pointer to plaintext
4410 .plaintext = "",
4414 .plaintext = "a",
4419 .plaintext = "abc",
4424 .plaintext = "message digest",
4429 .plaintext = "abcdefghijklmnopqrstuvwxyz",
4434 .plaintext
[all...]
H A Danubis.c573 u8 *ciphertext, const u8 *plaintext, const int R)
575 const __be32 *src = (const __be32 *)plaintext;
582 * map plaintext block to cipher state (mu)
572 anubis_crypt(u32 roundKey[ANUBIS_MAX_ROUNDS + 1][4], u8 *ciphertext, const u8 *plaintext, const int R) argument
H A Dkhazad.c803 u8 *ciphertext, const u8 *plaintext)
805 const __be64 *src = (const __be64 *)plaintext;
802 khazad_crypt(const u64 roundKey[KHAZAD_ROUNDS + 1], u8 *ciphertext, const u8 *plaintext) argument
H A Dtestmgr.c1230 kv.iov_base = (void *)vec->plaintext;
1696 generate_random_bytes(rng, (u8 *)vec->plaintext, vec->psize);
1718 vec->digest_error = crypto_shash_digest(desc, vec->plaintext,
1818 vec.plaintext = kmalloc(maxdatasize, GFP_KERNEL);
1820 if (!vec.key || !vec.plaintext || !vec.digest) {
1842 kfree(vec.plaintext);
2190 /* Check for the correct output (ciphertext or plaintext) */
2332 /* Generate a random plaintext and encrypt it. */
2407 /* AAD, plaintext, and ciphertext lengths */
2417 * Generate the AAD, plaintext, an
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dgss_krb5_test.c30 const struct xdr_netobj *plaintext; member in struct:gss_krb5_test_param
76 .head[0].iov_len = param->plaintext->len,
77 .len = param->plaintext->len,
103 memcpy(buf.head[0].iov_base, param->plaintext->data, buf.head[0].iov_len);
235 .plaintext = &nfold_test1_plaintext,
241 .plaintext = &nfold_test2_plaintext,
247 .plaintext = &nfold_test3_plaintext,
253 .plaintext = &nfold_test4_plaintext,
259 .plaintext = &nfold_test5_plaintext,
265 .plaintext
[all...]
/linux-master/drivers/virt/coco/sev-guest/
H A Dsev-guest.c232 * | msg header | plaintext | hdr->authtag |
259 void *plaintext, size_t len)
267 return enc_dec_message(crypto, msg, plaintext, msg->payload, len, true);
271 void *plaintext, size_t len)
280 return enc_dec_message(crypto, msg, msg->payload, plaintext, len, false);
258 __enc_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, void *plaintext, size_t len) argument
270 dec_payload(struct snp_guest_dev *snp_dev, struct snp_guest_msg *msg, void *plaintext, size_t len) argument
/linux-master/arch/x86/crypto/
H A Daesni-intel_asm.S370 # (r13 is the number of bytes in plaintext mod 16)
662 # r16-r13 is the number of bytes in plaintext mod 16)
776 * if a = number of total plaintext bytes
833 # write back plaintext/ciphertext for num_initial_blocks
841 # prepare plaintext/ciphertext for GHASH computation
1327 movdqu \XMM1, (%arg3,%r11,1) # Write to plaintext buffer
1331 movdqu \XMM2, 16(%arg3,%r11,1) # Write to plaintext buffer
1335 movdqu \XMM3, 32(%arg3,%r11,1) # Write to plaintext buffer
1339 movdqu \XMM4, 48(%arg3,%r11,1) # Write to plaintext buffer
1524 * // given authentication tag and only return the plaintext i
[all...]
H A Daesni-intel_avx-x86_64.S275 mov arg5, %r13 # save the number of bytes of plaintext/ciphertext
417 # number of bytes in plaintext mod 16)
433 # (r13 is the number of bytes in plaintext mod 16)
743 # r16-r13 is the number of bytes in plaintext mod 16)
962 ## if a = number of total plaintext bytes
1910 ## if a = number of total plaintext bytes

Completed in 183 milliseconds