Searched refs:crt (Results 1 – 6 of 6) sorted by relevance
/optee_test-3.20.0/ta/crypt/ |
A D | mbedtls_taf.c | 76 mbedtls_x509_crt crt = { }; in ta_entry_mbedtls_check_cert() local 82 mbedtls_x509_crt_init(&crt); in ta_entry_mbedtls_check_cert() 110 mbedtls_x509_crt_free(&crt); in ta_entry_mbedtls_check_cert() 160 static TEE_Result parse_issuer_cert(mbedtls_x509_crt *crt) in parse_issuer_cert() argument 212 mbedtls_x509write_cert crt = { }; in ta_entry_mbedtls_sign_cert() local 223 mbedtls_x509write_crt_init(&crt); in ta_entry_mbedtls_sign_cert() 278 mbedtls_x509write_crt_set_md_alg(&crt, csr.sig_md); in ta_entry_mbedtls_sign_cert() 279 mbedtls_x509write_crt_set_subject_key(&crt, &csr.pk); in ta_entry_mbedtls_sign_cert() 282 ret = mbedtls_x509write_crt_set_serial(&crt, &serial); in ta_entry_mbedtls_sign_cert() 321 res = write_cert(&crt, params[1].memref.buffer, &sz); in ta_entry_mbedtls_sign_cert() [all …]
|
A D | sub.mk | 15 CRYPT_CA_CRT = ../../certs/ca.crt 16 CRYPT_MID_CRT = ../../certs/mid.crt 29 $(eval $(call crypt_embed_file,ca_crt,../../cert/ca.crt)) 30 $(eval $(call crypt_embed_file,mid_crt,../../cert/mid.crt))
|
/optee_test-3.20.0/cert/ |
A D | README.txt | 7 openssl req -new -x509 -key ca.key -out ca.crt -days 10000 -batch 12 #Sign mid.crt 13 …penssl x509 -req -in mid.csr -extfile mid.ext -CA ca.crt -CAkey ca.key -CAcreateserial -out mid.cr… 19 #Sign my.crt 20 openssl x509 -req -in my.csr -CA mid.crt -CAkey mid.key -CAcreateserial -out my.crt -days 10000
|
/optee_test-3.20.0/host/xtest/ |
A D | regression_8100.c | 157 if (!PEM_read_bio_X509(buf, crt, 0, NULL)) in get_cert() 170 X509 *crt = NULL; in push_cert() local 173 if (!get_cert(c, crt_str, &crt)) in push_cert() 175 rc = sk_X509_push(cs, crt); in push_cert() 178 X509_free(crt); in push_cert() 186 STACK_OF(X509) *untrusted, X509 *crt) in check() argument 210 if (!ADBG_EXPECT_TRUE(c, X509_STORE_CTX_init(csc, store, crt, in check() 237 X509 *crt = NULL; in verify_cert() local 246 if (!ADBG_EXPECT_TRUE(c, get_cert(c, cert, &crt))) in verify_cert() 253 ret = ADBG_EXPECT_TRUE(c, check(c, trusted, untrusted, crt)); in verify_cert() [all …]
|
A D | CMakeLists.txt | 38 EMBED_8100FILE(ca_crt ${OPTEE_TEST_ROOT_DIR}/cert/ca.crt) 39 EMBED_8100FILE(mid_crt ${OPTEE_TEST_ROOT_DIR}/cert/mid.crt) 40 EMBED_8100FILE(my_crt ${OPTEE_TEST_ROOT_DIR}/cert/my.crt)
|
/optee_test-3.20.0/ |
A D | Android.mk | 88 $(eval $(call my-embed-file,regression_8100_ca_crt,cert/ca.crt)) 89 $(eval $(call my-embed-file,regression_8100_mid_crt,cert/mid.crt)) 90 $(eval $(call my-embed-file,regression_8100_my_crt,cert/my.crt))
|
Completed in 6 milliseconds