Home
last modified time | relevance | path

Searched refs:EC_PT_SZ (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/char/tpm/
H A Dtpm2-sessions.c112 u8 salt[EC_PT_SZ];
466 static void tpm2_KDFe(u8 z[EC_PT_SZ], const char *str, u8 *pt_u, u8 *pt_v, in tpm2_KDFe() argument
481 sha256_update(&sctx, z, EC_PT_SZ); in tpm2_KDFe()
484 sha256_update(&sctx, pt_u, EC_PT_SZ); in tpm2_KDFe()
485 sha256_update(&sctx, pt_v, EC_PT_SZ); in tpm2_KDFe()
496 u8 encoded_key[EC_PT_SZ], *x, *y; in tpm_buf_append_salt()
500 tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2); in tpm_buf_append_salt()
507 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt()
509 tpm_buf_append(buf, encoded_key, EC_PT_SZ); in tpm_buf_append_salt()
510 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt()
[all …]
/linux/include/linux/
H A Dtpm.h140 #define EC_PT_SZ 32 macro
215 u8 null_ec_key_x[EC_PT_SZ];
216 u8 null_ec_key_y[EC_PT_SZ];