%CopyrightBegin%

SPDX-License-Identifier: Apache-2.0

Copyright Ericsson AB 2025. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

%CopyrightEnd%


This directory contains a *very* small part of OpenSSL. Currently only
parts of the OpenSSL MD5 implementation.

The files that has been taken from OpenSSL:

./LICENSE.txt
./crypto/md5/md5_local.h
./crypto/md5/md5_dgst.c
./include/crypto/md32_common.h
./include/openssl_local/md5.h (renamed from include/openssl/md5.h)

The OpenSSL version that these files currently has been taken from can
be found in the ./vendor.info file.

Update these files from the upstream OpenSSL repository by changing
directory to 'erts/emulator/openssl' and run the './update' script in
that directory. This script will update the files taken from OpenSSL
under 'erts/emulator/openssl' and then mirror those to
'lib/erl_interface/src/openssl'. These two MD5 implementations should
be kept in sync.
