forked from wolfSSL/wolfssl
Hash Type selection changes to ecc.c
.
This commit is contained in:
@ -7557,7 +7557,7 @@ int wc_ecc_gen_deterministic_k(const byte* hash, word32 hashSz,
|
|||||||
else if (hashSz == 48) {
|
else if (hashSz == 48) {
|
||||||
hashType = WC_HASH_TYPE_SHA384;
|
hashType = WC_HASH_TYPE_SHA384;
|
||||||
}
|
}
|
||||||
else if (hashSz ==32) {
|
else if (hashSz == 32) {
|
||||||
hashType = WC_HASH_TYPE_SHA256;
|
hashType = WC_HASH_TYPE_SHA256;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user