Searched refs:EC_PT_SZ (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 112 u8 salt[EC_PT_SZ]; 469 static void tpm2_KDFe(u8 z[EC_PT_SZ], const char *str, u8 *pt_u, u8 *pt_v, in tpm2_KDFe() argument 484 sha256_update(&sctx, z, EC_PT_SZ); in tpm2_KDFe() 487 sha256_update(&sctx, pt_u, EC_PT_SZ); in tpm2_KDFe() 488 sha256_update(&sctx, pt_v, EC_PT_SZ); in tpm2_KDFe() 499 u8 encoded_key[EC_PT_SZ], *x, *y; in tpm_buf_append_salt() 503 tpm_buf_append_u16(buf, (EC_PT_SZ + 2)*2); in tpm_buf_append_salt() 510 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() 512 tpm_buf_append(buf, encoded_key, EC_PT_SZ); in tpm_buf_append_salt() 513 tpm_buf_append_u16(buf, EC_PT_SZ); in tpm_buf_append_salt() [all …]
|
| /linux/include/linux/ |
| H A D | tpm.h | 140 #define EC_PT_SZ 32 macro 215 u8 null_ec_key_x[EC_PT_SZ]; 216 u8 null_ec_key_y[EC_PT_SZ];
|