forked from wolfSSL/wolfssl
Fix spaces and tabs
This commit is contained in:
@ -259,7 +259,7 @@ static int Renesas_cmn_CryptoDevCb(int devIdArg, wc_CryptoInfo* info, void* ctx)
|
||||
} else
|
||||
#endif
|
||||
if (info->pk.type == WC_PK_TYPE_RSA &&
|
||||
(info->pk.rsa.type == RSA_PRIVATE_DECRYPT ||
|
||||
(info->pk.rsa.type == RSA_PRIVATE_DECRYPT ||
|
||||
info->pk.rsa.type == RSA_PUBLIC_ENCRYPT)) {
|
||||
/* rsa public encrypt/private decrypt */
|
||||
ret = wc_tsip_RsaFunction(info, cbInfo);
|
||||
@ -275,7 +275,7 @@ static int Renesas_cmn_CryptoDevCb(int devIdArg, wc_CryptoInfo* info, void* ctx)
|
||||
#if defined(WOLFSSL_RENESAS_TSIP_CRYPTONLY)
|
||||
/* RSA Verify */
|
||||
else if (info->pk.type == WC_PK_TYPE_RSA &&
|
||||
info->pk.rsa.type == RSA_PUBLIC_DECRYPT) {
|
||||
info->pk.rsa.type == RSA_PUBLIC_DECRYPT) {
|
||||
ret = wc_tsip_RsaVerifyPkcs(info, cbInfo);
|
||||
}
|
||||
#endif
|
||||
|
@ -246,7 +246,7 @@ WOLFSSL_LOCAL int wc_tsip_RsaFunction(wc_CryptoInfo* info, TsipUserCtx* tuc)
|
||||
}
|
||||
else {
|
||||
WOLFSSL_MSG("keySize is invalid, neither 128 or 256 bytes, "
|
||||
"1024 or 2048 bits.");
|
||||
"1024 or 2048 bits.");
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
}
|
||||
@ -266,7 +266,7 @@ WOLFSSL_LOCAL int wc_tsip_RsaFunction(wc_CryptoInfo* info, TsipUserCtx* tuc)
|
||||
}
|
||||
else {
|
||||
WOLFSSL_MSG("keySize is invalid, neither 128 or 256 bytes, "
|
||||
"1024 or 2048 bits.");
|
||||
"1024 or 2048 bits.");
|
||||
return BAD_FUNC_ARG;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user