Files
Bejean Mosher 5b7fed0f68 feat: Add FIPS compliant IppCryptoLib instance.
Latest ipp-crytpo code is FIPS compliant. Need to add it as a submodule
to maintain FIPS compliance. This requires adding each ASM optimized
implementation as a separate .inf file and selecting at the platform
level. Old IppCryptoLib instance needs to be kept for backwards
compatibility.

Signed-off-by: Bejean Mosher <bejean.mosher@intel.com>
2024-11-26 10:52:35 -05:00

33 lines
519 B
C

/** @file
Helper functions for IppCryptoLib
Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include "IppCryptoSupport.h"
void *
memset (
void *dest,
int ch,
size_t count
)
{
return SetMem(dest, (UINTN)(count),(UINT8)(ch));
}
void *
memcpy (
void *dest_str,
const void * src_str,
size_t n
)
{
return CopyMem(dest_str,src_str, (UINTN)(n));
}