mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-01 13:13:28 +00:00
Fix code style
Signed-off-by: Kusumit Ghoderao <Kusumit.Ghoderao@silabs.com>
This commit is contained in:
parent
354434c466
commit
f28e0f5bed
@ -8715,9 +8715,9 @@ void derive_output(int alg_arg,
|
|||||||
break;
|
break;
|
||||||
case PSA_KEY_DERIVATION_INPUT_COST:
|
case PSA_KEY_DERIVATION_INPUT_COST:
|
||||||
TEST_EQUAL(psa_key_derivation_input_integer(
|
TEST_EQUAL(psa_key_derivation_input_integer(
|
||||||
&operation, steps[i],
|
&operation, steps[i],
|
||||||
parse_binary_string(inputs[i])),
|
parse_binary_string(inputs[i])),
|
||||||
statuses[i]);
|
statuses[i]);
|
||||||
if (statuses[i] != PSA_SUCCESS) {
|
if (statuses[i] != PSA_SUCCESS) {
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
@ -8726,7 +8726,7 @@ void derive_output(int alg_arg,
|
|||||||
if (!PSA_ALG_IS_PBKDF2_HMAC(alg)) {
|
if (!PSA_ALG_IS_PBKDF2_HMAC(alg)) {
|
||||||
goto exit;
|
goto exit;
|
||||||
}
|
}
|
||||||
// fall through
|
// fall through
|
||||||
case PSA_KEY_DERIVATION_INPUT_SECRET:
|
case PSA_KEY_DERIVATION_INPUT_SECRET:
|
||||||
switch (key_input_type) {
|
switch (key_input_type) {
|
||||||
case 0: // input bytes
|
case 0: // input bytes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user