Change-Id: I3bf41472129090c68b81afd749e9e474b88954a8 # Conflicts: # common.mkurubino
parent
d1f0635f3c
commit
47a996fd83
@ -0,0 +1,22 @@ |
||||
// |
||||
// Copyright (C) 2023-2024 The LineageOS Project |
||||
// |
||||
// 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. |
||||
|
||||
cc_library_shared { |
||||
name: "libshim_crypto", |
||||
srcs: ["crypto.c"], |
||||
compile_multilib: "64", |
||||
shared_libs: ["libcrypto-v33"], |
||||
vendor: true, |
||||
} |
@ -0,0 +1,37 @@ |
||||
/*
|
||||
* Copyright (C) 2024 The LineageOS Project |
||||
* |
||||
* 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. |
||||
*/ |
||||
|
||||
#include <stddef.h> |
||||
|
||||
extern void *sk_new_null(void); |
||||
void *OPENSSL_sk_new_null(void) { |
||||
return sk_new_null(); |
||||
} |
||||
|
||||
extern size_t sk_num(void *sk); |
||||
size_t OPENSSL_sk_num(void *sk) { |
||||
return sk_num(sk); |
||||
} |
||||
|
||||
extern size_t sk_push(void *sk, void *p); |
||||
size_t OPENSSL_sk_push(void *sk, void *p) { |
||||
return sk_push(sk, p); |
||||
} |
||||
|
||||
extern void *sk_value(const void *sk, size_t i); |
||||
void* OPENSSL_sk_value(const void *sk, size_t i) { |
||||
return sk_value(sk, i); |
||||
} |
@ -0,0 +1 @@ |
||||
../../../../prebuilts/vndk/v33/arm64/arch-arm64-armv8-a/shared/vndk-core/libssl.so |
Loading…
Reference in new issue