Home
last modified time | relevance | path

Searched refs:authdata (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/crypto/asymmetric_keys/
Dasym_tpm.c37 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_loadkey2() local
60 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_loadkey2()
73 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_loadkey2()
115 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_unbind() local
140 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_unbind()
155 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_unbind()
198 unsigned char authdata[SHA1_DIGEST_SIZE]; in tpm_sign() local
223 ret = TSS_authhmac(authdata, keyauth, SHA1_DIGEST_SIZE, enonce, in tpm_sign()
238 tpm_buf_append(tb, authdata, SHA1_DIGEST_SIZE); in tpm_sign()
/kernel/linux/linux-5.10/net/rxrpc/
Dkey.c201 if (rxk5->authdata) { in rxrpc_rxk5_free()
203 rxrpc_free_krb5_tagged(&rxk5->authdata[loop]); in rxrpc_rxk5_free()
204 kfree(rxk5->authdata); in rxrpc_rxk5_free()
518 ret = rxrpc_krb5_decode_tagged_array(&rxk5->authdata, in rxrpc_preparse_xdr_rxk5()
1106 toksize += RND(token->k5->authdata[loop].data_len); in rxrpc_read()
1220 ENCODE(token->k5->authdata[loop].tag); in rxrpc_read()
1221 ENCODE_DATA(token->k5->authdata[loop].data_len, in rxrpc_read()
1222 token->k5->authdata[loop].data); in rxrpc_read()
/kernel/linux/linux-5.10/include/keys/
Drxrpc-type.h79 struct krb5_tagged_data *authdata; /* authorisation data */ member
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm1.c189 unsigned char *authdata; in TSS_checkhmac1() local
209 authdata = buffer + bufsize - SHA1_DIGEST_SIZE; in TSS_checkhmac1()
210 continueflag = authdata - 1; in TSS_checkhmac1()
251 if (memcmp(testhmac, authdata, SHA1_DIGEST_SIZE)) in TSS_checkhmac1()