e000472166
This consists mostly of re-adding OpenSSL's implementation of PBKDF2 (very loosely based upon e0d26bb3). The meat of it, namely |PKCS5_PBKDF2_HMAC|, was already present, but unused. In addition, |PKCS8_encrypt| and |PKCS8_decrypt| must be changed to not perform UCS-2 conversion in the PBES2 case. Change-Id: Id170ecabc43c79491600051147d1d6d3c7273dbc Reviewed-on: https://boringssl-review.googlesource.com/5745 Reviewed-by: Adam Langley <agl@google.com>
30 lines
334 B
CMake
30 lines
334 B
CMake
include_directories(../../include)
|
|
|
|
add_library(
|
|
pkcs8
|
|
|
|
OBJECT
|
|
|
|
pkcs8.c
|
|
p8_pkey.c
|
|
p5_pbe.c
|
|
p5_pbev2.c
|
|
)
|
|
|
|
add_executable(
|
|
pkcs12_test
|
|
|
|
pkcs12_test.cc
|
|
|
|
$<TARGET_OBJECTS:test_support>
|
|
)
|
|
|
|
add_executable(
|
|
pkcs8_test
|
|
|
|
pkcs8_test.cc
|
|
)
|
|
|
|
target_link_libraries(pkcs8_test crypto)
|
|
target_link_libraries(pkcs12_test crypto)
|