Skip to content

Isn't it a typo? #157

@ghost

Description

Isn't it a typo? In s2n/crypto/s2n_hash.c

138    case S2N_HASH_SHA384:
139        eq_check(size, SHA384_DIGEST_LENGTH);
140        r = SHA512_Final(out, &state->hash_ctx.sha384);
141        break;

at line 140

r = SHA384_Final(out, &state->hash_ctx.sha384);
       ^^^

In OpenSSL, it's same meaning.

int SHA384_Final(unsigned char *md, SHA512_CTX *c)
{
    return SHA512_Final(md, c);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions