Loading build.info +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ SUBDIRS=crypto ssl apps test util tools fuzz engines providers LIBS=libcrypto libssl INCLUDE[libcrypto]=. crypto/include include INCLUDE[libcrypto]=. crypto/include include providers/common/include INCLUDE[libssl]=. include DEPEND[libssl]=libcrypto Loading providers/build.info +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ IF[{- !$disabled{fips} -}] SOURCE[fips]=fips.ld GENERATE[fips.ld]=../util/providers.num ENDIF INCLUDE[fips]=.. ../include ../crypto/include INCLUDE[fips]=.. ../include ../crypto/include common/include DEFINE[fips]=FIPS_MODE ENDIF Loading providers/common/ciphers/aes.c +1 −1 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ #include <openssl/evp.h> #include <openssl/params.h> #include "internal/cryptlib.h" #include "internal/provider_algs.h" #include "ciphers_locl.h" static void PROV_AES_KEY_generic_init(PROV_AES_KEY *ctx, Loading Loading @@ -195,7 +196,6 @@ static int aes_set_params(void *vctx, const OSSL_PARAM params[]) return 1; } extern const OSSL_DISPATCH aes256ecb_functions[]; const OSSL_DISPATCH aes256ecb_functions[] = { { OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))aes_256_ecb_newctx }, { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void))aes_einit }, Loading providers/common/digests/sha2.c +1 −1 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ #include <openssl/sha.h> #include <openssl/crypto.h> #include <openssl/core_numbers.h> #include "internal/provider_algs.h" /* * Forward declaration of everything implemented here. This is not strictly Loading Loading @@ -73,7 +74,6 @@ static size_t sha256_block_size(void) return SHA256_CBLOCK; } extern const OSSL_DISPATCH sha256_functions[]; const OSSL_DISPATCH sha256_functions[] = { { OSSL_FUNC_DIGEST_NEWCTX, (void (*)(void))sha256_newctx }, { OSSL_FUNC_DIGEST_INIT, (void (*)(void))SHA256_Init }, Loading providers/common/include/internal/provider_algs.h 0 → 100644 +14 −0 Original line number Diff line number Diff line /* * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ /* Digests */ extern const OSSL_DISPATCH sha256_functions[]; /* Ciphers */ extern const OSSL_DISPATCH aes256ecb_functions[]; Loading
build.info +1 −1 Original line number Diff line number Diff line Loading @@ -3,7 +3,7 @@ SUBDIRS=crypto ssl apps test util tools fuzz engines providers LIBS=libcrypto libssl INCLUDE[libcrypto]=. crypto/include include INCLUDE[libcrypto]=. crypto/include include providers/common/include INCLUDE[libssl]=. include DEPEND[libssl]=libcrypto Loading
providers/build.info +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ IF[{- !$disabled{fips} -}] SOURCE[fips]=fips.ld GENERATE[fips.ld]=../util/providers.num ENDIF INCLUDE[fips]=.. ../include ../crypto/include INCLUDE[fips]=.. ../include ../crypto/include common/include DEFINE[fips]=FIPS_MODE ENDIF Loading
providers/common/ciphers/aes.c +1 −1 Original line number Diff line number Diff line Loading @@ -14,6 +14,7 @@ #include <openssl/evp.h> #include <openssl/params.h> #include "internal/cryptlib.h" #include "internal/provider_algs.h" #include "ciphers_locl.h" static void PROV_AES_KEY_generic_init(PROV_AES_KEY *ctx, Loading Loading @@ -195,7 +196,6 @@ static int aes_set_params(void *vctx, const OSSL_PARAM params[]) return 1; } extern const OSSL_DISPATCH aes256ecb_functions[]; const OSSL_DISPATCH aes256ecb_functions[] = { { OSSL_FUNC_CIPHER_NEWCTX, (void (*)(void))aes_256_ecb_newctx }, { OSSL_FUNC_CIPHER_ENCRYPT_INIT, (void (*)(void))aes_einit }, Loading
providers/common/digests/sha2.c +1 −1 Original line number Diff line number Diff line Loading @@ -10,6 +10,7 @@ #include <openssl/sha.h> #include <openssl/crypto.h> #include <openssl/core_numbers.h> #include "internal/provider_algs.h" /* * Forward declaration of everything implemented here. This is not strictly Loading Loading @@ -73,7 +74,6 @@ static size_t sha256_block_size(void) return SHA256_CBLOCK; } extern const OSSL_DISPATCH sha256_functions[]; const OSSL_DISPATCH sha256_functions[] = { { OSSL_FUNC_DIGEST_NEWCTX, (void (*)(void))sha256_newctx }, { OSSL_FUNC_DIGEST_INIT, (void (*)(void))SHA256_Init }, Loading
providers/common/include/internal/provider_algs.h 0 → 100644 +14 −0 Original line number Diff line number Diff line /* * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy * in the file LICENSE in the source distribution or at * https://www.openssl.org/source/license.html */ /* Digests */ extern const OSSL_DISPATCH sha256_functions[]; /* Ciphers */ extern const OSSL_DISPATCH aes256ecb_functions[];