Searched refs:SubjectSize (Results 1 - 6 of 6) sorted by relevance
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/BaseCryptLib/Pk/ |
H A D | CryptX509.c | 318 @param[in, out] SubjectSize The size in bytes of the CertSubject buffer on input, 322 If SubjectSize is NULL, then return FALSE. 325 @retval FALSE Invalid certificate, or the SubjectSize is too small for the result. 326 The SubjectSize will be updated with the required size. 335 IN OUT UINTN *SubjectSize 345 if (Cert == NULL || SubjectSize == NULL) { 364 if (*SubjectSize < (UINTN) X509Name->bytes->length) { 365 *SubjectSize = (UINTN) X509Name->bytes->length; 368 *SubjectSize = (UINTN) X509Name->bytes->length; 370 CopyMem (CertSubject, (UINT8 *)X509Name->bytes->data, *SubjectSize); local [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/ |
H A D | IpSecCryptIo.c | 989 @param[out] SubjectSize The size of Certificate Subject in bytes. 1000 OUT UINTN *SubjectSize 1007 *SubjectSize = 0; 1008 X509GetSubjectName (InCert, CertSize, *CertSubject, SubjectSize); 1010 *CertSubject = AllocateZeroPool (*SubjectSize); 1011 if (!X509GetSubjectName (InCert, CertSize, *CertSubject, SubjectSize)) {
|
H A D | IpSecCryptIo.h | 812 @param[out] SubjectSize The size of Certificate Subject in bytes. 823 OUT UINTN *SubjectSize
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Application/Cryptest/ |
H A D | RsaVerify2.c | 213 UINTN SubjectSize; local 278 SubjectSize = 0; 279 Status = X509GetSubjectName (TestCert, sizeof (TestCert), NULL, &SubjectSize); 280 Subject = (UINT8 *)AllocatePool (SubjectSize); 281 Status = X509GetSubjectName (TestCert, sizeof (TestCert), Subject, &SubjectSize);
|
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IpSecDxe/Ikev2/ |
H A D | Payload.c | 288 UINTN SubjectSize; local 305 SubjectSize = 0; 312 &SubjectSize 314 if (SubjectSize != 0) { 318 IdSize = sizeof (IKEV2_ID) + SubjectSize; 336 CopyMem (Id + 1, CertSubject, SubjectSize);
|
/vbox/src/VBox/Devices/EFI/Firmware/CryptoPkg/Include/Library/ |
H A D | BaseCryptLib.h | 1459 @param[in, out] SubjectSize The size in bytes of the CertSubject buffer on input, 1463 If SubjectSize is NULL, then return FALSE. 1466 @retval FALSE Invalid certificate, or the SubjectSize is too small for the result. 1467 The SubjectSize will be updated with the required size. 1476 IN OUT UINTN *SubjectSize
|
Completed in 78 milliseconds