@@ -196,7 +196,7 @@ int TPM2_KDFa(
196196
197197
198198/* Perform XOR encryption over the first parameter of a TPM packet */
199- static int TPM2_ParamEnc_XOR (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
199+ int TPM2_ParamEnc_XOR (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
200200 TPM2B_AUTH * bindKey , TPM2B_NONCE * nonceCaller , TPM2B_NONCE * nonceTPM ,
201201 BYTE * paramData , UINT32 paramSz )
202202{
@@ -259,7 +259,7 @@ static int TPM2_ParamEnc_XOR(TPM2_AUTH_SESSION *session, TPM2B_AUTH* sessKey,
259259}
260260
261261/* Perform XOR decryption over the first parameter of a TPM packet */
262- static int TPM2_ParamDec_XOR (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
262+ int TPM2_ParamDec_XOR (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
263263 TPM2B_AUTH * bindKey , TPM2B_NONCE * nonceCaller , TPM2B_NONCE * nonceTPM ,
264264 BYTE * paramData , UINT32 paramSz )
265265{
@@ -322,7 +322,7 @@ static int TPM2_ParamDec_XOR(TPM2_AUTH_SESSION *session, TPM2B_AUTH* sessKey,
322322
323323#if !defined(WOLFTPM2_NO_WOLFCRYPT ) && defined(WOLFSSL_AES_CFB )
324324/* Perform AES CFB encryption over the first parameter of a TPM packet */
325- static int TPM2_ParamEnc_AESCFB (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
325+ int TPM2_ParamEnc_AESCFB (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
326326 TPM2B_AUTH * bindKey , TPM2B_NONCE * nonceCaller , TPM2B_NONCE * nonceTPM ,
327327 BYTE * paramData , UINT32 paramSz )
328328{
@@ -396,7 +396,7 @@ static int TPM2_ParamEnc_AESCFB(TPM2_AUTH_SESSION *session, TPM2B_AUTH* sessKey,
396396}
397397
398398/* Perform AES CFB decryption over the first parameter of a TPM packet */
399- static int TPM2_ParamDec_AESCFB (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
399+ int TPM2_ParamDec_AESCFB (TPM2_AUTH_SESSION * session , TPM2B_AUTH * sessKey ,
400400 TPM2B_AUTH * bindKey , TPM2B_NONCE * nonceCaller , TPM2B_NONCE * nonceTPM ,
401401 BYTE * paramData , UINT32 paramSz )
402402{
0 commit comments