Home
last modified time | relevance | path

Searched refs:nonce (Results 1 – 3 of 3) sorted by relevance

/security/keys/trusted-keys/
A Dtrusted_dcp.c59 __u8 nonce[AES_KEYSIZE_128]; member
129 static int do_aead_crypto(u8 *in, u8 *out, size_t len, u8 *key, u8 *nonce, in do_aead_crypto() argument
166 aead_request_set_crypt(aead_req, &src_sg, &dst_sg, len, nonce); in do_aead_crypto()
215 get_random_bytes(b->nonce, AES_KEYSIZE_128); in trusted_dcp_seal()
219 b->nonce, true); in trusted_dcp_seal()
277 plain_blob_key, b->nonce, false); in trusted_dcp_unseal()
A Dtrusted_tpm2.c213 const u8 *nonce, u16 nonce_len, in tpm2_buf_append_auth() argument
221 if (nonce && nonce_len) in tpm2_buf_append_auth()
222 tpm_buf_append(buf, nonce, nonce_len); in tpm2_buf_append_auth()
A Dtrusted_tpm1.c437 int oiap(struct tpm_buf *tb, uint32_t *handle, unsigned char *nonce) in oiap() argument
450 memcpy(nonce, &tb->data[TPM_DATA_OFFSET + sizeof(uint32_t)], in oiap()

Completed in 7 milliseconds