/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLib/Pk/ |
CryptX509Null.c | 23 @param[in] Cert Pointer to the DER-encoded certificate data.
33 IN CONST UINT8 *Cert,
107 @param[in] Cert Pointer to the DER-encoded X509 certificate.
120 IN CONST UINT8 *Cert,
135 @param[in] Cert Pointer to the DER-encoded X509 certificate.
147 IN CONST UINT8 *Cert,
161 @param[in] Cert Pointer to the DER-encoded X509 certificate to be verified.
172 IN CONST UINT8 *Cert,
187 @param[in] Cert Pointer to the given DER-encoded X509 certificate.
198 IN CONST UINT8 *Cert,
[all...] |
CryptX509.c | 22 If Cert is NULL, then return FALSE.
25 @param[in] Cert Pointer to the DER-encoded certificate data.
36 IN CONST UINT8 *Cert,
47 if (Cert == NULL || SingleX509Cert == NULL || CertSize > INT_MAX) {
54 Temp = Cert;
88 UINT8 *Cert;
120 // If Cert is NULL, then it is the end of the list.
122 Cert = VA_ARG (Args, UINT8 *);
123 if (Cert == NULL) {
137 (CONST UINT8 *) Cert,
[all...] |
CryptPkcs7Verify.c | 144 If X509Stack, Cert, or CertSize is NULL, then return FALSE.
147 @param[out] Cert Pointer to a X509 certificate.
157 OUT UINT8 **Cert,
171 if ((X509Stack == NULL) || (Cert == NULL) || (CertSize == NULL)) {
210 *Cert = Buffer;
469 X509 *Cert;
485 Cert = NULL;
534 if (!X509_STORE_CTX_init (&CertCtx, NULL, Signer, Pkcs7->d.sign->cert)) {
542 (!sk_X509_push (CertCtx.chain, CertCtx.cert))) {
551 Cert = Signer; [all...] |
CryptTs.c | 362 X509 *Cert;
388 Cert = NULL;
414 Cert = d2i_X509 (NULL, &CertTemp, (long) CertSize);
415 if (Cert == NULL) {
423 if ((CertStore == NULL) || !(X509_STORE_add_cert (CertStore, Cert))) {
487 X509_free (Cert);
|
/device/linaro/bootloader/edk2/CryptoPkg/Library/BaseCryptLibRuntimeCryptProtocol/Pk/ |
CryptX509Null.c | 23 @param[in] Cert Pointer to the DER-encoded certificate data.
33 IN CONST UINT8 *Cert,
107 @param[in] Cert Pointer to the DER-encoded X509 certificate.
120 IN CONST UINT8 *Cert,
135 @param[in] Cert Pointer to the DER-encoded X509 certificate.
147 IN CONST UINT8 *Cert,
161 @param[in] Cert Pointer to the DER-encoded X509 certificate to be verified.
172 IN CONST UINT8 *Cert,
187 @param[in] Cert Pointer to the given DER-encoded X509 certificate.
198 IN CONST UINT8 *Cert,
[all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Library/TlsLib/ |
TlsConfig.c | 394 Adds the CA to the cert store when requesting Server or Client authentication. 419 X509 *Cert; 428 Cert = NULL; 442 Cert = d2i_X509 (NULL, (const unsigned char ** )&Data, (long) DataSize); 443 if (Cert == NULL) { 458 Cert = PEM_read_bio_X509 (BioCert, NULL, NULL, NULL); 459 if (Cert == NULL) { 475 Ret = X509_STORE_add_cert (X509Store, Cert); 493 if (Cert != NULL) { 494 X509_free (Cert); [all...] |
/development/tools/ |
make_key | 24 Creates <name>.pk8 key and <name>.x509.pem cert. Cert contains the 36 # Use named pipes to connect get the raw RSA private key to the cert-
|
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeImageVerificationLib/ |
DxeImageVerificationLib.c | 420 // 6. Since there is no Cert Directory in optional header, hash everything
445 // 7. Hash everything from the end of the checksum to the start of the Cert Directory.
469 // 8. Skip over the Cert Directory. (It is sizeof(IMAGE_DATA_DIRECTORY) bytes.)
470 // 9. Hash everything from the end of the Cert Directory to the end of image header.
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/TlsAuthConfigDxe/ |
TlsAuthConfigImpl.c | 248 List all cert in specified database by GUID in the page 283 EFI_SIGNATURE_DATA *Cert; 291 Cert = NULL; 380 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList 387 GuidToString (&Cert->SignatureOwner, GuidStr, 100); 435 Delete one entry from cert database. 442 @param[in] QuestionIdBase Base question id of the cert list. 443 @param[in] DeleteIndex Cert index to delete. 468 EFI_SIGNATURE_DATA *Cert; 478 Cert = NULL [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/ |
SecureBootConfigImpl.c | 1003 EFI_SIGNATURE_DATA *Cert;
1037 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize);
1040 if (CompareMem (Cert->SignatureData, Signature, SignatureSize) == 0) {
1047 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize);
[all...] |
/external/scapy/scapy/layers/tls/ |
automaton.py | 16 from scapy.layers.tls.cert import Cert, PrivKey 65 self.mycert = Cert(mycert)
|
handshake_sslv2.py | 14 from scapy.layers.tls.cert import Cert, PrivKey, PubKey 140 certdata = Cert(s[:l]) 146 if isinstance(i, Cert): 151 if isinstance(i, Cert): 168 length_of="cert"), 174 _SSLv2CertDataField("cert", b"", 193 if self.cert is not None: 194 s.server_certs = [self.cert]
|
handshake.py | 22 from scapy.layers.tls.cert import Cert, PrivKey, PubKey 513 XXX We should provide safeguards when trying to parse a Cert. 526 lst.append((clen, Cert(m[3:3 + clen]))) 534 if isinstance(i, Cert): 540 if isinstance(s, Cert): 548 if isinstance(i, Cert): 570 len_cert = (clen, Cert(m[3:3 + clen])) 578 if isinstance(i, Cert): 584 if isinstance(s, Cert) [all...] |
cert.py | 14 of a Cert instance after its serial has been modified (for example). 18 'cert' and then resign it with whatever 'key': 19 f = open('cert.der') 57 # loading huge file when importing a cert 243 def verifyCert(self, cert): 244 """ Verifies either a Cert or an X509_Cert. """ 245 tbsCert = cert.tbsCertificate 248 sigVal = raw(cert.signatureValue) 429 def resignCert(self, cert): 430 """ Rewrite the signature of either a Cert or an X509_Cert. "" [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/ |
AuthService.c | 522 // Cert type should be EFI_CERT_TYPE_RSA2048_SHA256_GUID.
[all...] |
/device/linaro/bootloader/edk2/CryptoPkg/Include/Library/ |
BaseCryptLib.h | [all...] |
/device/linaro/bootloader/edk2/SecurityPkg/Pkcs7Verify/Pkcs7VerifyDxe/ |
Pkcs7VerifyDxe.c | 265 // Un-matched Cert Hash GUID
494 UINT8 *Cert;
581 Cert = (UINT8 *)CertPtr + sizeof (UINT32);
583 if (IsCertHashRevoked (Cert, CertSize, RevokedDb, &RevocationTime)) {
[all...] |
/device/linaro/bootloader/edk2/NetworkPkg/HttpDxe/ |
HttpsSupport.c | 386 EFI_SIGNATURE_DATA *Cert; 441 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) CertList + sizeof (EFI_SIGNATURE_LIST) + CertList->SignatureHeaderSize); 450 Cert->SignatureData, 451 CertList->SignatureSize - sizeof (Cert->SignatureOwner) 458 Cert = (EFI_SIGNATURE_DATA *) ((UINT8 *) Cert + CertList->SignatureSize); [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/ |
Payload.c | [all...] |
/external/curl/tests/ |
stunnel.pem | 104 Netscape Cert Type:
|
/external/boringssl/src/ssl/test/runner/ |
runner.go | 116 rsaCertificateFile = "cert.pem" 153 cert *Certificate 159 cert: &rsaCertificate, 165 cert: &rsa1024Certificate, 171 cert: &rsaChainCertificate, 177 cert: &ecdsaP224Certificate, 183 cert: &ecdsaP256Certificate, 189 cert: &ecdsaP384Certificate, 195 cert: &ecdsaP521Certificate, 201 cert: &ed25519Certificate [all...] |