Home
last modified time | relevance | path

Searched refs:keyauth (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dasym_tpm.c31 uint32_t keyhandle, unsigned char *keyauth, in tpm_loadkey2() argument
60 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_loadkey2()
81 ret = TSS_checkhmac1(tb->data, ordinal, nonceodd, keyauth, in tpm_loadkey2()
109 uint32_t keyhandle, unsigned char *keyauth, in tpm_unbind() argument
140 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_unbind()
166 keyauth, SHA1_DIGEST_SIZE, in tpm_unbind()
192 uint32_t keyhandle, unsigned char *keyauth, in tpm_sign() argument
223 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_sign()
249 keyauth, SHA1_DIGEST_SIZE, in tpm_sign()
510 uint8_t keyauth[SHA1_DIGEST_SIZE]; in tpm_key_decrypt() local
[all …]
/kernel/linux/linux-5.10/include/keys/
Dtrusted-type.h32 unsigned char keyauth[TPM_DIGEST_SIZE]; member
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm1.c465 uint32_t keyhandle, const unsigned char *keyauth, in tpm_seal() argument
489 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal()
583 uint32_t keyhandle, const unsigned char *keyauth, in tpm_unseal() argument
620 ret = TSS_authhmac(authdata1, keyauth, TPM_NONCE_SIZE, in tpm_unseal()
652 keyauth, SHA1_DIGEST_SIZE, in tpm_unseal()
681 ret = tpm_seal(&tb, o->keytype, o->keyhandle, o->keyauth, in key_seal()
704 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()
790 res = hex2bin(opt->keyauth, args[0].from, in getoptions()
Dtrusted_tpm2.c96 options->keyauth /* hmac */, in tpm2_seal_trusted()
213 options->keyauth /* hmac */, in tpm2_load_cmd()
/kernel/linux/linux-5.10/Documentation/security/keys/
Dtrusted-encrypted.rst58 keyauth= ascii hex auth for sealing key default 0x00...i
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0016_linux_drivers_crypto.patch7845 + u16 key_length, u8 keyauth);
7847 + u8 keycolor, u8 keyauth, u8 *outbuf,
7850 + u8 keycolor, u8 keyauth, u8 *inbuf,
8759 + u16 key_length, u8 keyauth)
8772 + dsize = blacken_key_jobdesc(&coverdesc, slotphys, key_length, keyauth);
8786 + u8 keyauth, u8 *outbuf, u16 keylen, u8 *keymod)
8836 + keylen, keycolor, SM_SECMEM, keyauth);
8875 + u8 keyauth, u8 *inbuf, u16 keylen, u8 *keymod)
8929 + keylen, keycolor, SM_SECMEM, keyauth);