Home
last modified time | relevance | path

Searched refs:blobauth (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/security/keys/trusted-keys/
Dtrusted_tpm1.c461 const unsigned char *blobauth, in tpm_seal() argument
510 td->encauth[i] = td->xorhash[i] ^ blobauth[i]; in tpm_seal()
578 const unsigned char *blobauth, in tpm_unseal() argument
618 ret = TSS_authhmac(authdata2, blobauth, TPM_NONCE_SIZE, in tpm_unseal()
646 blobauth, SHA1_DIGEST_SIZE, in tpm_unseal()
676 o->blobauth, o->pcrinfo, o->pcrinfo_len); in key_seal()
698 o->blobauth, p->key, &p->key_len); in key_unseal()
796 res = hex2bin(opt->blobauth, args[0].from, in getoptions()
805 if (tpm2 && opt->blobauth_len <= sizeof(opt->blobauth)) { in getoptions()
806 memcpy(opt->blobauth, args[0].from, in getoptions()
Dtrusted_tpm2.c286 tpm_buf_append(&buf, options->blobauth, options->blobauth_len); in tpm2_seal_trusted()
491 options->blobauth /* hmac */, in tpm2_unseal_cmd()
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm1.c468 const unsigned char *blobauth, in tpm_seal() argument
517 td->encauth[i] = td->xorhash[i] ^ blobauth[i]; in tpm_seal()
585 const unsigned char *blobauth, in tpm_unseal() argument
625 ret = TSS_authhmac(authdata2, blobauth, TPM_NONCE_SIZE, in tpm_unseal()
653 blobauth, SHA1_DIGEST_SIZE, in tpm_unseal()
683 o->blobauth, o->pcrinfo, o->pcrinfo_len); in key_seal()
705 o->blobauth, p->key, &p->key_len); in key_unseal()
804 res = hex2bin(opt->blobauth, args[0].from, in getoptions()
813 if (tpm2 && opt->blobauth_len <= sizeof(opt->blobauth)) { in getoptions()
814 memcpy(opt->blobauth, args[0].from, in getoptions()
Dtrusted_tpm2.c104 tpm_buf_append(&buf, options->blobauth, options->blobauth_len); in tpm2_seal_trusted()
269 options->blobauth /* hmac */, in tpm2_unseal_cmd()
/kernel/linux/linux-5.10/include/keys/
Dtrusted-type.h34 unsigned char blobauth[TPM_DIGEST_SIZE]; member
/kernel/linux/linux-6.6/include/keys/
Dtrusted-type.h41 unsigned char blobauth[TPM_DIGEST_SIZE]; member
/kernel/linux/linux-5.10/Documentation/security/keys/
Dtrusted-encrypted.rst60 blobauth= ascii hex auth for sealed data default 0x00...
/kernel/linux/linux-6.6/Documentation/security/keys/
Dtrusted-encrypted.rst187 blobauth= ascii hex auth for sealed data default 0x00...